utillinux: rename to util-linux

This commit is contained in:
Graham Christensen 2020-11-24 10:29:28 -05:00
parent 79086e5d55
commit bc49a0815a
No known key found for this signature in database
GPG Key ID: FE918C3A98C1030F
265 changed files with 574 additions and 571 deletions

View File

@ -134,7 +134,7 @@ let format' = format; in let
binPath = with pkgs; makeBinPath ( binPath = with pkgs; makeBinPath (
[ rsync [ rsync
utillinux util-linux
parted parted
e2fsprogs e2fsprogs
lkl lkl
@ -239,7 +239,7 @@ let format' = format; in let
in pkgs.vmTools.runInLinuxVM ( in pkgs.vmTools.runInLinuxVM (
pkgs.runCommand name pkgs.runCommand name
{ preVM = prepareImage; { preVM = prepareImage;
buildInputs = with pkgs; [ utillinux e2fsprogs dosfstools ]; buildInputs = with pkgs; [ util-linux e2fsprogs dosfstools ];
postVM = '' postVM = ''
${if format == "raw" then '' ${if format == "raw" then ''
mv $diskImage $out/${filename} mv $diskImage $out/${filename}

View File

@ -187,7 +187,7 @@ in
before = [ "${realDevice'}.swap" ]; before = [ "${realDevice'}.swap" ];
# If swap is encrypted, depending on rngd resolves a possible entropy starvation during boot # If swap is encrypted, depending on rngd resolves a possible entropy starvation during boot
after = mkIf (config.security.rngd.enable && sw.randomEncryption.enable) [ "rngd.service" ]; after = mkIf (config.security.rngd.enable && sw.randomEncryption.enable) [ "rngd.service" ];
path = [ pkgs.utillinux ] ++ optional sw.randomEncryption.enable pkgs.cryptsetup; path = [ pkgs.util-linux ] ++ optional sw.randomEncryption.enable pkgs.cryptsetup;
script = script =
'' ''

View File

@ -37,7 +37,7 @@ let
pkgs.procps pkgs.procps
pkgs.su pkgs.su
pkgs.time pkgs.time
pkgs.utillinux pkgs.util-linux
pkgs.which pkgs.which
pkgs.zstd pkgs.zstd
]; ];

View File

@ -149,8 +149,8 @@ in
print int($2*${toString cfg.memoryPercent}/100.0/${toString devicesCount}*1024) print int($2*${toString cfg.memoryPercent}/100.0/${toString devicesCount}*1024)
}' /proc/meminfo) }' /proc/meminfo)
${pkgs.utillinux}/sbin/zramctl --size $mem --algorithm ${cfg.algorithm} /dev/${dev} ${pkgs.util-linux}/sbin/zramctl --size $mem --algorithm ${cfg.algorithm} /dev/${dev}
${pkgs.utillinux}/sbin/mkswap /dev/${dev} ${pkgs.util-linux}/sbin/mkswap /dev/${dev}
''; '';
restartIfChanged = false; restartIfChanged = false;
}; };

View File

@ -147,10 +147,10 @@ in
sdImage.storePaths = [ config.system.build.toplevel ]; sdImage.storePaths = [ config.system.build.toplevel ];
system.build.sdImage = pkgs.callPackage ({ stdenv, dosfstools, e2fsprogs, system.build.sdImage = pkgs.callPackage ({ stdenv, dosfstools, e2fsprogs,
mtools, libfaketime, utillinux, zstd }: stdenv.mkDerivation { mtools, libfaketime, util-linux, zstd }: stdenv.mkDerivation {
name = config.sdImage.imageName; name = config.sdImage.imageName;
nativeBuildInputs = [ dosfstools e2fsprogs mtools libfaketime utillinux zstd ]; nativeBuildInputs = [ dosfstools e2fsprogs mtools libfaketime util-linux zstd ];
inherit (config.sdImage) compressImage; inherit (config.sdImage) compressImage;
@ -221,7 +221,7 @@ in
set -euo pipefail set -euo pipefail
set -x set -x
# Figure out device names for the boot device and root filesystem. # Figure out device names for the boot device and root filesystem.
rootPart=$(${pkgs.utillinux}/bin/findmnt -n -o SOURCE /) rootPart=$(${pkgs.util-linux}/bin/findmnt -n -o SOURCE /)
bootDevice=$(lsblk -npo PKNAME $rootPart) bootDevice=$(lsblk -npo PKNAME $rootPart)
# Resize the root partition and the filesystem to fit the disk # Resize the root partition and the filesystem to fit the disk

View File

@ -96,7 +96,7 @@ in
boot.initrd.extraUtilsCommands = boot.initrd.extraUtilsCommands =
'' ''
copy_bin_and_libs ${pkgs.utillinux}/sbin/hwclock copy_bin_and_libs ${pkgs.util-linux}/sbin/hwclock
''; '';
boot.initrd.postDeviceCommands = boot.initrd.postDeviceCommands =

View File

@ -110,7 +110,7 @@ in {
"L+ /usr/local/bin/chmod - - - - ${coreutils}/bin/chmod" "L+ /usr/local/bin/chmod - - - - ${coreutils}/bin/chmod"
"L+ /usr/local/bin/cp - - - - ${coreutils}/bin/cp" "L+ /usr/local/bin/cp - - - - ${coreutils}/bin/cp"
"L+ /usr/local/bin/sed - - - - ${gnused}/bin/sed" "L+ /usr/local/bin/sed - - - - ${gnused}/bin/sed"
"L+ /usr/local/bin/setsid - - - - ${utillinux}/bin/setsid" "L+ /usr/local/bin/setsid - - - - ${util-linux}/bin/setsid"
"L+ /usr/local/bin/xrandr - - - - ${xorg.xrandr}/bin/xrandr" "L+ /usr/local/bin/xrandr - - - - ${xorg.xrandr}/bin/xrandr"
"L+ /usr/local/bin/xmodmap - - - - ${xorg.xmodmap}/bin/xmodmap" "L+ /usr/local/bin/xmodmap - - - - ${xorg.xmodmap}/bin/xmodmap"
]; ];

View File

@ -60,7 +60,7 @@ in
<!-- if activated, requires ofl from hxtools to be present --> <!-- if activated, requires ofl from hxtools to be present -->
<logout wait="0" hup="no" term="no" kill="no" /> <logout wait="0" hup="no" term="no" kill="no" />
<!-- set PATH variable for pam_mount module --> <!-- set PATH variable for pam_mount module -->
<path>${pkgs.utillinux}/bin</path> <path>${pkgs.util-linux}/bin</path>
<!-- create mount point if not present --> <!-- create mount point if not present -->
<mkmountpoint enable="1" remove="true" /> <mkmountpoint enable="1" remove="true" />

View File

@ -163,8 +163,8 @@ in
# These are mount related wrappers that require the +s permission. # These are mount related wrappers that require the +s permission.
fusermount.source = "${pkgs.fuse}/bin/fusermount"; fusermount.source = "${pkgs.fuse}/bin/fusermount";
fusermount3.source = "${pkgs.fuse3}/bin/fusermount3"; fusermount3.source = "${pkgs.fuse3}/bin/fusermount3";
mount.source = "${lib.getBin pkgs.utillinux}/bin/mount"; mount.source = "${lib.getBin pkgs.util-linux}/bin/mount";
umount.source = "${lib.getBin pkgs.utillinux}/bin/umount"; umount.source = "${lib.getBin pkgs.util-linux}/bin/umount";
}; };
boot.specialFileSystems.${parentWrapperDir} = { boot.specialFileSystems.${parentWrapperDir} = {

View File

@ -45,7 +45,7 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
path = with pkgs; [ path = with pkgs; [
utillinux # for dmesg util-linux # for dmesg
]; ];
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.salt}/bin/salt-master"; ExecStart = "${pkgs.salt}/bin/salt-master";

View File

@ -50,7 +50,7 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
path = with pkgs; [ path = with pkgs; [
utillinux util-linux
]; ];
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.salt}/bin/salt-minion"; ExecStart = "${pkgs.salt}/bin/salt-minion";

View File

@ -308,7 +308,7 @@ in
requires = [ "network-online.target" ]; requires = [ "network-online.target" ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
path = with pkgs; [ iputils tarsnap utillinux ]; path = with pkgs; [ iputils tarsnap util-linux ];
# In order for the persistent tarsnap timer to work reliably, we have to # In order for the persistent tarsnap timer to work reliably, we have to
# make sure that the tarsnap server is reachable after systemd starts up # make sure that the tarsnap server is reachable after systemd starts up
@ -355,7 +355,7 @@ in
description = "Tarsnap restore '${name}'"; description = "Tarsnap restore '${name}'";
requires = [ "network-online.target" ]; requires = [ "network-online.target" ];
path = with pkgs; [ iputils tarsnap utillinux ]; path = with pkgs; [ iputils tarsnap util-linux ];
script = let script = let
tarsnap = ''tarsnap --configfile "/etc/tarsnap/${name}.conf"''; tarsnap = ''tarsnap --configfile "/etc/tarsnap/${name}.conf"'';

View File

@ -241,7 +241,7 @@ in
description = "Kubernetes Kubelet Service"; description = "Kubernetes Kubelet Service";
wantedBy = [ "kubernetes.target" ]; wantedBy = [ "kubernetes.target" ];
after = [ "network.target" "docker.service" "kube-apiserver.service" ]; after = [ "network.target" "docker.service" "kube-apiserver.service" ];
path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ top.path; path = with pkgs; [ gitMinimal openssh docker util-linux iproute ethtool thin-provisioning-tools iptables socat ] ++ top.path;
preStart = '' preStart = ''
${concatMapStrings (img: '' ${concatMapStrings (img: ''
echo "Seeding docker image: ${img}" echo "Seeding docker image: ${img}"

View File

@ -32,7 +32,7 @@ in
environment.systemPackages = [ pkgs.torque ]; environment.systemPackages = [ pkgs.torque ];
systemd.services.torque-mom-init = { systemd.services.torque-mom-init = {
path = with pkgs; [ torque utillinux procps inetutils ]; path = with pkgs; [ torque util-linux procps inetutils ];
script = '' script = ''
pbs_mkdirs -v aux pbs_mkdirs -v aux

View File

@ -21,7 +21,7 @@ in
environment.systemPackages = [ pkgs.torque ]; environment.systemPackages = [ pkgs.torque ];
systemd.services.torque-server-init = { systemd.services.torque-server-init = {
path = with pkgs; [ torque utillinux procps inetutils ]; path = with pkgs; [ torque util-linux procps inetutils ];
script = '' script = ''
tmpsetup=$(mktemp -t torque-XXXX) tmpsetup=$(mktemp -t torque-XXXX)

View File

@ -541,7 +541,7 @@ in
jq jq
moreutils moreutils
remarshal remarshal
utillinux util-linux
cfg.package cfg.package
] ++ cfg.extraPackages; ] ++ cfg.extraPackages;
reloadIfChanged = true; reloadIfChanged = true;

View File

@ -118,7 +118,7 @@ in
after = [ "network.target" ]; after = [ "network.target" ];
path = [ path = [
pkgs.utillinux # for `logger` pkgs.util-linux # for `logger`
pkgs.bash pkgs.bash
]; ];

View File

@ -36,7 +36,7 @@ in {
description = "Profile Sync daemon"; description = "Profile Sync daemon";
wants = [ "psd-resync.service" ]; wants = [ "psd-resync.service" ];
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = with pkgs; [ rsync kmod gawk nettools utillinux profile-sync-daemon ]; path = with pkgs; [ rsync kmod gawk nettools util-linux profile-sync-daemon ];
unitConfig = { unitConfig = {
RequiresMountsFor = [ "/home/" ]; RequiresMountsFor = [ "/home/" ];
}; };
@ -55,7 +55,7 @@ in {
wants = [ "psd-resync.timer" ]; wants = [ "psd-resync.timer" ];
partOf = [ "psd.service" ]; partOf = [ "psd.service" ];
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = with pkgs; [ rsync kmod gawk nettools utillinux profile-sync-daemon ]; path = with pkgs; [ rsync kmod gawk nettools util-linux profile-sync-daemon ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.profile-sync-daemon}/bin/profile-sync-daemon resync"; ExecStart = "${pkgs.profile-sync-daemon}/bin/profile-sync-daemon resync";

View File

@ -57,8 +57,8 @@ let
substituteInPlace $i \ substituteInPlace $i \
--replace \"/sbin/modprobe \"${pkgs.kmod}/bin/modprobe \ --replace \"/sbin/modprobe \"${pkgs.kmod}/bin/modprobe \
--replace \"/sbin/mdadm \"${pkgs.mdadm}/sbin/mdadm \ --replace \"/sbin/mdadm \"${pkgs.mdadm}/sbin/mdadm \
--replace \"/sbin/blkid \"${pkgs.utillinux}/sbin/blkid \ --replace \"/sbin/blkid \"${pkgs.util-linux}/sbin/blkid \
--replace \"/bin/mount \"${pkgs.utillinux}/bin/mount \ --replace \"/bin/mount \"${pkgs.util-linux}/bin/mount \
--replace /usr/bin/readlink ${pkgs.coreutils}/bin/readlink \ --replace /usr/bin/readlink ${pkgs.coreutils}/bin/readlink \
--replace /usr/bin/basename ${pkgs.coreutils}/bin/basename --replace /usr/bin/basename ${pkgs.coreutils}/bin/basename
done done
@ -280,7 +280,7 @@ in
services.udev.packages = [ extraUdevRules extraHwdbFile ]; services.udev.packages = [ extraUdevRules extraHwdbFile ];
services.udev.path = [ pkgs.coreutils pkgs.gnused pkgs.gnugrep pkgs.utillinux udev ]; services.udev.path = [ pkgs.coreutils pkgs.gnused pkgs.gnugrep pkgs.util-linux udev ];
boot.kernelParams = mkIf (!config.networking.usePredictableInterfaceNames) [ "net.ifnames=0" ]; boot.kernelParams = mkIf (!config.networking.usePredictableInterfaceNames) [ "net.ifnames=0" ];

View File

@ -31,7 +31,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.packages = [ pkgs.utillinux ]; systemd.packages = [ pkgs.util-linux ];
systemd.timers.fstrim = { systemd.timers.fstrim = {
timerConfig = { timerConfig = {

View File

@ -658,7 +658,7 @@ in {
script = '' script = ''
set -eu set -eu
PSQL="${pkgs.utillinux}/bin/runuser -u ${pgsql.superUser} -- psql --port=${toString pgsql.port}" PSQL="${pkgs.util-linux}/bin/runuser -u ${pgsql.superUser} -- psql --port=${toString pgsql.port}"
$PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${cfg.databaseName}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${cfg.databaseName}" OWNER "${cfg.databaseUsername}"' $PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${cfg.databaseName}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${cfg.databaseName}" OWNER "${cfg.databaseUsername}"'
current_owner=$($PSQL -tAc "SELECT pg_catalog.pg_get_userbyid(datdba) FROM pg_catalog.pg_database WHERE datname = '${cfg.databaseName}'") current_owner=$($PSQL -tAc "SELECT pg_catalog.pg_get_userbyid(datdba) FROM pg_catalog.pg_database WHERE datname = '${cfg.databaseName}'")

View File

@ -713,7 +713,7 @@ in {
${ concatMapStringsSep "\n " (x: "--config-path ${x} \\") ([ configFile ] ++ cfg.extraConfigFiles) } ${ concatMapStringsSep "\n " (x: "--config-path ${x} \\") ([ configFile ] ++ cfg.extraConfigFiles) }
--keys-directory ${cfg.dataDir} --keys-directory ${cfg.dataDir}
''; '';
ExecReload = "${pkgs.utillinux}/bin/kill -HUP $MAINPID"; ExecReload = "${pkgs.util-linux}/bin/kill -HUP $MAINPID";
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };

View File

@ -539,7 +539,7 @@ in
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ]; systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
systemd.services.nix-daemon = systemd.services.nix-daemon =
{ path = [ nix pkgs.utillinux config.programs.ssh.package ] { path = [ nix pkgs.util-linux config.programs.ssh.package ]
++ optionals cfg.distributedBuilds [ pkgs.gzip ]; ++ optionals cfg.distributedBuilds [ pkgs.gzip ];
environment = cfg.envVars environment = cfg.envVars

View File

@ -142,7 +142,7 @@ in {
serviceConfig = { serviceConfig = {
Environment="PYTHONPATH=${cfg.package}/libexec/netdata/python.d/python_modules"; Environment="PYTHONPATH=${cfg.package}/libexec/netdata/python.d/python_modules";
ExecStart = "${cfg.package}/bin/netdata -P /run/netdata/netdata.pid -D -c ${configFile}"; ExecStart = "${cfg.package}/bin/netdata -P /run/netdata/netdata.pid -D -c ${configFile}";
ExecReload = "${pkgs.utillinux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID"; ExecReload = "${pkgs.util-linux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID";
TimeoutStopSec = 60; TimeoutStopSec = 60;
Restart = "on-failure"; Restart = "on-failure";
# User and group # User and group

View File

@ -36,7 +36,7 @@ let
$SMARTD_MESSAGE $SMARTD_MESSAGE
EOF EOF
} | ${pkgs.utillinux}/bin/wall 2>/dev/null } | ${pkgs.util-linux}/bin/wall 2>/dev/null
''} ''}
${optionalString nx.enable '' ${optionalString nx.enable ''
export DISPLAY=${nx.display} export DISPLAY=${nx.display}

View File

@ -244,7 +244,7 @@ in
# postStop, then we get a hang + kernel oops, because AFS can't be # postStop, then we get a hang + kernel oops, because AFS can't be
# stopped simply by sending signals to processes. # stopped simply by sending signals to processes.
preStop = '' preStop = ''
${pkgs.utillinux}/bin/umount ${cfg.mountPoint} ${pkgs.util-linux}/bin/umount ${cfg.mountPoint}
${openafsBin}/sbin/afsd -shutdown ${openafsBin}/sbin/afsd -shutdown
${pkgs.kmod}/sbin/rmmod libafs ${pkgs.kmod}/sbin/rmmod libafs
''; '';

View File

@ -112,7 +112,7 @@ in
description = '' description = ''
Must be set to a unique identifier, preferably a UUID according to Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in RFC 4122. UUIDs can be generated with `uuidgen` command, found in
the `utillinux` package. the `util-linux` package.
''; '';
}; };
port = mkOption { port = mkOption {
@ -232,7 +232,7 @@ in
description = '' description = ''
Must be set to a unique identifier, preferably a UUID according to Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in RFC 4122. UUIDs can be generated with `uuidgen` command, found in
the `utillinux` package. the `util-linux` package.
''; '';
}; };
port = mkOption { port = mkOption {
@ -370,7 +370,7 @@ in
description = '' description = ''
Must be set to a unique identifier, preferably a UUID according to Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in RFC 4122. UUIDs can be generated with `uuidgen` command, found in
the `utillinux` package. the `util-linux` package.
''; '';
}; };
port = mkOption { port = mkOption {

View File

@ -465,7 +465,7 @@ in {
restartTriggers = [ configFile overrideNameserversScript ]; restartTriggers = [ configFile overrideNameserversScript ];
# useful binaries for user-specified hooks # useful binaries for user-specified hooks
path = [ pkgs.iproute pkgs.utillinux pkgs.coreutils ]; path = [ pkgs.iproute pkgs.util-linux pkgs.coreutils ];
aliases = [ "dbus-org.freedesktop.nm-dispatcher.service" ]; aliases = [ "dbus-org.freedesktop.nm-dispatcher.service" ];
}; };

View File

@ -63,7 +63,7 @@ in {
description = "strongSwan IPsec IKEv1/IKEv2 daemon using swanctl"; description = "strongSwan IPsec IKEv1/IKEv2 daemon using swanctl";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
path = with pkgs; [ kmod iproute iptables utillinux ]; path = with pkgs; [ kmod iproute iptables util-linux ];
environment = { environment = {
STRONGSWAN_CONF = pkgs.writeTextFile { STRONGSWAN_CONF = pkgs.writeTextFile {
name = "strongswan.conf"; name = "strongswan.conf";

View File

@ -152,7 +152,7 @@ in
systemd.services.strongswan = { systemd.services.strongswan = {
description = "strongSwan IPSec Service"; description = "strongSwan IPSec Service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = with pkgs; [ kmod iproute iptables utillinux ]; # XXX Linux path = with pkgs; [ kmod iproute iptables util-linux ]; # XXX Linux
after = [ "network-online.target" ]; after = [ "network-online.target" ];
environment = { environment = {
STRONGSWAN_CONF = strongswanConf { inherit setup connections ca secretsFile managePlugins enabledPlugins; }; STRONGSWAN_CONF = strongswanConf { inherit setup connections ca secretsFile managePlugins enabledPlugins; };

View File

@ -9,7 +9,7 @@ let cfg = config.services.cloud-init;
nettools nettools
openssh openssh
shadow shadow
utillinux util-linux
] ++ optional cfg.btrfs.enable btrfs-progs ] ++ optional cfg.btrfs.enable btrfs-progs
++ optional cfg.ext4.enable e2fsprogs ++ optional cfg.ext4.enable e2fsprogs
; ;

View File

@ -397,9 +397,9 @@ in
mr ${getLib pkgs.openssl}/lib/libcrypto*.so*, mr ${getLib pkgs.openssl}/lib/libcrypto*.so*,
mr ${getLib pkgs.openssl}/lib/libssl*.so*, mr ${getLib pkgs.openssl}/lib/libssl*.so*,
mr ${getLib pkgs.systemd}/lib/libsystemd*.so*, mr ${getLib pkgs.systemd}/lib/libsystemd*.so*,
mr ${getLib pkgs.utillinuxMinimal.out}/lib/libblkid.so*, mr ${getLib pkgs.util-linuxMinimal.out}/lib/libblkid.so*,
mr ${getLib pkgs.utillinuxMinimal.out}/lib/libmount.so*, mr ${getLib pkgs.util-linuxMinimal.out}/lib/libmount.so*,
mr ${getLib pkgs.utillinuxMinimal.out}/lib/libuuid.so*, mr ${getLib pkgs.util-linuxMinimal.out}/lib/libuuid.so*,
mr ${getLib pkgs.xz}/lib/liblzma*.so*, mr ${getLib pkgs.xz}/lib/liblzma*.so*,
mr ${getLib pkgs.zlib}/lib/libz*.so*, mr ${getLib pkgs.zlib}/lib/libz*.so*,

View File

@ -5,7 +5,7 @@ with lib;
let let
autologinArg = optionalString (config.services.mingetty.autologinUser != null) "--autologin ${config.services.mingetty.autologinUser}"; autologinArg = optionalString (config.services.mingetty.autologinUser != null) "--autologin ${config.services.mingetty.autologinUser}";
gettyCmd = extraArgs: "@${pkgs.utillinux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login ${autologinArg} ${extraArgs}"; gettyCmd = extraArgs: "@${pkgs.util-linux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login ${autologinArg} ${extraArgs}";
in in

View File

@ -143,7 +143,7 @@ in
Set a UUID that uniquely identifies the server. Set a UUID that uniquely identifies the server.
This can be generated with This can be generated with
<literal>nix-shell -p utillinux --run uuidgen</literal>. <literal>nix-shell -p util-linux --run uuidgen</literal>.
''; '';
}; };
}; };

View File

@ -750,8 +750,8 @@ in
# Get rid of old semaphores. These tend to accumulate across # Get rid of old semaphores. These tend to accumulate across
# server restarts, eventually preventing it from restarting # server restarts, eventually preventing it from restarting
# successfully. # successfully.
for i in $(${pkgs.utillinux}/bin/ipcs -s | grep ' ${cfg.user} ' | cut -f2 -d ' '); do for i in $(${pkgs.util-linux}/bin/ipcs -s | grep ' ${cfg.user} ' | cut -f2 -d ' '); do
${pkgs.utillinux}/bin/ipcrm -s $i ${pkgs.util-linux}/bin/ipcrm -s $i
done done
''; '';

View File

@ -32,7 +32,7 @@ with lib;
path = path =
[ pkgs.xorg.xorgserver.out pkgs.gawk pkgs.which pkgs.openssl pkgs.xorg.xauth [ pkgs.xorg.xorgserver.out pkgs.gawk pkgs.which pkgs.openssl pkgs.xorg.xauth
pkgs.nettools pkgs.shadow pkgs.procps pkgs.utillinux pkgs.bash pkgs.nettools pkgs.shadow pkgs.procps pkgs.util-linux pkgs.bash
]; ];
environment.FD_GEOM = "1024x786x24"; environment.FD_GEOM = "1024x786x24";

View File

@ -25,7 +25,7 @@ let
stdenv.cc.libc # nscd in update-users-groups.pl stdenv.cc.libc # nscd in update-users-groups.pl
shadow shadow
nettools # needed for hostname nettools # needed for hostname
utillinux # needed for mount and mountpoint util-linux # needed for mount and mountpoint
]; ];
scriptType = with types; scriptType = with types;

View File

@ -97,10 +97,11 @@ let
allowSubstitutes = false; allowSubstitutes = false;
buildCommand = systemBuilder; buildCommand = systemBuilder;
inherit (pkgs) utillinux coreutils; inherit (pkgs) coreutils;
systemd = config.systemd.package; systemd = config.systemd.package;
shell = "${pkgs.bash}/bin/sh"; shell = "${pkgs.bash}/bin/sh";
su = "${pkgs.shadow.su}/bin/su"; su = "${pkgs.shadow.su}/bin/su";
utillinux = pkgs.util-linux;
kernelParams = config.boot.kernelParams; kernelParams = config.boot.kernelParams;
installBootLoader = installBootLoader =

View File

@ -20,8 +20,8 @@ with lib;
boot.initrd.extraUtilsCommands = '' boot.initrd.extraUtilsCommands = ''
copy_bin_and_libs ${pkgs.gawk}/bin/gawk copy_bin_and_libs ${pkgs.gawk}/bin/gawk
copy_bin_and_libs ${pkgs.gnused}/bin/sed copy_bin_and_libs ${pkgs.gnused}/bin/sed
copy_bin_and_libs ${pkgs.utillinux}/sbin/sfdisk copy_bin_and_libs ${pkgs.util-linux}/sbin/sfdisk
copy_bin_and_libs ${pkgs.utillinux}/sbin/lsblk copy_bin_and_libs ${pkgs.util-linux}/sbin/lsblk
substitute "${pkgs.cloud-utils.guest}/bin/.growpart-wrapped" "$out/bin/growpart" \ substitute "${pkgs.cloud-utils.guest}/bin/.growpart-wrapped" "$out/bin/growpart" \
--replace "${pkgs.bash}/bin/sh" "/bin/sh" \ --replace "${pkgs.bash}/bin/sh" "/bin/sh" \

View File

@ -66,7 +66,7 @@ let
extraEntriesBeforeNixOS extraPrepareConfig configurationLimit copyKernels extraEntriesBeforeNixOS extraPrepareConfig configurationLimit copyKernels
default fsIdentifier efiSupport efiInstallAsRemovable gfxmodeEfi gfxmodeBios gfxpayloadEfi gfxpayloadBios; default fsIdentifier efiSupport efiInstallAsRemovable gfxmodeEfi gfxmodeBios gfxpayloadEfi gfxpayloadBios;
path = with pkgs; makeBinPath ( path = with pkgs; makeBinPath (
[ coreutils gnused gnugrep findutils diffutils btrfs-progs utillinux mdadm ] [ coreutils gnused gnugrep findutils diffutils btrfs-progs util-linux mdadm ]
++ optional (cfg.efiSupport && (cfg.version == 2)) efibootmgr ++ optional (cfg.efiSupport && (cfg.version == 2)) efibootmgr
++ optionals cfg.useOSProber [ busybox os-prober ]); ++ optionals cfg.useOSProber [ busybox os-prober ]);
font = if cfg.font == null then "" font = if cfg.font == null then ""
@ -705,7 +705,7 @@ in
let let
install-grub-pl = pkgs.substituteAll { install-grub-pl = pkgs.substituteAll {
src = ./install-grub.pl; src = ./install-grub.pl;
inherit (pkgs) utillinux; utillinux = pkgs.util-linux;
btrfsprogs = pkgs.btrfs-progs; btrfsprogs = pkgs.btrfs-progs;
}; };
in pkgs.writeScript "install-grub.sh" ('' in pkgs.writeScript "install-grub.sh" (''

View File

@ -18,7 +18,7 @@ with lib;
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.utillinux}/sbin/hwclock --systohc ${if config.time.hardwareClockInLocalTime then "--localtime" else "--utc"}"; ExecStart = "${pkgs.util-linux}/sbin/hwclock --systohc ${if config.time.hardwareClockInLocalTime then "--localtime" else "--utc"}";
}; };
}; };

View File

@ -107,8 +107,8 @@ let
copy_bin_and_libs $BIN copy_bin_and_libs $BIN
done done
# Copy some utillinux stuff. # Copy some util-linux stuff.
copy_bin_and_libs ${pkgs.utillinux}/sbin/blkid copy_bin_and_libs ${pkgs.util-linux}/sbin/blkid
# Copy dmsetup and lvm. # Copy dmsetup and lvm.
copy_bin_and_libs ${getBin pkgs.lvm2}/bin/dmsetup copy_bin_and_libs ${getBin pkgs.lvm2}/bin/dmsetup
@ -235,7 +235,7 @@ let
--replace scsi_id ${extraUtils}/bin/scsi_id \ --replace scsi_id ${extraUtils}/bin/scsi_id \
--replace cdrom_id ${extraUtils}/bin/cdrom_id \ --replace cdrom_id ${extraUtils}/bin/cdrom_id \
--replace ${pkgs.coreutils}/bin/basename ${extraUtils}/bin/basename \ --replace ${pkgs.coreutils}/bin/basename ${extraUtils}/bin/basename \
--replace ${pkgs.utillinux}/bin/blkid ${extraUtils}/bin/blkid \ --replace ${pkgs.util-linux}/bin/blkid ${extraUtils}/bin/blkid \
--replace ${getBin pkgs.lvm2}/bin ${extraUtils}/bin \ --replace ${getBin pkgs.lvm2}/bin ${extraUtils}/bin \
--replace ${pkgs.mdadm}/sbin ${extraUtils}/sbin \ --replace ${pkgs.mdadm}/sbin ${extraUtils}/sbin \
--replace ${pkgs.bash}/bin/sh ${extraUtils}/bin/sh \ --replace ${pkgs.bash}/bin/sh ${extraUtils}/bin/sh \

View File

@ -17,7 +17,7 @@ let
inherit (config.system.build) earlyMountScript; inherit (config.system.build) earlyMountScript;
path = lib.makeBinPath ([ path = lib.makeBinPath ([
pkgs.coreutils pkgs.coreutils
pkgs.utillinux pkgs.util-linux
] ++ lib.optional useHostResolvConf pkgs.openresolv); ] ++ lib.optional useHostResolvConf pkgs.openresolv);
fsPackagesPath = lib.makeBinPath config.system.fsPackages; fsPackagesPath = lib.makeBinPath config.system.fsPackages;
postBootCommands = pkgs.writeText "local-cmds" postBootCommands = pkgs.writeText "local-cmds"

View File

@ -286,7 +286,7 @@ in
before = [ mountPoint' "systemd-fsck@${device'}.service" ]; before = [ mountPoint' "systemd-fsck@${device'}.service" ];
requires = [ device'' ]; requires = [ device'' ];
after = [ device'' ]; after = [ device'' ];
path = [ pkgs.utillinux ] ++ config.system.fsPackages; path = [ pkgs.util-linux ] ++ config.system.fsPackages;
script = script =
'' ''
if ! [ -e "${fs.device}" ]; then exit 1; fi if ! [ -e "${fs.device}" ]; then exit 1; fi

View File

@ -18,9 +18,9 @@
boot.initrd.postDeviceCommands = '' boot.initrd.postDeviceCommands = ''
# Hacky!!! fuse hard-codes the path to mount # Hacky!!! fuse hard-codes the path to mount
mkdir -p /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}-bin/bin mkdir -p /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.util-linux.name}-bin/bin
ln -s $(which mount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}-bin/bin ln -s $(which mount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.util-linux.name}-bin/bin
ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}-bin/bin ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.util-linux.name}-bin/bin
''; '';
}) })

View File

@ -440,7 +440,7 @@ in
pkgs.gnugrep pkgs.gnugrep
pkgs.gnused pkgs.gnused
pkgs.nettools pkgs.nettools
pkgs.utillinux pkgs.util-linux
]; ];
}; };

View File

@ -124,7 +124,7 @@ in
boot.initrd.extraUtilsCommands = boot.initrd.extraUtilsCommands =
'' ''
# We need swapon in the initrd. # We need swapon in the initrd.
copy_bin_and_libs ${pkgs.utillinux}/sbin/swapon copy_bin_and_libs ${pkgs.util-linux}/sbin/swapon
''; '';
# Don't put old configurations in the GRUB menu. The user has no # Don't put old configurations in the GRUB menu. The user has no

View File

@ -22,7 +22,7 @@ let
nettools # for hostname nettools # for hostname
procps # for pidof procps # for pidof
shadow # for useradd, usermod shadow # for useradd, usermod
utillinux # for (u)mount, fdisk, sfdisk, mkswap util-linux # for (u)mount, fdisk, sfdisk, mkswap
parted parted
]; ];
pythonPath = [ pythonPackages.pyasn1 ]; pythonPath = [ pythonPackages.pyasn1 ];

View File

@ -27,7 +27,7 @@ in
popd popd
''; '';
diskImageBase = "nixos-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.raw"; diskImageBase = "nixos-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.raw";
buildInputs = [ pkgs.utillinux pkgs.perl ]; buildInputs = [ pkgs.util-linux pkgs.perl ];
exportReferencesGraph = exportReferencesGraph =
[ "closure" config.system.build.toplevel ]; [ "closure" config.system.build.toplevel ];
} }

View File

@ -190,7 +190,7 @@ let
'' else '' '' else ''
''} ''}
''; '';
buildInputs = [ pkgs.utillinux ]; buildInputs = [ pkgs.util-linux ];
QEMU_OPTS = "-nographic -serial stdio -monitor none" QEMU_OPTS = "-nographic -serial stdio -monitor none"
+ lib.optionalString cfg.useEFIBoot ( + lib.optionalString cfg.useEFIBoot (
" -drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}" " -drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}"

View File

@ -201,8 +201,8 @@ in
'' ''
if [ -d /proc/xen ]; then if [ -d /proc/xen ]; then
${pkgs.kmod}/bin/modprobe xenfs 2> /dev/null ${pkgs.kmod}/bin/modprobe xenfs 2> /dev/null
${pkgs.utillinux}/bin/mountpoint -q /proc/xen || \ ${pkgs.util-linux}/bin/mountpoint -q /proc/xen || \
${pkgs.utillinux}/bin/mount -t xenfs none /proc/xen ${pkgs.util-linux}/bin/mount -t xenfs none /proc/xen
fi fi
''; '';

View File

@ -9,7 +9,7 @@ let
${parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s ${parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s
mkdir /mnt mkdir /mnt
${e2fsprogs}/bin/mkfs.ext4 /dev/vda1 ${e2fsprogs}/bin/mkfs.ext4 /dev/vda1
${utillinux}/bin/mount -t ext4 /dev/vda1 /mnt ${util-linux}/bin/mount -t ext4 /dev/vda1 /mnt
if test -e /mnt/.debug; then if test -e /mnt/.debug; then
exec ${bash}/bin/sh exec ${bash}/bin/sh

View File

@ -26,7 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
systemd.shutdown.test = pkgs.writeScript "test.shutdown" '' systemd.shutdown.test = pkgs.writeScript "test.shutdown" ''
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell}
PATH=${lib.makeBinPath (with pkgs; [ utillinux coreutils ])} PATH=${lib.makeBinPath (with pkgs; [ util-linux coreutils ])}
mount -t 9p shared -o trans=virtio,version=9p2000.L /tmp/shared mount -t 9p shared -o trans=virtio,version=9p2000.L /tmp/shared
touch /tmp/shared/shutdown-test touch /tmp/shared/shutdown-test
umount /tmp/shared umount /tmp/shared

View File

@ -24,7 +24,7 @@ let
miniInit = '' miniInit = ''
#!${pkgs.runtimeShell} -xe #!${pkgs.runtimeShell} -xe
export PATH="${lib.makeBinPath [ pkgs.coreutils pkgs.utillinux ]}" export PATH="${lib.makeBinPath [ pkgs.coreutils pkgs.util-linux ]}"
mkdir -p /run/dbus mkdir -p /run/dbus
cat > /etc/passwd <<EOF cat > /etc/passwd <<EOF
@ -72,7 +72,7 @@ let
boot.initrd.extraUtilsCommands = '' boot.initrd.extraUtilsCommands = ''
copy_bin_and_libs "${guestAdditions}/bin/mount.vboxsf" copy_bin_and_libs "${guestAdditions}/bin/mount.vboxsf"
copy_bin_and_libs "${pkgs.utillinux}/bin/unshare" copy_bin_and_libs "${pkgs.util-linux}/bin/unshare"
${(attrs.extraUtilsCommands or (const "")) pkgs} ${(attrs.extraUtilsCommands or (const "")) pkgs}
''; '';
@ -122,7 +122,7 @@ let
"$diskImage" "$out/disk.vdi" "$diskImage" "$out/disk.vdi"
''; '';
buildInputs = [ pkgs.utillinux pkgs.perl ]; buildInputs = [ pkgs.util-linux pkgs.perl ];
} '' } ''
${pkgs.parted}/sbin/parted --script /dev/vda mklabel msdos ${pkgs.parted}/sbin/parted --script /dev/vda mklabel msdos
${pkgs.parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s ${pkgs.parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, makeWrapper, rofi, mpc_cli, perl, { stdenv, fetchFromGitHub, makeWrapper, rofi, mpc_cli, perl,
utillinux, pythonPackages, libnotify }: util-linux, pythonPackages, libnotify }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "clerk-2016-10-14"; name = "clerk-2016-10-14";
@ -18,7 +18,7 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
DESTDIR=$out PREFIX=/ make install DESTDIR=$out PREFIX=/ make install
wrapProgram $out/bin/clerk \ wrapProgram $out/bin/clerk \
--prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl utillinux libnotify ]}" --prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl util-linux libnotify ]}"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -23,7 +23,7 @@
, libselinux ? null , libselinux ? null
, libsepol ? null , libsepol ? null
, p11-kit ? null , p11-kit ? null
, utillinux ? null , util-linux ? null
, qtbase , qtbase
, qtx11extras , qtx11extras
, qttools , qttools
@ -67,7 +67,7 @@ mkDerivation rec {
libselinux libselinux
libsepol libsepol
p11-kit p11-kit
utillinux util-linux
] ]
++ lib.optionals withGstreamer (with gst_all_1; [ ++ lib.optionals withGstreamer (with gst_all_1; [
gstreamer gstreamer

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, python3, cdparanoia, cdrdao, flac { stdenv, fetchFromGitHub, python3, cdparanoia, cdrdao, flac
, sox, accuraterip-checksum, libsndfile, utillinux, substituteAll }: , sox, accuraterip-checksum, libsndfile, util-linux, substituteAll }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "whipper"; pname = "whipper";
@ -37,7 +37,7 @@ python3.pkgs.buildPythonApplication rec {
]; ];
makeWrapperArgs = [ makeWrapperArgs = [
"--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ accuraterip-checksum cdrdao utillinux flac sox ]) "--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ accuraterip-checksum cdrdao util-linux flac sox ])
]; ];
preBuild = '' preBuild = ''

