Fetch from the nixpkgs repo instead of nixpkgs-channels

nixpkgs-channels is deprecated.
This commit is contained in:
Jonas Nick
2020-12-06 21:42:20 +00:00
parent ff7f5cc3bd
commit 8e268c5ced
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
rev=$1
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs-channels/archive/$rev.tar.gz)
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs/archive/$rev.tar.gz)
echo "rev = \"$rev\";"
echo "sha256 = \"$sha256\";"