about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-04-16 18:43:09 +0200
committerLuca Bruno <lethalman88@gmail.com>2015-04-16 18:43:37 +0200
commit23a92ba43c92fa73f885cc8fb6743f4adb221d13 (patch)
tree35130c31393604a88f8e6cc126d90cdab70fbbd8 /pkgs/applications/networking
parenta83f55af1c57c9254c439c667e8ca151adde7d38 (diff)
pond: fix build by renaming imports, also add renameImports to goBuildPackage
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/pond/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/networking/pond/default.nix b/pkgs/applications/networking/pond/default.nix
index 59e381e9e2224..4ac3a0448dea0 100644
--- a/pkgs/applications/networking/pond/default.nix
+++ b/pkgs/applications/networking/pond/default.nix
@@ -14,7 +14,12 @@ buildGoPackage rec {
 
   subPackages = [ "client" ];
 
-  buildInputs = [ trousers net crypto protobuf ed25519 ];
+  renameImports = [
+    "code.google.com/p/go.crypto golang.org/x/crypto"
+    "code.google.com/p/goprotobuf github.com/golang/protobuf"
+  ];
+
+  buildInputs = [ trousers net crypto protobuf ed25519 govers ];
     
   buildFlags = "--tags nogui";