View File

@ -1,5 +1,5 @@
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, openssl, db53, boost { stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, openssl, db53, boost
, zlib, miniupnpc, qtbase ? null , qttools ? null, utillinux, protobuf, qrencode, libevent , zlib, miniupnpc, qtbase ? null , qttools ? null, util-linux, protobuf, qrencode, libevent
, withGui, python3, jemalloc, zeromq4 }: , withGui, python3, jemalloc, zeromq4 }:
with stdenv.lib; with stdenv.lib;
@ -20,7 +20,7 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ]; nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ openssl db53 boost zlib python3 jemalloc zeromq4 buildInputs = [ openssl db53 boost zlib python3 jemalloc zeromq4
miniupnpc utillinux protobuf libevent ] miniupnpc util-linux protobuf libevent ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];
cmakeFlags = optionals (!withGui) [ cmakeFlags = optionals (!withGui) [

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
, zlib, miniupnpc, qtbase ? null, qttools ? null, utillinux, protobuf, qrencode, libevent , zlib, miniupnpc, qtbase ? null, qttools ? null, util-linux, protobuf, qrencode, libevent
, withGui }: , withGui }:
with stdenv.lib; with stdenv.lib;
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib buildInputs = [ openssl db48 boost zlib
miniupnpc utillinux protobuf libevent ] miniupnpc util-linux protobuf libevent ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]

View File

@ -9,7 +9,7 @@
, miniupnpc , miniupnpc
, libevent , libevent
, protobuf , protobuf
, utillinux , util-linux
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db5 openssl utillinux buildInputs = [ openssl db5 openssl util-linux
protobuf boost zlib miniupnpc libevent ]; protobuf boost zlib miniupnpc libevent ];
configureFlags = [ "--with-incompatible-bdb" configureFlags = [ "--with-incompatible-bdb"

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
, zlib, miniupnpc, utillinux, protobuf, qrencode, libevent, python3 , zlib, miniupnpc, util-linux, protobuf, qrencode, libevent, python3
, withGui, wrapQtAppsHook ? null, qtbase ? null, qttools ? null , withGui, wrapQtAppsHook ? null, qtbase ? null, qttools ? null
, Foundation, ApplicationServices, AppKit }: , Foundation, ApplicationServices, AppKit }:
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook python3 ] nativeBuildInputs = [ pkgconfig autoreconfHook python3 ]
++ optionals withGui [ wrapQtAppsHook qttools ]; ++ optionals withGui [ wrapQtAppsHook qttools ];
buildInputs = [ openssl db48 boost zlib buildInputs = [ openssl db48 boost zlib
miniupnpc utillinux protobuf libevent ] miniupnpc util-linux protobuf libevent ]
++ optionals withGui [ qtbase qttools qrencode ] ++ optionals withGui [ qtbase qttools qrencode ]
++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ]; ++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ];

