mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 13:17:35 +00:00
unixtools: get rid of modprobe
modprobe only exists in Linux kernel. Just use kmod if it's needed.
This commit is contained in:
parent
29bc523733
commit
6398791733
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user