mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-05 01:59:08 +00:00
Don't needlessly copy internal sources in builder
This commit is contained in:
parent
32ba72372b
commit
82718bac0b
1 changed files with 1 additions and 2 deletions
|
@ -32,8 +32,7 @@ let
|
|||
nativeBuildInputs = [ pkgsBuildBuild.go ];
|
||||
} ''
|
||||
export HOME=$(mktemp -d)
|
||||
cp ${src} src.go
|
||||
go build -o $out src.go
|
||||
go build -o $out ${src}
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue