mirror of https://gerrit.hackerspace.pl/hscloud
cluster/kube-common: avoid full nixpkgs checkouts
fetchGit was unnecessarily fetching full nixpkgs repository during evaluation. Change-Id: Ia22a234938014659d4c33e16c5028a63884d476c Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1728 Reviewed-by: q3k <q3k@hackerspace.pl>changes/28/1728/2
parent
934f7d3626
commit
4d3a0cc123
|
@ -11,11 +11,12 @@ in {
|
|||
package = mkOption {
|
||||
description = "Kubernetes package to use for everything but kubelet.";
|
||||
type = types.package;
|
||||
default = (import (fetchGit {
|
||||
default = (import (pkgs.fetchFromGitHub {
|
||||
# Now at 1.16.5
|
||||
name = "nixos-unstable-2020-01-22";
|
||||
url = https://github.com/nixos/nixpkgs-channels/;
|
||||
owner = "nixos";
|
||||
repo = "nixpkgs-channels";
|
||||
rev = "a96ed5d70427bdc2fbb9e805784e1b9621157a98";
|
||||
sha256 = "sha256-vwGMEQ2lKi8kuo/VYDIPv/95dQVL8z9YMB/uZkoDOKQ=";
|
||||
}) {}).kubernetes;
|
||||
defaultText = "pkgs.kubernetes";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue