haskellPackages.hnix: make sure patches apply

Cabal revisions can break the patches we apply, so we'll need to make
any necessary changes to the cabal file with patches ourselves.
launchpad/nixpkgs/master
sternenseemann 3 years ago
parent 9c6c587e7a
commit 9b79de383c
  1. 3
      pkgs/development/haskell-modules/configuration-common.nix

@ -204,6 +204,9 @@ self: super: {
revert = true;
})
] ++ (drv.patches or []);
# make sure patches are not broken by cabal file revisions
revision = null;
editedCabalFile = null;
}));
# Fails for non-obvious reasons while attempting to use doctest.

Loading…
Cancel
Save