diff options
author | Julie Shapiro | 2022-01-10 18:09:20 -0600 |
---|---|---|
committer | Julie Shapiro | 2022-01-10 18:09:20 -0600 |
commit | d90afc84abd163b59b50d5d7789c8dd87fc7b554 (patch) | |
tree | ed2092c11b179b015ffeeb172c67da030565a6ca | |
parent | d0a4cbcc9b16ff74cddb584812d16c1d1f9400d8 (diff) | |
download | aur-d90afc84abd163b59b50d5d7789c8dd87fc7b554.tar.gz |
fix GO111MODULE, thank you @gnaggnoyil for pointing it out
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,14 +1,14 @@ pkgbase = nvidia-container-runtime pkgdesc = NVIDIA opencontainer runtime fork to expose GPU devices to containers. pkgver = 3.7.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/NVIDIA/nvidia-container-toolkit arch = x86_64 license = APACHE makedepends = go depends = libseccomp depends = nvidia-container-toolkit>=1.7.0 - source = v3.7.0-1.tar.gz::https://github.com/NVIDIA/nvidia-container-toolkit/archive/v1.7.0.tar.gz + source = v3.7.0-2.tar.gz::https://github.com/NVIDIA/nvidia-container-toolkit/archive/v1.7.0.tar.gz sha256sums = f096b2db7cc837164e9739fc31680ff7c1f4135e6b7290dc68f590df3c651a02 pkgname = nvidia-container-runtime @@ -10,7 +10,7 @@ pkgname=nvidia-container-runtime # identical to nvidia-container-toolkit's PKGBUILD. pkgver=3.7.0 -pkgrel=1 +pkgrel=2 toolkit_ver=1.7.0 @@ -33,6 +33,7 @@ build() { mkdir bin + GO111MODULE=auto \ GOPATH="${srcdir}/gopath" \ go build -v \ -buildmode=pie \ @@ -44,6 +45,7 @@ build() { # -trimpath \ # only go > 1.13 # go leaves a bunch of local stuff with 0400, making it break future `makepkg -C` _grumble grumble_ + GO111MODULE=auto \ GOPATH="${srcdir}/gopath" \ go clean -modcache } |