stockholm/lass/1systems/blue/source.nix

18 lines
459 B
Nix
Raw Normal View History

2019-07-15 16:27:17 +00:00
{ lib, pkgs, test, ... }:
2021-10-23 20:22:38 +00:00
if test then {} else {
2019-07-15 16:27:17 +00:00
nixpkgs = lib.mkIf (! test) (lib.mkForce {
file = {
path = toString (pkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs";
rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev;
sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256;
});
useChecksum = true;
};
2019-07-15 16:27:17 +00:00
});
nixpkgs-unstable = lib.mkForce {
file.path = "/var/empty";
};
2021-10-23 20:22:38 +00:00
}