Pin nixpkgs
This commit is contained in:
parent
892fb35d27
commit
140598a28b
13
default.nix
13
default.nix
@ -1,6 +1,17 @@
|
|||||||
let
|
let
|
||||||
bscOverlay = import ./overlay.nix;
|
bscOverlay = import ./overlay.nix;
|
||||||
pkgs = import <nixpkgs> {
|
|
||||||
|
# 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 {
|
||||||
overlays = [ bscOverlay ];
|
overlays = [ bscOverlay ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user