diff options
author | lassulus <lassulus@lassul.us> | 2019-01-03 21:37:14 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-01-03 21:37:14 +0100 |
commit | 069fd9be579b5257520ed7ab3578f19cb28badcd (patch) | |
tree | a3ca6d41ff76a2bfc0949d0e1b7233da54de9ede /makefu/krops.nix | |
parent | 05f9389e4f9e17be04e1bdef5b1cf695d3a8687b (diff) |
makefu krops.nix: use nixpkgs derivation for ci
Diffstat (limited to 'makefu/krops.nix')
-rw-r--r-- | makefu/krops.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/makefu/krops.nix b/makefu/krops.nix index 2a2f70a05..30db07667 100644 --- a/makefu/krops.nix +++ b/makefu/krops.nix @@ -27,15 +27,15 @@ # TODO: we want to track the unstable channel symlink = "/nix/var/nix/profiles/per-user/root/channels/nixos/"; } else { - file = { - path = toString (pkgs.fetchFromGitHub { + derivation = '' + with import <nixpkgs> {}; + pkgs.fetchFromGitHub { owner = "makefu"; repo = "nixpkgs"; - rev = nixpkgs-src.rev; - sha256 = nixpkgs-src.sha256; - }); - useChecksum = true; - }; + rev = "${nixpkgs-src.rev}"; + sha256 = "${nixpkgs-src.sha256}"; + } + ''; }; nixos-config.symlink = "stockholm/makefu/1systems/${name}/config.nix"; |