Unverified Commit 8932d2d9 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

wails: do not overwrite user provided tools

For example when building a project with golang 1.26 we want to use the
user provoided compiler and not have to run wailts like:
  GOTOOLCHAIN=go1.26.0 wails build -compiler '${go_1_26}/bin/go'
parent 7a5d8e95
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ buildGoModule (finalAttrs: {
  # As Wails calls a compiler, certain apps and libraries need to be made available.
  postFixup = ''
    wrapProgram $out/bin/wails \
      --prefix PATH : ${
      --suffix PATH : ${
        lib.makeBinPath [
          pkg-config
          go
@@ -72,7 +72,7 @@ buildGoModule (finalAttrs: {
          nodejs
        ]
      } \
      --prefix LD_LIBRARY_PATH : "${
      --suffix LD_LIBRARY_PATH : "${
        lib.makeLibraryPath (
          lib.optionals stdenv.hostPlatform.isLinux [
            gtk3