forked from mirrors/nixpkgs
ihaskell: Do not unset $PATH in the wrapper
This commit is contained in:
parent
27d7502b18
commit
43a62b66d0
|
@ -9,7 +9,7 @@ let
|
||||||
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
||||||
#! ${stdenv.shell}
|
#! ${stdenv.shell}
|
||||||
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
||||||
export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}"
|
export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}\${PATH:+':'}$PATH"
|
||||||
${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
|
${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue