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-04 15:48:56 -07:00
|
|
|
# nixos-21.05 (2021-08-03)
|
|
|
|
rev = "d4590d21006387dcb190c516724cb1e41c0f8fdf";
|
|
|
|
sha256 = "17q39hlx1x87xf2rdygyimj8whdbx33nzszf4rxkc6b85wz0l38n";
|
2019-11-07 12:57:00 -08:00
|
|
|
};
|
|
|
|
nixpkgs-unstable = fetch {
|
2021-07-23 02:24:25 -07:00
|
|
|
rev = "16105403bdd843540cbef9c63fc0f16c1c6eaa70";
|
|
|
|
sha256 = "0sl6hsxlh14kcs38jcra908nvi5hd8p8hlim3lbra55lz0kd9rcl";
|
2019-11-07 12:57:00 -08:00
|
|
|
};
|
2019-01-26 10:12:08 -08:00
|
|
|
}
|