Merge pull request #166598 from hercules-ci/all-cabal-hashes-name
all-cabal-hashes: Set name
This commit is contained in:
commit
820408b2e8
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh
|
||||
# and callHackage
|
||||
{ fetchurl }:
|
||||
{ lib, fetchurl }:
|
||||
let
|
||||
pin = builtins.fromJSON (builtins.readFile ./pin.json);
|
||||
in
|
||||
fetchurl {
|
||||
inherit (pin) url sha256;
|
||||
name = "all-cabal-hashes-${lib.substring 0 7 pin.commit}.tar.gz";
|
||||
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue