hostname: default to hostname-debian on linux; xdg-utils: fix darwin build (#423643)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
glib,
|
||||
gnugrep,
|
||||
gnused,
|
||||
hostname-debian,
|
||||
hostname,
|
||||
jq,
|
||||
procps,
|
||||
which,
|
||||
@@ -166,7 +166,7 @@ let
|
||||
scripts = [ "bin/xdg-open" ];
|
||||
interpreter = "${bash}/bin/bash";
|
||||
inputs = commonDeps ++ [
|
||||
hostname-debian
|
||||
hostname
|
||||
glib.bin
|
||||
"${placeholder "out"}/bin"
|
||||
];
|
||||
@@ -206,7 +206,7 @@ let
|
||||
scripts = [ "bin/xdg-screensaver" ];
|
||||
interpreter = "${bash}/bin/bash";
|
||||
inputs = commonDeps ++ [
|
||||
hostname-debian
|
||||
hostname
|
||||
perl
|
||||
procps
|
||||
];
|
||||
|
||||
@@ -126,7 +126,7 @@ let
|
||||
darwin = pkgs.darwin.shell_cmds;
|
||||
};
|
||||
hostname = {
|
||||
linux = pkgs.nettools;
|
||||
linux = pkgs.hostname-debian;
|
||||
darwin = pkgs.darwin.shell_cmds;
|
||||
freebsd = pkgs.freebsd.bin;
|
||||
openbsd = pkgs.openbsd.hostname;
|
||||
|
||||
Reference in New Issue
Block a user