Skip to content

Commit

Permalink
ihaskell: Do not unset $PATH in the wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
kirelagin committed Jun 8, 2018
1 parent 27d7502 commit 43a62b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/tools/haskell/ihaskell/wrapper.nix
Expand Up @@ -9,7 +9,7 @@ let
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
#! ${stdenv.shell}
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
'';
in
Expand Down

0 comments on commit 43a62b6

Please sign in to comment.