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
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 2 additions and 2 deletions

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\";"

View File

@ -1,7 +1,7 @@
let
fetch = { rev, sha256 }:
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs-channels/archive/${rev}.tar.gz";
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
inherit sha256;
};
in