View File

@ -11,7 +11,7 @@
, qtbase ? null , qtbase ? null
, qttools ? null , qttools ? null
, wrapQtAppsHook ? null , wrapQtAppsHook ? null
, utillinux , util-linux
, python3 , python3
, qrencode , qrencode
, libevent , libevent
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
++ optional stdenv.isDarwin hexdump ++ optional stdenv.isDarwin hexdump
++ optional withGui wrapQtAppsHook; ++ optional withGui wrapQtAppsHook;
buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ] buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ]
++ optionals stdenv.isLinux [ utillinux ] ++ optionals stdenv.isLinux [ util-linux ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];
postInstall = optional withGui '' postInstall = optional withGui ''

View File

@ -1,7 +1,7 @@
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook { fetchFromGitHub, stdenv, pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc , openssl, db48, boost, zlib, miniupnpc
, qrencode, glib, protobuf, yasm, libevent , qrencode, glib, protobuf, yasm, libevent
, utillinux , util-linux
, enable_Upnp ? false , enable_Upnp ? false
, disable_Wallet ? false , disable_Wallet ? false
, disable_Daemon ? false }: , disable_Daemon ? false }:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ glib openssl db48 yasm boost zlib libevent buildInputs = [ glib openssl db48 yasm boost zlib libevent
miniupnpc protobuf qrencode utillinux ]; miniupnpc protobuf qrencode util-linux ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib --with-gui=no" ] configureFlags = [ "--with-boost-libdir=${boost.out}/lib --with-gui=no" ]

