Don't needlessly copy internal sources in builder

This commit is contained in:
adisbladis 2022-09-02 16:44:29 +12:00
parent 32ba72372b
commit 82718bac0b

View file

@ -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
{