diff options
author | Nicholas Clarke <nick@topos.org.uk> | 2017-07-28 17:03:27 +0100 |
---|---|---|
committer | Nicholas Clarke <nick@topos.org.uk> | 2017-09-04 12:35:57 +0100 |
commit | 8c642d593790388030623076722c51ba93d2bd77 (patch) | |
tree | 3dbafb2b11249c4e727bd999be5685629e1236c2 /pkgs/development/haskell-modules | |
parent | 676362494d54b8ee1c7411a8963aaa72041fa91e (diff) | |
download | nixlib-8c642d593790388030623076722c51ba93d2bd77.tar nixlib-8c642d593790388030623076722c51ba93d2bd77.tar.gz nixlib-8c642d593790388030623076722c51ba93d2bd77.tar.bz2 nixlib-8c642d593790388030623076722c51ba93d2bd77.tar.lz nixlib-8c642d593790388030623076722c51ba93d2bd77.tar.xz nixlib-8c642d593790388030623076722c51ba93d2bd77.tar.zst nixlib-8c642d593790388030623076722c51ba93d2bd77.zip |
Provide hscolour, happy, alex bin to buildInputs.
Use stdenv.lib.getBin instead of `.bin`
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 7beafe4ce1ff..d56a713318b8 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -238,7 +238,7 @@ stdenv.mkDerivation ({ echo "Build with ${ghc}." export PATH="${ghc}/bin:$PATH" - ${optionalString (hasActiveLibrary && hyperlinkSource) "export PATH=${hscolour.bin}/bin:$PATH"} + ${optionalString (hasActiveLibrary && hyperlinkSource) "export PATH=${stdenv.lib.getBin hscolour}/bin:$PATH"} packageConfDir="$TMPDIR/package.conf.d" mkdir -p $packageConfDir |