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

Stack.Types.Nix

Description

Nix types.

Synopsis

Documentation

data NixOpts Source #

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

Constructors

NixOpts 

Fields

Instances

Instances details
Show NixOpts Source # 
Instance details

Defined in Stack.Types.Nix

Methods

showsPrec :: Int -> NixOpts -> ShowS #

show :: NixOpts -> String #

showList :: [NixOpts] -> ShowS #

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

Methods

showsPrec :: Int -> NixOptsMonoid -> ShowS #

show :: NixOptsMonoid -> String #

showList :: [NixOptsMonoid] -> ShowS #

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-3.1.1-I5OI2i8TUoz1thruFO0H72" 'False) (C1 ('MetaCons "NixOptsMonoid" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enable") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First Bool)) :*: (S1 ('MetaSel ('Just "pureShell") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First Bool)) :*: S1 ('MetaSel ('Just "packages") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text])))) :*: ((S1 ('MetaSel ('Just "initFile") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First FilePath)) :*: S1 ('MetaSel ('Just "shellOptions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text]))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (First [Text])) :*: S1 ('MetaSel ('Just "addGCRoots") '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.