Pin nixpkgs

This commit is contained in:
Rodrigo Arias Mallo 2021-01-11 16:41:56 +01:00
parent 892fb35d27
commit 140598a28b

View File

@ -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 ];
}; };