onebutton.r: use the latest unstable tarball as source

this avoids cache misses and super expensive rebuilds on the raspi2 itself
This commit is contained in:
makefu 2018-07-18 00:29:07 +02:00
parent d3ec5d2a07
commit ecbfc93279
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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";