summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/onebutton/source.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-07-18 00:29:07 +0200
committermakefu <github@syntax-fehler.de>2018-07-18 00:29:07 +0200
commitecbfc932794aa5f1301e121876f244be7edcd133 (patch)
tree1509a59d40db6c645728433861a49caed9733f58 /krebs/1systems/onebutton/source.nix
parentd3ec5d2a07af04cc9bb72960f29e3cf069a35f2e (diff)
onebutton.r: use the latest unstable tarball as source
this avoids cache misses and super expensive rebuilds on the raspi2 itself
Diffstat (limited to 'krebs/1systems/onebutton/source.nix')
-rw-r--r--krebs/1systems/onebutton/source.nix7
1 files 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 <stockholm/lib>;
let
pkgs = import <nixpkgs> {};
- 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 <stockholm/krebs/source.nix> {
name = "onebutton";