hackage2nix: Pull haskellSrc2nix from the final package set

This commit is contained in:
Shea Levy 2017-05-10 08:03:57 -04:00
parent 8da31b0e2e
commit ac1599971f

View file

@ -101,7 +101,7 @@ self: let
'';
};
hackage2nix = name: version: haskellSrc2nix {
hackage2nix = name: version: self.haskellSrc2nix {
name = "${name}-${version}";
sha256 = ''$(sed -e 's/.*"SHA256":"//' -e 's/".*$//' "${all-cabal-hashes}/${name}/${version}/${name}.json")'';
src = "${all-cabal-hashes}/${name}/${version}/${name}.cabal";