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

21 lines
524 B
Nix
Raw Normal View History

{ 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}";
}) {};
pkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs";
2019-01-28 22:05:53 +00:00
rev = "${rev}";
sha256 = "${sha256}";
}
'';
};
}