ihaskell-wrapper: avoid use of /bin/sh
https://github.com/NixOS/nixpkgs/issues/183
This commit is contained in:
parent
214aae46c7
commit
4d404fd6a4
@ -7,7 +7,7 @@ let
|
||||
self.ihaskell-display
|
||||
] ++ packages self);
|
||||
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
||||
#!/bin/sh
|
||||
#! ${stdenv.shell}
|
||||
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
||||
export PATH="${ihaskell}/bin:${ihaskellEnv}/bin:${ipython}/bin"
|
||||
${ihaskell}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${ipython}/bin/ipython notebook --kernel=haskell
|
||||
|
Loading…
Reference in New Issue
Block a user