Skip to content

Commit

Permalink
compute-images-packages: hash, fetchFromGitHub (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
anderspapitto authored and domenkozar committed May 30, 2016
1 parent cf2649b commit 3ea47bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nix/gce.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ let

addr_manager = pkgs.stdenv.mkDerivation {
name = "google-address-manager";
src = pkgs.fetchgit {
url = https://github.com/GoogleCloudPlatform/compute-image-packages.git;
src = pkgs.fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "compute-image-packages";
rev = "6cb6f9d2219dca1d14aeb60177a15492814032a3";
sha256 = "46b15e8cea75da53e88591379745ffef53e9114950ff0fa1c25f7515df104dde";
sha256 = "10qgdd2sahvb3pwajbrw2zi8ad2xqgpi782lzzkp6yzvwyiybn18";
};
preConfigure = ''
substituteInPlace google-daemon/usr/share/google/google_daemon/address_manager.py --replace /sbin/ip ${pkgs.iproute}/sbin/ip
Expand Down

0 comments on commit 3ea47bc

Please sign in to comment.