View File

@ -1,7 +1,7 @@
{ stdenv , fetchFromGitHub { stdenv , fetchFromGitHub
, pkgconfig, autoreconfHook , pkgconfig, autoreconfHook
, db5, openssl, boost, zlib, miniupnpc, libevent , db5, openssl, boost, zlib, miniupnpc, libevent
, protobuf, utillinux, qt4, qrencode , protobuf, util-linux, qt4, qrencode
, withGui }: , withGui }:
with stdenv.lib; with stdenv.lib;
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db5 openssl utillinux buildInputs = [ openssl db5 openssl util-linux
protobuf boost zlib miniupnpc libevent ] protobuf boost zlib miniupnpc libevent ]
++ optionals withGui [ qt4 qrencode ]; ++ optionals withGui [ qt4 qrencode ];

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, pango, { stdenv, lib, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, pango,
atk, cairo, gdk-pixbuf, xorg, xorg_sys_opengl, utillinux, alsaLib, dbus, at-spi2-atk, atk, cairo, gdk-pixbuf, xorg, xorg_sys_opengl, util-linux, alsaLib, dbus, at-spi2-atk,
cups, vivaldi-ffmpeg-codecs, libpulseaudio, at-spi2-core }: cups, vivaldi-ffmpeg-codecs, libpulseaudio, at-spi2-core }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
xorg.libXrender xorg.libXrender
xorg.libXtst xorg.libXtst
xorg_sys_opengl xorg_sys_opengl
utillinux util-linux
xorg.libXrandr xorg.libXrandr
xorg.libXScrnSaver xorg.libXScrnSaver
alsaLib alsaLib

View File

