haskell: remove override of integer-gmp

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.
This commit is contained in:
Dennis Gosnell 2022-04-12 14:15:05 +09:00
parent 49d146101a
commit 1be5cae549
No known key found for this signature in database
GPG Key ID: 462E0C03D11422F4

View File

@ -259,10 +259,7 @@ in {
overrides =
pkgs.lib.composeExtensions
(oldAttrs.overrides or (_: _: {}))
(_: _: {
integer-simple = null;
integer-gmp = null;
});
(_: _: { integer-simple = null; });
})
);
@ -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; });
})
}
);
};
}