2019-09-15 18:28:39 -07:00
|
|
|
let
|
2019-11-07 12:57:00 -08:00
|
|
|
fetch = { rev, sha256 }:
|
|
|
|
builtins.fetchTarball {
|
2020-12-06 13:42:20 -08:00
|
|
|
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
|
2019-11-07 12:57:00 -08:00
|
|
|
inherit sha256;
|
|
|
|
};
|
2019-09-15 18:28:39 -07:00
|
|
|
in
|
2019-01-26 10:12:08 -08:00
|
|
|
{
|
2019-11-07 12:57:00 -08:00
|
|
|
# To update, run ../helper/fetch-channel REV
|
|
|
|
nixpkgs = fetch {
|
2021-08-14 10:57:49 -07:00
|
|
|
# nixos-21.05 (2021-08-14)
|
|
|
|
rev = "a445f5829889959d65ad65e5c961d5c67e1cd677";
|
|
|
|
sha256 = "0zl930jjacdphplw1wv5nlhjk15zvflzzwp53zbh0l8qq01wh7bl";
|
2019-11-07 12:57:00 -08:00
|
|
|
};
|
|
|
|
nixpkgs-unstable = fetch {
|
2021-08-14 10:57:49 -07:00
|
|
|
rev = "4138cbd913fad85073e59007710e3f083d0eb7c6";
|
|
|
|
sha256 = "0l7vaa6mnnmxfxzi9i5gd4c4j3cpfh7gjsjsfk6nnj1r05pazf0j";
|
2019-11-07 12:57:00 -08:00
|
|
|
};
|
2019-01-26 10:12:08 -08:00
|
|
|
}
|