Closed arianvp closed 6 years ago
I think I found out why. It's because of this line. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/configuration-hackage2nix.yaml#L1768 if I just change that file, will it work as expected again?
safe-money-0.7
isn't in any Stackage LTS snapshot yet. so another option we could choose is to remove the safe-money-{aeson,ceral,serialise,xmlbf}
packages for now.
The whole package set is based on some Stackage LTS the 0.6 version remains the default and the 0.7 version is opt-in.
The way to fix this is to modify haskell-modules/configuration-common.nix
and add something like
...
safe-money-aeson = super.safe-money-aeson.override { safe-money = safe-money_0_7; }
...
Issue description
In commit https://github.com/NixOS/nixpkgs/commit/cd35b1cc9c48d2c3b008d14e1bb32823980e4dcd#diff-e4ed6fefa9564bfd27ee249e42e145e2R177732
safe-money-0.7
was added to the hackage package set, which splits upsafe-money
intosafe-money, safe-money-{aeson,cereal,serialise,xmlbf}
However, instead of updating the hash of the original
safe-money
derivation, a new derivation was introduced namedsafe-money_0_7
and all the packagessafe-money-*
now wrongly depend onsafe-money
instead ofsafe-money_0_7
, breaking the builds.I'm not very familiar with the whole
hackage2nix
tooling, so I'm wonderng why it created a newsafe-money_0_7
package instead of updating the existing one? And how would I makehackage2nix
update the originalsafe-money
package, instead of creating a new derivation name?CC @peti
This is currently blocking https://github.com/NixOS/nixpkgs/issues/45960