2020-06-09 00:01:33 +08:00
|
|
|
let
|
2020-09-16 18:22:55 +08:00
|
|
|
bscOverlay = import ./overlay.nix;
|
2021-01-11 23:41:56 +08:00
|
|
|
|
|
|
|
# Pin the nixpkgs
|
|
|
|
nixpkgsPath = builtins.fetchTarball {
|
|
|
|
# Descriptive name to make the store path easier to identify
|
|
|
|
name = "nixos-20.09";
|
|
|
|
# Commit hash for nixos-20.09 as of 2021-01-11
|
|
|
|
url = "https://github.com/nixos/nixpkgs/archive/41dddb1283733c4993cb6be9573d5cef937c1375.tar.gz";
|
|
|
|
# Hash obtained using `nix-prefetch-url --unpack <url>`
|
|
|
|
sha256 = "1blbidbmxhaxar2x76nz72bazykc5yxi0algsbrhxgrsvijs4aiw";
|
|
|
|
};
|
|
|
|
|
|
|
|
pkgs = import nixpkgsPath {
|
2020-09-16 18:22:55 +08:00
|
|
|
overlays = [ bscOverlay ];
|
2020-06-10 00:21:02 +08:00
|
|
|
};
|
2020-06-17 19:00:49 +08:00
|
|
|
|
2020-09-16 18:22:55 +08:00
|
|
|
in pkgs
|