mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19: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 ];
|
nativeBuildInputs = [ pkgsBuildBuild.go ];
|
||||||
} ''
|
} ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
cp ${src} src.go
|
go build -o $out ${src}
|
||||||
go build -o $out src.go
|
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue