Add content hashes for pinned channels
This commit is contained in:
parent
961e8217a9
commit
46edb39d2f
2 changed files with 20 additions and 3 deletions
6
helper/fetch-channel
Executable file
6
helper/fetch-channel
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rev=$1
|
||||
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs-channels/archive/$rev.tar.gz)
|
||||
echo "rev = \"$rev\";"
|
||||
echo "sha256 = \"$sha256\";"
|
||||
Loading…
Add table
Add a link
Reference in a new issue