about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix b/nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix
index c782607da854..9f2fe3fe7156 100644
--- a/nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix
+++ b/nixpkgs/pkgs/tools/nix/nix-store-gcs-proxy/default.nix
@@ -1,5 +1,5 @@
-{ lib, buildGoPackage, fetchFromGitHub }:
-buildGoPackage rec {
+{ lib, buildGoModule, fetchFromGitHub }:
+buildGoModule rec {
   pname = "nix-store-gcs-proxy";
   version = "0.1.0";
 
@@ -10,9 +10,9 @@ buildGoPackage rec {
     sha256 = "0804p65px4wd7gzxggpdxsazkd1hbz1p15zzaxf9ygc6sh26ncln";
   };
 
-  goPackagePath = "github.com/tweag/nix-store-gcs-proxy";
+  vendorSha256 = "sha256-Bm3yFzm2LXOPYWQDk/UBusV0lPfc/BCKIb3pPlWgDFo=";
 
-  goDeps = ./deps.nix;
+  ldflags = [ "-s" "-w" ];
 
   meta = {
     description = "A HTTP nix store that proxies requests to Google Storage";