easylpac: lookup lpac in $PATH on darwin, too

This commit is contained in:
Florian Klink
2026-04-27 14:25:34 +03:00
parent 38edd9a367
commit f2fcde71fc
+6
View File
@@ -31,6 +31,12 @@ buildGoModule rec {
vendorHash = "sha256-52I8hlnoHPhygwr0dxDP50X2A7Gsh0v/0SGQFH3FG/8=";
# also include $PATH lookup logic for `lpac` in the darwin case.
postPatch = ''
substituteInPlace config.go --replace-fail \
'case "linux":' 'case "linux", "darwin":'
'';
nativeBuildInputs = [
copyDesktopItems
pkg-config