curl-unix-socket: fix build

This commit is contained in:
Piotr Bogdan 2017-11-03 14:43:11 +00:00
parent e080b87b26
commit 5a539f5eb5

View File

@ -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";