mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
hackage2nix: Pull haskellSrc2nix from the final package set
This commit is contained in:
parent
8da31b0e2e
commit
ac1599971f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue