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:
parent
d3ec5d2a07
commit
ecbfc93279
@ -1,11 +1,8 @@
|
|||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import <nixpkgs> {};
|
||||||
nixpkgs = pkgs.fetchFromGitHub {
|
nixpkgs = builtins.fetchTarball {
|
||||||
owner = "nixos";
|
url = https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||||
repo = "nixpkgs-channels";
|
|
||||||
rev = "nixos-unstable"; # only binary cache for unstable arm6
|
|
||||||
sha256 = "1rqzh475xn43phagrr30lb0fd292c1s8as53irihsnd5wcksnbyd";
|
|
||||||
};
|
};
|
||||||
in import <stockholm/krebs/source.nix> {
|
in import <stockholm/krebs/source.nix> {
|
||||||
name = "onebutton";
|
name = "onebutton";
|
||||||
|
Loading…
Reference in New Issue
Block a user