aboutsummaryrefslogtreecommitdiff
path: root/nix/builder/fetch.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-24 10:07:41 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-24 10:08:21 +0200
commit11574aeb19cd971b20d37353111c4f37ffdfb7f5 (patch)
tree5d9939a08ec11986eff360f41684ec53a35ac7e0 /nix/builder/fetch.sh
parentba8042a21a8552f132cac6d0a45cf8e08d885f08 (diff)
downloadguichet-nix.tar.gz
guichet-nix.zip
Remove vendoring of gomod2nixnix
Diffstat (limited to 'nix/builder/fetch.sh')
-rw-r--r--nix/builder/fetch.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/nix/builder/fetch.sh b/nix/builder/fetch.sh
deleted file mode 100644
index 8c6bdb3..0000000
--- a/nix/builder/fetch.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-source $stdenv/setup
-
-export HOME=$(mktemp -d)
-
-# Call once first outside of subshell for better error reporting
-go mod download "$goPackagePath@$version"
-
-dir=$(go mod download --json "$goPackagePath@$version" | jq -r .Dir)
-
-chmod -R +w $dir
-find $dir -iname ".ds_store" | xargs -r rm -rf
-
-cp -r $dir $out