stack-1.5.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Nix

Description

Run commands in a nix-shell

Synopsis

Documentation

reexecWithOptionalShell :: (StackM env m, HasConfig env) => Maybe (Path Abs Dir) -> IO CompilerVersion -> IO () -> m () Source #

If Nix is enabled, re-runs the currently running OS command in a Nix container. Otherwise, runs the inner action.

nixCmdName :: String Source #

Command-line argument for "nix"