summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Scott <hi@alecbcs.com>2024-01-29 05:49:45 -0800
committerGitHub <noreply@github.com>2024-01-29 14:49:45 +0100
commit7eba7d4028afe305d3e2e6b60fa58689aa38b57e (patch)
treecba39c688d0eec5334ca16cd33e1a60fb4c698a3
parentb09d741aede8584d9537e64209b18a873e0297d1 (diff)
downloadspack-7eba7d4028afe305d3e2e6b60fa58689aa38b57e.tar.gz
spack-7eba7d4028afe305d3e2e6b60fa58689aa38b57e.tar.bz2
spack-7eba7d4028afe305d3e2e6b60fa58689aa38b57e.tar.xz
spack-7eba7d4028afe305d3e2e6b60fa58689aa38b57e.zip
go: simplify dependency on git to only run (#42208)
-rw-r--r--var/spack/repos/builtin/packages/go/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/go/package.py b/var/spack/repos/builtin/packages/go/package.py
index a1d4fcd779..2f64013940 100644
--- a/var/spack/repos/builtin/packages/go/package.py
+++ b/var/spack/repos/builtin/packages/go/package.py
@@ -6,7 +6,7 @@
import os
import re
-import llnl.util.tty as tty
+from llnl.util import tty
from spack.package import *
@@ -97,7 +97,7 @@ class Go(Package):
provides("golang")
- depends_on("git", type=("build", "link", "run"))
+ depends_on("git", type="run")
depends_on("go-or-gccgo-bootstrap", type="build")
depends_on("go-or-gccgo-bootstrap@1.17.13:", type="build", when="@1.20:")