summaryrefslogtreecommitdiffstats
path: root/lass/1systems/blue/source.nix
blob: a52771a4df8b2ce7f2b7211ed43a55119a44f58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, pkgs, ... }:
{
  nixpkgs = lib.mkForce {
    derivation = let
      rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev;
      sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256;
    in ''
      with import (builtins.fetchTarball {
        url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
        sha256 = "${sha256}";
      }) {};
      pkgs.fetchFromGitHub {
        owner = "nixos";
        repo = "nixpkgs";
        rev = "${rev}";
        sha256 = "${sha256}";
      }
    '';
  };
}