stack-1.9.1.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Nix

Description

Run commands in a nix-shell

Synopsis

Documentation

reexecWithOptionalShell :: HasConfig env => Maybe (Path Abs Dir) -> IO (CompilerVersion CVWanted) -> IO () -> RIO env () 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"