stack-1.0.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Nix

Description

Run commands in a nix-shell

Synopsis

Documentation

reexecWithOptionalShell :: M env m => Maybe (Path Abs Dir) -> 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"