diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-20 00:21:55 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-20 00:21:55 +0200 |
commit | 9b79de383c5f130657166f869e2ccd2f39c1bed6 (patch) | |
tree | c718f905fea63df3b94cbba9387bea86308979e7 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 9c6c587e7a10a5096f4d2372b3cb792d2f836fae (diff) | |
download | nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar.gz nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar.bz2 nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar.lz nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar.xz nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.tar.zst nixpkgs-9b79de383c5f130657166f869e2ccd2f39c1bed6.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b7d079a99b3..59d0248df9a 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/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. |