stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.Nix

Description

Nix types.

Synopsis

Documentation

data NixOpts Source #

Nix configuration. Parameterize by resolver type to avoid cyclic dependency.

Constructors

NixOpts 

Fields

Instances

Instances details
Show NixOpts Source # 
Instance details

Defined in Stack.Types.Nix

data NixOptsMonoid Source #

An uninterpreted representation of nix options. Configurations may be "cascaded" using mappend (left-biased).

Constructors

NixOptsMonoid 

Fields

Instances

Instances details
Monoid NixOptsMonoid Source #

Left-biased combine Nix options

Instance details

Defined in Stack.Types.Nix

Semigroup NixOptsMonoid Source #

Left-biased combine Nix options

Instance details

Defined in Stack.Types.Nix

Generic NixOptsMonoid Source # 
Instance details

Defined in Stack.Types.Nix

Associated Types

type Rep NixOptsMonoid :: Type -> Type #

Show NixOptsMonoid Source # 
Instance details

Defined in Stack.Types.Nix

Eq NixOptsMonoid Source # 
Instance details

Defined in Stack.Types.Nix

FromJSON (WithJSONWarnings NixOptsMonoid) Source #

Decode uninterpreted nix options from JSON/YAML.

Instance details

Defined in Stack.Types.Nix

type Rep NixOptsMonoid Source # 
Instance details

Defined in Stack.Types.Nix

type Rep NixOptsMonoid = D1 ('MetaData "NixOptsMonoid" "Stack.Types.Nix" "stack-2.14.0-CKI3CqdNSm89Q6MbWoYM52" 'False) (C1 ('MetaCons "NixOptsMonoid" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nixMonoidEnable") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First Bool)) :*: (S1 ('MetaSel ('Just "nixMonoidPureShell") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First Bool)) :*: S1 ('MetaSel ('Just "nixMonoidPackages") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text])))) :*: ((S1 ('MetaSel ('Just "nixMonoidInitFile") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First FilePath)) :*: S1 ('MetaSel ('Just "nixMonoidShellOptions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text]))) :*: (S1 ('MetaSel ('Just "nixMonoidPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text])) :*: S1 ('MetaSel ('Just "nixMonoidAddGCRoots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FirstFalse)))))

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.