diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-12 14:32:11 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-12 14:32:11 -0500 |
commit | 6398791733fff12ce538abf59c0d6adc26e94fe7 (patch) | |
tree | 808c5c948b0371dade888d333fc311e8fe09a2cd /pkgs | |
parent | 29bc5237333663b8cd2e8ed97b37dae84f26f150 (diff) | |
download | nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar.gz nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar.bz2 nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar.lz nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar.xz nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.tar.zst nixpkgs-6398791733fff12ce538abf59c0d6adc26e94fe7.zip |
unixtools: get rid of modprobe
modprobe only exists in Linux kernel. Just use kmod if it's needed.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/autofs/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/unix-tools.nix | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/autofs/default.nix b/pkgs/os-specific/linux/autofs/default.nix index a7472de1d02..859593e4b9a 100644 --- a/pkgs/os-specific/linux/autofs/default.nix +++ b/pkgs/os-specific/linux/autofs/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, modprobe, nfs-utils, e2fsprogs +{ stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs , libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl }: let @@ -20,7 +20,7 @@ in stdenv.mkDerivation { export MOUNT=${mount}/bin/mount export MOUNT_NFS=${nfs-utils}/bin/mount.nfs export UMOUNT=${umount}/bin/umount - export MODPROBE=${modprobe}/bin/modprobe + export MODPROBE=${kmod}/bin/modprobe export E2FSCK=${e2fsprogs}/bin/fsck.ext2 export E3FSCK=${e2fsprogs}/bin/fsck.ext3 export E4FSCK=${e2fsprogs}/bin/fsck.ext4 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 527e6e9cd14..4fc752a8ee1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21229,6 +21229,6 @@ with pkgs; # Unix tools unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { }); - inherit (unixtools) hexdump ps logger eject modprobe umount + inherit (unixtools) hexdump ps logger eject umount mount wall hostname more sysctl; } diff --git a/pkgs/top-level/unix-tools.nix b/pkgs/top-level/unix-tools.nix index 89f5e464d5a..2d62d4e6c64 100644 --- a/pkgs/top-level/unix-tools.nix +++ b/pkgs/top-level/unix-tools.nix @@ -63,9 +63,6 @@ in rec { logger = singleBinary "logger" { linux = pkgs.utillinux; }; - modprobe = singleBinary "modprobe" { - linux = pkgs.kmod; - }; more = singleBinary "more" { linux = pkgs.utillinux; darwin = more_compat; |