3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
sternenseemann 2021-05-20 00:21:55 +02:00
parent 9c6c587e7a
commit 9b79de383c

View file

@ -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.