From ecbfc932794aa5f1301e121876f244be7edcd133 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 18 Jul 2018 00:29:07 +0200 Subject: onebutton.r: use the latest unstable tarball as source this avoids cache misses and super expensive rebuilds on the raspi2 itself --- krebs/1systems/onebutton/source.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/krebs/1systems/onebutton/source.nix b/krebs/1systems/onebutton/source.nix index 6842bfaab..91a998de7 100644 --- a/krebs/1systems/onebutton/source.nix +++ b/krebs/1systems/onebutton/source.nix @@ -1,11 +1,8 @@ with import ; let pkgs = import {}; - nixpkgs = pkgs.fetchFromGitHub { - owner = "nixos"; - repo = "nixpkgs-channels"; - rev = "nixos-unstable"; # only binary cache for unstable arm6 - sha256 = "1rqzh475xn43phagrr30lb0fd292c1s8as53irihsnd5wcksnbyd"; + nixpkgs = builtins.fetchTarball { + url = https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; }; in import { name = "onebutton"; -- cgit v1.2.3