Fetch from the nixpkgs repo instead of nixpkgs-channels
nixpkgs-channels is deprecated.
This commit is contained in:
parent
ff7f5cc3bd
commit
8e268c5ced
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
rev=$1
|
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 "rev = \"$rev\";"
|
||||||
echo "sha256 = \"$sha256\";"
|
echo "sha256 = \"$sha256\";"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
let
|
let
|
||||||
fetch = { rev, sha256 }:
|
fetch = { rev, sha256 }:
|
||||||
builtins.fetchTarball {
|
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;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user