Skip to content

Commit

Permalink
haskell: remove override of integer-gmp
Browse files Browse the repository at this point in the history
It appears that integer-gmp is already set to null for all compilers,
so there is no need to explicitly set it to null in the integer-simple
and native-bignum package sets.
  • Loading branch information
cdepillabout committed Apr 12, 2022
1 parent 49d1461 commit 1be5cae
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pkgs/top-level/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,7 @@ in {
overrides =
pkgs.lib.composeExtensions
(oldAttrs.overrides or (_: _: {}))
(_: _: {
integer-simple = null;
integer-gmp = null;
});
(_: _: { integer-simple = null; });
})
);

Expand All @@ -274,14 +271,10 @@ in {
in
pkgs.lib.genAttrs nativeBignumGhcNames
(name:
packages.${name}.override (oldAttrs: {
packages.${name}.override {
ghc = bh.compiler.native-bignum.${name};
buildHaskellPackages = bh.packages.native-bignum.${name};
overrides =
pkgs.lib.composeExtensions
(oldAttrs.overrides or (_: _: {}))
(_: _: { integer-gmp = null; });
})
}
);
};
}

0 comments on commit 1be5cae

Please sign in to comment.