Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Nix types.
Synopsis
- data NixOpts = NixOpts {
- nixEnable :: !Bool
- nixPureShell :: !Bool
- nixPackages :: ![Text]
- nixInitFile :: !(Maybe FilePath)
- nixShellOptions :: ![Text]
- nixAddGCRoots :: !Bool
- data NixOptsMonoid = NixOptsMonoid {
- nixMonoidEnable :: !(First Bool)
- nixMonoidPureShell :: !(First Bool)
- nixMonoidPackages :: !(First [Text])
- nixMonoidInitFile :: !(First FilePath)
- nixMonoidShellOptions :: !(First [Text])
- nixMonoidPath :: !(First [Text])
- nixMonoidAddGCRoots :: !FirstFalse
- nixAddGCRootsArgName :: Text
- nixEnableArgName :: Text
- nixInitFileArgName :: Text
- nixPackagesArgName :: Text
- nixPathArgName :: Text
- nixPureShellArgName :: Text
- nixShellOptsArgName :: Text
Documentation
Nix configuration. Parameterize by resolver type to avoid cyclic dependency.
NixOpts | |
|
data NixOptsMonoid Source #
An uninterpreted representation of nix options. Configurations may be "cascaded" using mappend (left-biased).
NixOptsMonoid | |
|
Instances
nixAddGCRootsArgName :: Text Source #
Add GC roots arg name
nixEnableArgName :: Text Source #
Nix enable argument name.
nixInitFileArgName :: Text Source #
shell.nix file path argument name.
nixPackagesArgName :: Text Source #
Nix packages (build inputs) argument name.
nixPathArgName :: Text Source #
NIX_PATH override argument name
nixPureShellArgName :: Text Source #
Nix run in pure shell argument name.
nixShellOptsArgName :: Text Source #
Extra options for the nix-shell command argument name.