mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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.
This commit is contained in:
parent
a7cb42e1c2
commit
8db23bc08f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue