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'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user