bscpkgs/default.nix

21 lines
597 B
Nix
Raw Normal View History

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
2023-03-02 18:16:54 +08:00
commit = "3c0a90afd70b46b081601f9941999e596576337f";
2022-09-01 22:27:29 +08:00
2021-01-11 23:41:56 +08:00
# Pin the nixpkgs
nixpkgsPath = builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
2022-09-01 22:27:29 +08:00
name = "nixpkgs-${commit}";
2023-03-02 18:16:54 +08:00
# Commit hash for nixpkgs release-22.11 as of 2023-03-02
2022-09-01 22:27:29 +08:00
url = "https://github.com/nixos/nixpkgs/archive/${commit}.tar.gz";
2021-01-11 23:41:56 +08:00
# Hash obtained using `nix-prefetch-url --unpack <url>`
2023-03-02 18:16:54 +08:00
sha256 = "0ss4cigiph1ck4lr0qjiw79pjsi4q0nd00mjfzmzmarxdphjsmyy";
2021-01-11 23:41:56 +08:00
};
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