summary refs log tree commit diff
path: root/pkgs/tools/networking/curl-unix-socket/default.nix
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2017-11-03 14:43:11 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2017-11-03 14:43:11 +0000
commit5a539f5eb55bf35cea6ea39acd74ff89fa96459f (patch)
tree23558cb51f9e500d873768621fc8ad8df49bc8f1 /pkgs/tools/networking/curl-unix-socket/default.nix
parente080b87b26812e43e39be51fcd1281c63c5491a6 (diff)
downloadnixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar.gz
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar.bz2
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar.lz
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar.xz
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.tar.zst
nixpkgs-5a539f5eb55bf35cea6ea39acd74ff89fa96459f.zip
curl-unix-socket: fix build
Diffstat (limited to 'pkgs/tools/networking/curl-unix-socket/default.nix')
-rw-r--r--pkgs/tools/networking/curl-unix-socket/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/curl-unix-socket/default.nix b/pkgs/tools/networking/curl-unix-socket/default.nix
index 985cb0c3015..d145e1e12c3 100644
--- a/pkgs/tools/networking/curl-unix-socket/default.nix
+++ b/pkgs/tools/networking/curl-unix-socket/default.nix
@@ -11,8 +11,8 @@ stdenv.mkDerivation {
   };
 
   buildInputs = [ go ];
-  buildPhase = "go build";
-  installPhase = "install -D curl-unix-socket* $out/bin/curl-unix-socket";
+  buildPhase = "go build -o curl-unix-socket";
+  installPhase = "install -D curl-unix-socket $out/bin/curl-unix-socket";
 
   meta = with stdenv.lib; {
     description = "Run HTTP requests over UNIX socket";