2018-11-21 03:59:45 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
nixpkgs = lib.mkForce {
|
2019-01-28 22:05:53 +00:00
|
|
|
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}";
|
|
|
|
}) {};
|
2019-01-03 20:41:17 +00:00
|
|
|
pkgs.fetchFromGitHub {
|
|
|
|
owner = "nixos";
|
|
|
|
repo = "nixpkgs";
|
2019-01-28 22:05:53 +00:00
|
|
|
rev = "${rev}";
|
|
|
|
sha256 = "${sha256}";
|
2019-01-03 20:41:17 +00:00
|
|
|
}
|
|
|
|
'';
|
2018-11-21 03:59:45 +00:00
|
|
|
};
|
|
|
|
}
|