local-ai: buildGoModules do not allow to use buildFlags
This commit is contained in:
parent
a8853c6b02
commit
5cd992bea0
|
@ -368,10 +368,11 @@ let
|
|||
|
||||
proxyVendor = true;
|
||||
|
||||
# should be passed as buildFlags, but build system failes with spaces
|
||||
# should be passed as makeFlags, but build system failes with strings
|
||||
# containing spaces
|
||||
env.GO_TAGS = builtins.concatStringsSep " " GO_TAGS;
|
||||
|
||||
buildFlags = [
|
||||
makeFlags = [
|
||||
"VERSION=v${version}"
|
||||
"BUILD_TYPE=${BUILD_TYPE}"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue