bscpkgs/default.nix

21 lines
583 B
Nix
Raw Normal View History

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