Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Arg
- data NixBuildConfig = NixBuildConfig {}
- nixBuildConfig_common :: Lens' NixBuildConfig NixCommonConfig
- nixBuildConfig_outLink :: Lens' NixBuildConfig OutLink
- data NixCmd
- nixCmdConfig_args :: HasNixCommonConfig c => Lens' c [Arg]
- nixCmdConfig_builders :: HasNixCommonConfig c => Lens' c [String]
- nixCmdConfig_target :: HasNixCommonConfig c => Lens' c Target
- data NixCommonConfig = NixCommonConfig {}
- data NixInstantiateConfig = NixInstantiateConfig {}
- nixInstantiateConfig_eval :: Lens' NixInstantiateConfig Bool
- data NixShellConfig = NixShellConfig {}
- nixShellConfig_common :: Lens' NixShellConfig NixCommonConfig
- nixShellConfig_pure :: Lens' NixShellConfig Bool
- nixShellConfig_run :: Lens' NixShellConfig (Maybe String)
- data OutLink
- data Target = Target {}
- target_attr :: HasTarget c => Lens' c (Maybe String)
- target_expr :: HasTarget c => Lens' c (Maybe String)
- target_path :: HasTarget c => Lens' c (Maybe FilePath)
- boolArg :: String -> Bool -> Arg
- nixCmd :: (MonadIO m, MonadMask m, MonadLog Output m, HasCliConfig m, MonadError e m, AsProcessFailure e, MonadFail m) => NixCmd -> m FilePath
- nixCmdProc :: NixCmd -> ProcessSpec
- nixCmdProc' :: NixCmd -> (ProcessSpec, Text)
- rawArg :: String -> String -> Arg
- runNixShellConfig :: NixShellConfig -> [String]
- strArg :: String -> String -> Arg
Documentation
data NixBuildConfig Source #
Instances
Default NixBuildConfig Source # | |
Defined in Bindings.Cli.Nix def :: NixBuildConfig # |
nixCmdConfig_args :: HasNixCommonConfig c => Lens' c [Arg] Source #
nixCmdConfig_builders :: HasNixCommonConfig c => Lens' c [String] Source #
nixCmdConfig_target :: HasNixCommonConfig c => Lens' c Target Source #
data NixCommonConfig Source #
Instances
Default NixCommonConfig Source # | |
Defined in Bindings.Cli.Nix def :: NixCommonConfig # |
data NixInstantiateConfig Source #
Instances
Default NixInstantiateConfig Source # | |
Defined in Bindings.Cli.Nix |
data NixShellConfig Source #
Instances
Default NixShellConfig Source # | |
Defined in Bindings.Cli.Nix def :: NixShellConfig # |
Where to put nix-build output
What to build
nixCmd :: (MonadIO m, MonadMask m, MonadLog Output m, HasCliConfig m, MonadError e m, AsProcessFailure e, MonadFail m) => NixCmd -> m FilePath Source #
nixCmdProc :: NixCmd -> ProcessSpec Source #
nixCmdProc' :: NixCmd -> (ProcessSpec, Text) Source #
runNixShellConfig :: NixShellConfig -> [String] Source #