Commit 5cd992be authored by Christian Kögler's avatar Christian Kögler
Browse files

local-ai: buildGoModules do not allow to use buildFlags

parent a8853c6b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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}"
    ]