xdg-utils: use hostname per system indirection

Fixes the build on darwin.
This commit is contained in:
Martin Weinelt 2025-07-09 00:32:49 +02:00
parent cc12c638ca
commit 9b504cfe4b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -21,7 +21,7 @@
glib, glib,
gnugrep, gnugrep,
gnused, gnused,
hostname-debian, hostname,
jq, jq,
procps, procps,
which, which,
@ -166,7 +166,7 @@ let
scripts = [ "bin/xdg-open" ]; scripts = [ "bin/xdg-open" ];
interpreter = "${bash}/bin/bash"; interpreter = "${bash}/bin/bash";
inputs = commonDeps ++ [ inputs = commonDeps ++ [
hostname-debian hostname
glib.bin glib.bin
"${placeholder "out"}/bin" "${placeholder "out"}/bin"
]; ];
@ -206,7 +206,7 @@ let
scripts = [ "bin/xdg-screensaver" ]; scripts = [ "bin/xdg-screensaver" ];
interpreter = "${bash}/bin/bash"; interpreter = "${bash}/bin/bash";
inputs = commonDeps ++ [ inputs = commonDeps ++ [
hostname-debian hostname
perl perl
procps procps
]; ];