mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
hackage2nix: Pull haskellSrc2nix from the final package set
This commit is contained in:
parent
8da31b0e2e
commit
ac1599971f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user