diff options
author | Domen Kožar <domen@dev.si> | 2023-01-07 09:31:13 +0000 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2023-01-07 09:34:44 +0000 |
commit | 316f093b4e7d28a37c08f2eb20915d7b079ec88e (patch) | |
tree | ff9ce5998988ac360bfe499226cc5fc8f77f2151 /pkgs/development/haskell-modules | |
parent | 33be6f87f2baf35e6396fb5f67908e373841dce1 (diff) | |
download | nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar.gz nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar.bz2 nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar.lz nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar.xz nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.tar.zst nixlib-316f093b4e7d28a37c08f2eb20915d7b079ec88e.zip |
nix-diff: fix build
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-nix.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index ccfdc2ef20ab..3cc9cb81a604 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -800,6 +800,14 @@ self: super: builtins.intersectAttrs super { # time random = dontCheck super.random; + # https://github.com/Gabriella439/nix-diff/pull/74 + nix-diff = overrideCabal (drv: { + postPatch = '' + substituteInPlace src/Nix/Diff/Types.hs \ + --replace "{-# OPTIONS_GHC -Wno-orphans #-}" "{-# OPTIONS_GHC -Wno-orphans -fconstraint-solver-iterations=0 #-}" + ''; + }) (doJailbreak (dontCheck super.nix-diff)); + # mockery's tests depend on hspec-discover which dependso on mockery for its tests mockery = dontCheck super.mockery; # same for logging-facade |