diff options
author | tv <tv@krebsco.de> | 2019-02-02 09:16:32 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-02-02 09:16:32 +0100 |
commit | bca298e1a8582f5704e1e154ead6d1f866ac3206 (patch) | |
tree | 7ca3a33bc72108b392b35d8c014df0ceda33e75e /lass/1systems/blue | |
parent | a09bf933da2d31645872f1e2332507da98fb6a00 (diff) | |
parent | e2ae92445cc439203427a58720fc394cf1ca4b44 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/1systems/blue')
-rw-r--r-- | lass/1systems/blue/source.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lass/1systems/blue/source.nix b/lass/1systems/blue/source.nix index a32c3a829..a52771a4d 100644 --- a/lass/1systems/blue/source.nix +++ b/lass/1systems/blue/source.nix @@ -1,13 +1,19 @@ { lib, pkgs, ... }: { nixpkgs = lib.mkForce { - derivation = '' - with import <nixpkgs> {}; + 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 = "${(lib.importJSON ../../../krebs/nixpkgs.json).rev}"; - sha256 = "${(lib.importJSON ../../../krebs/nixpkgs.json).sha256}"; + rev = "${rev}"; + sha256 = "${sha256}"; } ''; }; |