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:
parent
9c6c587e7a
commit
9b79de383c
|
@ -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…
Reference in a new issue