commit | 6c69fcdbc92c7fd369bd441a7e1edc8749a1bba4 | [log] [tgz] |
---|---|---|
author | Piotr Dobrowolski <informatic@hackerspace.pl> | Sun Oct 17 00:32:25 2021 +0200 |
committer | informatic <informatic@hackerspace.pl> | Wed Oct 20 20:58:16 2021 +0000 |
tree | 274fe1a6f1cc5232ff3aa3342f3b6de01918633e | |
parent | 6f6187c61c1483a31685f76e87a5bcad52a2684e [diff] [blame] |
hswaw/machines/customs: rework checkinator build Change-Id: I4ec569c5966f65f46f48a3707842a1fe9d483e16 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1171 Reviewed-by: informatic <informatic@hackerspace.pl>
diff --git a/hswaw/machines/customs.hackerspace.pl/checkinator-tracker.nix b/hswaw/machines/customs.hackerspace.pl/checkinator-tracker.nix index 74617c7..17a9b17 100644 --- a/hswaw/machines/customs.hackerspace.pl/checkinator-tracker.nix +++ b/hswaw/machines/customs.hackerspace.pl/checkinator-tracker.nix
@@ -1,14 +1,7 @@ { pkgs, ... }: let - old-pkgs = import (fetchTarball { - sha256 = "0kdx3pz0l422d0vvvj3h8mnq65jcg2scb13dc1z1lg2a8cln842z"; - url = https://api.github.com/repos/NixOS/nixpkgs/tarball/0bf298df24f721a7f85c580339fb7eeff64b927c; - }) { config = pkgs.config; }; - - repo = pkgs.fetchgit (builtins.fromJSON - (builtins.readFile ./checkinator-repo.json)); - checkinator = old-pkgs.callPackage "${repo}/default.nix" {}; + checkinator = pkgs.callPackage ./checkinator.nix {}; name = "checkinator-tracker"; user = name;