@ -1,7 +1,7 @@
{ stdenv, mkDerivation, fetchFromGitHub { stdenv, mkDerivation, fetchFromGitHub
, pkgconfig, autoreconfHook , pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc , openssl, db48, boost, zlib, miniupnpc
, glib, protobuf, utillinux, qrencode , glib, protobuf, util-linux, qrencode
, AppKit , AppKit
, withGui ? true, libevent , withGui ? true, libevent
, qtbase, qttools , qtbase, qttools
@ -24,7 +24,7 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib zeromq buildInputs = [ openssl db48 boost zlib zeromq
miniupnpc glib protobuf utillinux libevent ] miniupnpc glib protobuf util-linux libevent ]
++ optionals stdenv.isDarwin [ AppKit ] ++ optionals stdenv.isDarwin [ AppKit ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];

View File

@ -1,7 +1,7 @@
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook, wrapQtAppsHook ? null { fetchFromGitHub, stdenv, pkgconfig, autoreconfHook, wrapQtAppsHook ? null
, openssl, db48, boost, zlib, miniupnpc, gmp , openssl, db48, boost, zlib, miniupnpc, gmp
, qrencode, glib, protobuf, yasm, libevent , qrencode, glib, protobuf, yasm, libevent
, utillinux, qtbase ? null, qttools ? null , util-linux, qtbase ? null, qttools ? null
, enableUpnp ? false , enableUpnp ? false
, disableWallet ? false , disableWallet ? false
, disableDaemon ? false , disableDaemon ? false
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ];
buildInputs = [ glib gmp openssl db48 yasm boost zlib libevent miniupnpc protobuf utillinux ] buildInputs = [ glib gmp openssl db48 yasm boost zlib libevent miniupnpc protobuf util-linux ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]

View File

@ -1,5 +1,5 @@
{ stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost17x { stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost17x
, zlib, gtest, gmock, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent }: , zlib, gtest, gmock, callPackage, gmp, qt4, util-linux, protobuf, qrencode, libevent }:
let librustzcash = callPackage ./librustzcash {}; let librustzcash = callPackage ./librustzcash {};
in in
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gtest gmock gmp openssl wget db62 boost17x zlib buildInputs = [ gtest gmock gmp openssl wget db62 boost17x zlib
protobuf libevent libsodium librustzcash ] protobuf libevent libsodium librustzcash ]
++ optionals stdenv.isLinux [ utillinux ]; ++ optionals stdenv.isLinux [ util-linux ];
configureFlags = [ "--with-boost-libdir=${boost17x.out}/lib" ]; configureFlags = [ "--with-boost-libdir=${boost17x.out}/lib" ];

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, wxGTK, utillinux, zlib }: {stdenv, fetchurl, wxGTK, util-linux, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "comical-0.8"; name = "comical-0.8";
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/comical/${name}.tar.gz"; url = "mirror://sourceforge/comical/${name}.tar.gz";
sha256 = "0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e"; sha256 = "0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e";
}; };
buildInputs = [ wxGTK utillinux zlib ]; buildInputs = [ wxGTK util-linux zlib ];
preBuild="makeFlags=\"prefix=$out\""; preBuild="makeFlags=\"prefix=$out\"";
patches = [ ./wxgtk-2.8.patch ]; patches = [ ./wxgtk-2.8.patch ];

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, dbus, cmake, pkgconfig , dbus, cmake, pkgconfig
, glib, udev, polkit, libmodule , glib, udev, polkit, libmodule
, pcre, libXdmcp, utillinux, libpthreadstubs , pcre, libXdmcp, util-linux, libpthreadstubs
, enableDdc ? true, ddcutil , enableDdc ? true, ddcutil
, enableDpms ? true, libXext , enableDpms ? true, libXext
, enableGamma ? true, libXrandr , enableGamma ? true, libXrandr
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
pcre pcre
libXdmcp libXdmcp
utillinux util-linux
libpthreadstubs libpthreadstubs
] ++ optional enableDdc ddcutil ] ++ optional enableDdc ddcutil
++ optional enableDpms libXext ++ optional enableDpms libXext

View File

@ -1,6 +1,6 @@
{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, fetchpatch, lib }: { clipnotify, makeWrapper, xsel, dmenu, util-linux, gawk, stdenv, fetchFromGitHub, fetchpatch, lib }:
let let
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ]; runtimePath = lib.makeBinPath [ clipnotify xsel dmenu util-linux gawk ];
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clipmenu"; pname = "clipmenu";

View File

