Skip to content

Commit

Permalink
buildGoModule: remove some unnecessary quotes (NixOS#370005)
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen authored Jan 2, 2025
2 parents 94b3591 + 3b0d5f3 commit 524a505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/build-support/go/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in
export GIT_SSL_CAINFO=$NIX_SSL_CERT_FILE
${if finalAttrs.proxyVendor then ''
mkdir -p "''${GOPATH}/pkg/mod/cache/download"
mkdir -p "$GOPATH/pkg/mod/cache/download"
go mod download
'' else ''
if (( "''${NIX_DEBUG:-0}" >= 1 )); then
Expand All @@ -135,8 +135,8 @@ in
runHook preInstall
${if finalAttrs.proxyVendor then ''
rm -rf "''${GOPATH}/pkg/mod/cache/download/sumdb"
cp -r --reflink=auto "''${GOPATH}/pkg/mod/cache/download" $out
rm -rf "$GOPATH/pkg/mod/cache/download/sumdb"
cp -r --reflink=auto "$GOPATH/pkg/mod/cache/download" $out
'' else ''
cp -r --reflink=auto vendor $out
''}
Expand Down

0 comments on commit 524a505

Please sign in to comment.