nomad: buildFlagsArray -> tags
This commit is contained in:
parent
09138462c8
commit
ed9a086c0d
@ -29,16 +29,7 @@ buildGoPackage rec {
|
||||
# ui:
|
||||
# Nomad release commits include the compiled version of the UI, but the file
|
||||
# is only included if we build with the ui tag.
|
||||
preBuild =
|
||||
let
|
||||
tags = [ "ui" ] ++ lib.optional (!nvidiaGpuSupport) "nonvidia";
|
||||
tagsString = lib.concatStringsSep " " tags;
|
||||
in
|
||||
''
|
||||
export buildFlagsArray=(
|
||||
-tags="${tagsString}"
|
||||
)
|
||||
'';
|
||||
|
||||
# The dependency on NVML isn't explicit. We have to make it so otherwise the
|
||||
# binary will not know where to look for the relevant symbols.
|
||||
|
Loading…
Reference in New Issue
Block a user