summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-08-06 14:02:12 +0200
committerPeter Simons <simons@cryp.to>2015-08-07 15:13:13 +0200
commit8db23bc08f7da2d3a21367d2303c248912dd9f43 (patch)
treef92a8e743fb4749da3157b854e61dd3e610d39b2 /pkgs/development
parenta7cb42e1c2f73bce0cb9bfad8fa728f52fe30c34 (diff)
downloadnixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar.gz
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar.bz2
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar.lz
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar.xz
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.tar.zst
nixpkgs-8db23bc08f7da2d3a21367d2303c248912dd9f43.zip
haskell-ghc-paths: register Nixpkgs-specific patch
This used to be added by cabal2nix, but now the tool no longer does because
there's no reliable way to refer to the patch file in the generated build
expression.
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 20dbe979f78..65298b9dd02 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -14,6 +14,9 @@ self: super: {
   # Link statically to avoid runtime dependency on GHC.
   jailbreak-cabal = disableSharedExecutables super.jailbreak-cabal;
 
+  # Apply NixOS-specific patches.
+  ghc-paths = appendPatch super.ghc-paths ./patches/ghc-paths-nix.patch;
+
   # Break infinite recursions.
   Dust-crypto = dontCheck super.Dust-crypto;
   hasql-postgres = dontCheck super.hasql-postgres;