@ -7,7 +7,7 @@
, libdrm , libdrm
, mesa-demos , mesa-demos
, procps , procps
, utillinux , util-linux
, vulkan-tools , vulkan-tools
, qtbase , qtbase
, qtcharts , qtcharts
@ -40,7 +40,7 @@ stdenv.mkDerivation rec{
libdrm libdrm
mesa-demos mesa-demos
procps procps
utillinux util-linux
vulkan-tools vulkan-tools
qtbase qtbase
qtcharts qtcharts

View File

@ -7,7 +7,7 @@
, installShellFiles , installShellFiles
, Security , Security
, gitMinimal , gitMinimal
, utillinuxMinimal , util-linuxMinimal
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles pkg-config ]; nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ stdenv.lib.optional stdenv.isDarwin Security; ++ stdenv.lib.optional stdenv.isDarwin Security;
checkInputs = [ gitMinimal utillinuxMinimal ]; checkInputs = [ gitMinimal util-linuxMinimal ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; LIBCLANG_PATH = "${llvmPackages.libclang}/lib";

View File

@ -103,7 +103,7 @@ in buildFHSUserEnv {
# WINE # WINE
cups lcms2 mpg123 cairo unixODBC samba4 sane-backends openldap cups lcms2 mpg123 cairo unixODBC samba4 sane-backends openldap
ocl-icd utillinux libkrb5 ocl-icd util-linux libkrb5
# Proton # Proton
libselinux libselinux

View File

@ -1,6 +1,6 @@
{ fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, qemu, unzip, zip, { fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, qemu, unzip, zip,
coreutils, gnugrep, which, gnused, e2fsprogs, autoPatchelfHook, gptfdisk, coreutils, gnugrep, which, gnused, e2fsprogs, autoPatchelfHook, gptfdisk,
python36Packages, qt5, runtimeShell, stdenv, utillinux, wrapQtAppsHook }: python36Packages, qt5, runtimeShell, stdenv, util-linux, wrapQtAppsHook }:
# Note: Multibootusb is tricky to maintain. It relies on the # Note: Multibootusb is tricky to maintain. It relies on the
# $PYTHONPATH variable containing some of their code, so that # $PYTHONPATH variable containing some of their code, so that
@ -30,7 +30,7 @@ python36Packages.buildPythonApplication rec {
gnugrep gnugrep
which which
parted parted
utillinux util-linux
qemu qemu
p7zip p7zip
gnused gnused

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, makeDesktopItem, dpkg, atk, at-spi2-atk, glib, pango, gdk-pixbuf { stdenv, lib, fetchurl, makeDesktopItem, dpkg, atk, at-spi2-atk, glib, pango, gdk-pixbuf
, gtk3, cairo, freetype, fontconfig, dbus, xorg, nss, nspr, alsaLib, cups, expat , gtk3, cairo, freetype, fontconfig, dbus, xorg, nss, nspr, alsaLib, cups, expat
, udev, libpulseaudio, utillinux, makeWrapper }: , udev, libpulseaudio, util-linux, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "todoist-electron"; pname = "todoist-electron";
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
installPhase = let installPhase = let
libPath = lib.makeLibraryPath ([ libPath = lib.makeLibraryPath ([
stdenv.cc.cc gtk3 atk at-spi2-atk glib pango gdk-pixbuf cairo freetype fontconfig dbus stdenv.cc.cc gtk3 atk at-spi2-atk glib pango gdk-pixbuf cairo freetype fontconfig dbus
nss nspr alsaLib libpulseaudio cups expat udev utillinux nss nspr alsaLib libpulseaudio cups expat udev util-linux
] ++ (with xorg; [ ] ++ (with xorg; [
libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb
libXrender libX11 libXtst libXScrnSaver libXrender libX11 libXtst libXScrnSaver

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, intltool, glib, pkgconfig, udev, utillinux, acl }: { stdenv, fetchurl, intltool, glib, pkgconfig, udev, util-linux, acl }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "udevil-0.4.4"; name = "udevil-0.4.4";
src = fetchurl { src = fetchurl {
@ -13,9 +13,9 @@ stdenv.mkDerivation {
substituteInPlace src/Makefile.in --replace 4755 0755 substituteInPlace src/Makefile.in --replace 4755 0755
./configure \ ./configure \
--prefix=$out \ --prefix=$out \
--with-mount-prog=${utillinux}/bin/mount \ --with-mount-prog=${util-linux}/bin/mount \
--with-umount-prog=${utillinux}/bin/umount \ --with-umount-prog=${util-linux}/bin/umount \
--with-losetup-prog=${utillinux}/bin/losetup \ --with-losetup-prog=${util-linux}/bin/losetup \
--with-setfacl-prog=${acl.bin}/bin/setfacl \ --with-setfacl-prog=${acl.bin}/bin/setfacl \
--sysconfdir=$prefix/etc --sysconfdir=$prefix/etc
''; '';

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper { stdenv, fetchurl, makeWrapper
, pkgconfig , pkgconfig
, ncurses, libX11 , ncurses, libX11
, utillinux, file, which, groff , util-linux, file, which, groff
# adds support for handling removable media (vifm-media). Linux only! # adds support for handling removable media (vifm-media). Linux only!
, mediaSupport ? false, python3 ? null, udisks2 ? null, lib ? null , mediaSupport ? false, python3 ? null, udisks2 ? null, lib ? null
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig makeWrapper ]; nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ ncurses libX11 utillinux file which groff ]; buildInputs = [ ncurses libX11 util-linux file which groff ];
postFixup = let postFixup = let
path = lib.makeBinPath path = lib.makeBinPath

View File

@ -9,7 +9,7 @@
, python2Packages, perl, pkgconfig , python2Packages, perl, pkgconfig
, nspr, systemd, kerberos , nspr, systemd, kerberos
, utillinux, alsaLib , util-linux, alsaLib
, bison, gperf , bison, gperf
, glib, gtk3, dbus-glib , glib, gtk3, dbus-glib
, glibc , glibc
@ -134,7 +134,7 @@ let
buildInputs = defaultDependencies ++ [ buildInputs = defaultDependencies ++ [
nspr nss systemd nspr nss systemd
utillinux alsaLib util-linux alsaLib
bison gperf kerberos bison gperf kerberos
glib gtk3 dbus-glib glib gtk3 dbus-glib
libXScrnSaver libXcursor libXtst libGLU libGL libXScrnSaver libXcursor libXtst libGLU libGL

View File

@ -22,7 +22,7 @@
# Additional dependencies according to other distros. # Additional dependencies according to other distros.
## Ubuntu ## Ubuntu
, liberation_ttf, curl, utillinux, xdg_utils, wget , liberation_ttf, curl, util-linux, xdg_utils, wget
## Arch Linux. ## Arch Linux.
, flac, harfbuzz, icu, libpng, libopus, snappy, speechd , flac, harfbuzz, icu, libpng, libopus, snappy, speechd
## Gentoo ## Gentoo
@ -59,7 +59,7 @@ let
dbus gdk-pixbuf gcc-unwrapped.lib dbus gdk-pixbuf gcc-unwrapped.lib
systemd systemd
libexif libexif
liberation_ttf curl utillinux xdg_utils wget liberation_ttf curl util-linux xdg_utils wget
flac harfbuzz icu libpng opusWithCustomModes snappy speechd flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap at-spi2-atk at-spi2-core bzip2 libcap at-spi2-atk at-spi2-core
kerberos libdrm mesa coreutils kerberos libdrm mesa coreutils

View File

@ -9,7 +9,7 @@
, python2Packages, perl, pkgconfig , python2Packages, perl, pkgconfig
, nspr, systemd, kerberos , nspr, systemd, kerberos
, utillinux, alsaLib , util-linux, alsaLib
, bison, gperf , bison, gperf
, glib, gtk3, dbus-glib , glib, gtk3, dbus-glib
, glibc , glibc
@ -141,7 +141,7 @@ let
buildInputs = defaultDependencies ++ [ buildInputs = defaultDependencies ++ [
nspr nss systemd nspr nss systemd
utillinux alsaLib util-linux alsaLib
bison gperf kerberos bison gperf kerberos
glib gtk3 dbus-glib glib gtk3 dbus-glib
libXScrnSaver libXcursor libXtst libGLU libGL libXScrnSaver libXcursor libXtst libGLU libGL

View File

@ -13,7 +13,7 @@
, libseccomp , libseccomp
, pkgconfig , pkgconfig
, ethtool , ethtool
, utillinux , util-linux
, ipset , ipset
, fetchFromGitHub , fetchFromGitHub
, fetchurl , fetchurl
@ -234,7 +234,7 @@ stdenv.mkDerivation rec {
iproute iproute
bridge-utils bridge-utils
ethtool ethtool
utillinux util-linux
ipset ipset
conntrack-tools conntrack-tools
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildGoPackage, which, go-bindata, rsync, utillinux { stdenv, lib, fetchFromGitHub, buildGoPackage, which, go-bindata, rsync, util-linux
, coreutils, kerberos, ncurses, clang, installShellFiles , coreutils, kerberos, ncurses, clang, installShellFiles
, components ? [ , components ? [
"cmd/oc" "cmd/oc"

View File

@ -6,7 +6,7 @@
let let
nodeEnv = import ../../../../development/node-packages/node-env.nix { nodeEnv = import ../../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; inherit (pkgs) stdenv python2 util-linux runCommand writeTextFile;
inherit nodejs; inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
}; };

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub, pkgs { stdenv, lib, fetchFromGitHub, pkgs
, autoconf, automake, curl, iprange, iproute, ipset, iptables, iputils , autoconf, automake, curl, iprange, iproute, ipset, iptables, iputils
, kmod, nettools, procps, tcpdump, traceroute, utillinux, whois , kmod, nettools, procps, tcpdump, traceroute, util-linux, whois
# If true, just install FireQOS without FireHOL # If true, just install FireQOS without FireHOL
, onlyQOS ? false , onlyQOS ? false
@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake ]; nativeBuildInputs = [ autoconf automake ];
buildInputs = [ buildInputs = [
curl iprange iproute ipset iptables iputils kmod curl iprange iproute ipset iptables iputils kmod
nettools procps tcpdump traceroute utillinux whois nettools procps tcpdump traceroute util-linux whois
]; ];
preConfigure = "./autogen.sh"; preConfigure = "./autogen.sh";

View File

@ -6,7 +6,7 @@
let let
nodeEnv = import ./node-env.nix { nodeEnv = import ./node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; inherit (pkgs) stdenv python2 util-linux runCommand writeTextFile;
inherit nodejs; inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
}; };

View File

@ -1,6 +1,6 @@
# This file originates from node2nix # This file originates from node2nix
{stdenv, nodejs, python2, utillinux, libtool, runCommand, writeTextFile}: {stdenv, nodejs, python2, util-linux, libtool, runCommand, writeTextFile}:
let let
python = if nodejs ? python then nodejs.python else python2; python = if nodejs ? python then nodejs.python else python2;
@ -396,7 +396,7 @@ let
stdenv.mkDerivation ({ stdenv.mkDerivation ({
name = "node_${name}-${version}"; name = "node_${name}-${version}";
buildInputs = [ tarWrapper python nodejs ] buildInputs = [ tarWrapper python nodejs ]
++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ stdenv.lib.optional (stdenv.isLinux) util-linux
++ stdenv.lib.optional (stdenv.isDarwin) libtool ++ stdenv.lib.optional (stdenv.isDarwin) libtool
++ buildInputs; ++ buildInputs;
@ -468,7 +468,7 @@ let
name = "node-dependencies-${name}-${version}"; name = "node-dependencies-${name}-${version}";
buildInputs = [ tarWrapper python nodejs ] buildInputs = [ tarWrapper python nodejs ]
++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ stdenv.lib.optional (stdenv.isLinux) util-linux
++ stdenv.lib.optional (stdenv.isDarwin) libtool ++ stdenv.lib.optional (stdenv.isDarwin) libtool
++ buildInputs; ++ buildInputs;
@ -514,7 +514,7 @@ let
stdenv.mkDerivation { stdenv.mkDerivation {
name = "node-shell-${name}-${version}"; name = "node-shell-${name}-${version}";
buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ buildInputs; buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) util-linux ++ buildInputs;
buildCommand = '' buildCommand = ''
mkdir -p $out/bin mkdir -p $out/bin
cat > $out/bin/shell <<EOF cat > $out/bin/shell <<EOF

View File

@ -4,7 +4,7 @@
, dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3 , dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
, tl-expected, hunspell , tl-expected, hunspell
# TODO: Shouldn't be required: # TODO: Shouldn't be required:
, pcre, xorg, utillinux, libselinux, libsepol, epoxy, at-spi2-core, libXtst , pcre, xorg, util-linux, libselinux, libsepol, epoxy, at-spi2-core, libXtst
, xdg_utils , xdg_utils
}: }:
@ -49,7 +49,7 @@ in mkDerivation rec {
tl-expected hunspell tl-expected hunspell
tg_owt tg_owt
# TODO: Shouldn't be required: # TODO: Shouldn't be required:
pcre xorg.libpthreadstubs xorg.libXdmcp utillinux libselinux libsepol epoxy at-spi2-core libXtst pcre xorg.libpthreadstubs xorg.libXdmcp util-linux libselinux libsepol epoxy at-spi2-core libXtst
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -6,7 +6,7 @@
, qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel , qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel
, qtwebengine , qtwebengine
# Runtime # Runtime
, coreutils, faac, pciutils, procps, utillinux , coreutils, faac, pciutils, procps, util-linux
, pulseaudioSupport ? true, libpulseaudio ? null , pulseaudioSupport ? true, libpulseaudio ? null
, alsaSupport ? stdenv.isLinux, alsaLib ? null , alsaSupport ? stdenv.isLinux, alsaLib ? null
}: }:
@ -105,7 +105,7 @@ in mkDerivation {
dontWrapQtApps = true; dontWrapQtApps = true;
qtWrapperArgs = [ qtWrapperArgs = [
''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}'' ''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev util-linux ]}''
# --run "cd ${placeholder "out"}/share/zoom-us" # --run "cd ${placeholder "out"}/share/zoom-us"
# ^^ unfortunately, breaks run arg into multiple array elements, due to # ^^ unfortunately, breaks run arg into multiple array elements, due to
# some bad array propagation. We'll do that in bash below # some bad array propagation. We'll do that in bash below

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, perlPackages, makeWrapper, perl, which, nx-libs { stdenv, lib, fetchurl, perlPackages, makeWrapper, perl, which, nx-libs
, utillinux, coreutils, glibc, gawk, gnused, gnugrep, findutils, xorg , util-linux, coreutils, glibc, gawk, gnused, gnugrep, findutils, xorg
, nettools, iproute, bc, procps, psmisc, lsof, pwgen, openssh, sshfs, bash , nettools, iproute, bc, procps, psmisc, lsof, pwgen, openssh, sshfs, bash
}: }:
@ -30,7 +30,7 @@ let
]); ]);
binaryDeps = [ binaryDeps = [
perlEnv which nx-libs utillinux coreutils glibc.bin gawk gnused gnugrep perlEnv which nx-libs util-linux coreutils glibc.bin gawk gnused gnugrep
findutils nettools iproute bc procps psmisc lsof pwgen openssh sshfs findutils nettools iproute bc procps psmisc lsof pwgen openssh sshfs
xorg.xauth xorg.xinit xorg.xrandr xorg.xmodmap xorg.xwininfo xorg.fontutil xorg.xauth xorg.xinit xorg.xrandr xorg.xmodmap xorg.xwininfo xorg.fontutil
xorg.xkbcomp xorg.setxkbmap xorg.xkbcomp xorg.setxkbmap

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, makeWrapper, lib { stdenv, fetchFromGitHub, makeWrapper, lib
, dnsutils, coreutils, openssl, nettools, utillinux, procps }: , dnsutils, coreutils, openssl, nettools, util-linux, procps }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "testssl.sh"; pname = "testssl.sh";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
nettools # for hostname nettools # for hostname
openssl # for openssl openssl # for openssl
procps # for ps procps # for ps
utillinux # for hexdump util-linux # for hexdump
]; ];
postPatch = '' postPatch = ''

View File

@ -3,7 +3,7 @@
, libxml2, db, curl, fontconfig, libsndfile, neon , libxml2, db, curl, fontconfig, libsndfile, neon
, bison, flex, zip, unzip, gtk3, libmspack, getopt, file, cairo, which , bison, flex, zip, unzip, gtk3, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge , icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, poppler, utillinux , openssl, gperf, cppunit, poppler, util-linux
, librsvg, libGLU, libGL, bsh, CoinMP, libwps, libabw, libmysqlclient , librsvg, libGLU, libGL, bsh, CoinMP, libwps, libabw, libmysqlclient
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr , autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus-glib, clucene_core, libcdr, lcms , libwpg, dbus-glib, clucene_core, libcdr, lcms
@ -405,7 +405,7 @@ in (mkDrv rec {
neon nspr nss openldap openssl pam perl pkgconfig poppler neon nspr nss openldap openssl pam perl pkgconfig poppler
python3 sane-backends unzip which zip zlib python3 sane-backends unzip which zip zlib
mdds bluez5 libcmis libwps libabw libzmf mdds bluez5 libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux libxshmfence libatomic_ops graphite2 harfbuzz gpgme util-linux
librevenge libe-book libmwaw glm ncurses epoxy librevenge libe-book libmwaw glm ncurses epoxy
libodfgen CoinMP librdf_rasqal gnome3.adwaita-icon-theme gettext libodfgen CoinMP librdf_rasqal gnome3.adwaita-icon-theme gettext
] ]

View File

@ -8,7 +8,7 @@
, coreutils, libredirect , coreutils, libredirect
# Extra utilities used by the SoftMaker applications. # Extra utilities used by the SoftMaker applications.
, gnugrep, utillinux, which , gnugrep, util-linux, which
, pname, version, edition, suiteName, src, archive , pname, version, edition, suiteName, src, archive
@ -72,7 +72,7 @@ in stdenv.mkDerivation {
extraWrapperArgs = '' extraWrapperArgs = ''
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \ --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
--set NIX_REDIRECTS "/bin/ls=${coreutils}/bin/ls" \ --set NIX_REDIRECTS "/bin/ls=${coreutils}/bin/ls" \
--prefix PATH : "${stdenv.lib.makeBinPath [ coreutils gnugrep utillinux which ]}" --prefix PATH : "${stdenv.lib.makeBinPath [ coreutils gnugrep util-linux which ]}"
''; '';
in '' in ''
runHook preInstall runHook preInstall

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, utillinux, makeWrapper { stdenv, lib, fetchurl, util-linux, makeWrapper
, enableReadline ? true, readline, ncurses }: , enableReadline ? true, readline, ncurses }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
--replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' --replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}'
''; '';
buildInputs = [ utillinux makeWrapper ] buildInputs = [ util-linux makeWrapper ]
++ lib.optionals enableReadline [ readline ncurses ]; ++ lib.optionals enableReadline [ readline ncurses ];
makeFlags = [ makeFlags = [

View File

@ -1,7 +1,7 @@
{ at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, epoxy, fetchpatch, fetchFromGitHub { at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, epoxy, fetchpatch, fetchFromGitHub
, glib, gtk3, harfbuzz, libXdmcp, libXtst, libpthreadstubs , glib, gtk3, harfbuzz, libXdmcp, libXtst, libpthreadstubs
, libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre2 , libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre2
, pkgconfig, stdenv, utillinuxMinimal, vte, wrapGAppsHook, xmlto , pkgconfig, stdenv, util-linuxMinimal, vte, wrapGAppsHook, xmlto
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ gtk3 dbus dbus-glib vte pcre2 harfbuzz libpthreadstubs libXdmcp [ gtk3 dbus dbus-glib vte pcre2 harfbuzz libpthreadstubs libXdmcp
utillinuxMinimal glib docbook_xsl xmlto libselinux util-linuxMinimal glib docbook_xsl xmlto libselinux
libsepol libxkbcommon epoxy at-spi2-core libXtst libtasn1 p11-kit libsepol libxkbcommon epoxy at-spi2-core libXtst libtasn1 p11-kit
]; ];

View File

@ -6,7 +6,7 @@
let let
nodeEnv = import ./node-env.nix { nodeEnv = import ./node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; inherit (pkgs) stdenv python2 util-linux runCommand writeTextFile;
inherit nodejs; inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
}; };

View File

@ -1,6 +1,6 @@
# This file originates from node2nix # This file originates from node2nix
{stdenv, nodejs, python2, utillinux, libtool, runCommand, writeTextFile}: {stdenv, nodejs, python2, util-linux, libtool, runCommand, writeTextFile}:
let let
python = if nodejs ? python then nodejs.python else python2; python = if nodejs ? python then nodejs.python else python2;
@ -396,7 +396,7 @@ let
stdenv.mkDerivation ({ stdenv.mkDerivation ({
name = "node_${name}-${version}"; name = "node_${name}-${version}";
buildInputs = [ tarWrapper python nodejs ] buildInputs = [ tarWrapper python nodejs ]
++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ stdenv.lib.optional (stdenv.isLinux) util-linux
++ stdenv.lib.optional (stdenv.isDarwin) libtool ++ stdenv.lib.optional (stdenv.isDarwin) libtool
++ buildInputs; ++ buildInputs;
@ -470,7 +470,7 @@ let
name = "node-dependencies-${name}-${version}"; name = "node-dependencies-${name}-${version}";
buildInputs = [ tarWrapper python nodejs ] buildInputs = [ tarWrapper python nodejs ]
++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ stdenv.lib.optional (stdenv.isLinux) util-linux
++ stdenv.lib.optional (stdenv.isDarwin) libtool ++ stdenv.lib.optional (stdenv.isDarwin) libtool
++ buildInputs; ++ buildInputs;
@ -516,7 +516,7 @@ let
stdenv.mkDerivation { stdenv.mkDerivation {
name = "node-shell-${name}-${version}"; name = "node-shell-${name}-${version}";
buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ buildInputs; buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) util-linux ++ buildInputs;
buildCommand = '' buildCommand = ''
mkdir -p $out/bin mkdir -p $out/bin
cat > $out/bin/shell <<EOF cat > $out/bin/shell <<EOF

View File

@ -133,7 +133,7 @@ let
git-radar = callPackage ./git-radar { }; git-radar = callPackage ./git-radar { };
git-recent = callPackage ./git-recent { git-recent = callPackage ./git-recent {
utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux; util-linux = if stdenv.isLinux then util-linuxMinimal else util-linux;
}; };
git-remote-codecommit = python3Packages.callPackage ./git-remote-codecommit { }; git-remote-codecommit = python3Packages.callPackage ./git-remote-codecommit { };

View File

@ -1,6 +1,6 @@
{stdenv, git, less, fetchFromGitHub, makeWrapper {stdenv, git, less, fetchFromGitHub, makeWrapper
# utillinuxMinimal is included because we need the column command # util-linuxMinimal is included because we need the column command
, utillinux , util-linux
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
cp git-recent $out/bin cp git-recent $out/bin
wrapProgram $out/bin/git-recent \ wrapProgram $out/bin/git-recent \
--prefix PATH : "${stdenv.lib.makeBinPath [ git less utillinux ]}" --prefix PATH : "${stdenv.lib.makeBinPath [ git less util-linux ]}"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, groff, installShellFiles, utillinux }: { stdenv, buildGoPackage, fetchFromGitHub, groff, installShellFiles, util-linux }:
buildGoPackage rec { buildGoPackage rec {
pname = "hub"; pname = "hub";
@ -16,7 +16,7 @@ buildGoPackage rec {
sha256 = "1qjab3dpia1jdlszz3xxix76lqrm4zbmqzd9ymld7h06awzsg2vh"; sha256 = "1qjab3dpia1jdlszz3xxix76lqrm4zbmqzd9ymld7h06awzsg2vh";
}; };
nativeBuildInputs = [ groff installShellFiles utillinux ]; nativeBuildInputs = [ groff installShellFiles util-linux ];
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .

Some files were not shown because too many files have changed in this diff Show More