Fix hologram server with go versions > 1.4, no fix yet upstream.

(cherry picked from commit cbfb35a145287f9c18c801ffaf4f36967f1bd563)
This commit is contained in:
Rob Vermaas 2017-07-05 10:21:51 +00:00
parent 5328aac7be
commit 730a394e75
No known key found for this signature in database
GPG Key ID: E114A5F264A8AE8E

View File

@ -15,6 +15,10 @@ buildGoPackage rec {
goDeps = ./deps.nix; goDeps = ./deps.nix;
preConfigure = ''
sed -i 's|cacheTimeout != 3600|cacheTimeout != 0|' cmd/hologram-server/main.go
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/AdRoll/hologram/; homepage = https://github.com/AdRoll/hologram/;
description = "Easy, painless AWS credentials on developer laptops."; description = "Easy, painless AWS credentials on developer laptops.";