summaryrefslogtreecommitdiffstats
path: root/lass/1systems/blue/source.nix
blob: 2b41582118da1c0aeef7320879be636f514910bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, pkgs, test, ... }:
{
  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;
    };
  });
  nixpkgs-unstable = lib.mkForce {
    file.path = "/var/empty";
  };
}