diff options
author | Arian van Putten <arian.vanputten@gmail.com> | 2021-05-01 13:38:07 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2021-07-29 10:57:40 +0200 |
commit | d5fde7feb6a9f9eec920d2926d6acc5587225fb5 (patch) | |
tree | 2b3be82215aa18d2677202be5e6db8548dcacb20 /pkgs/os-specific/linux/lvm2 | |
parent | af1211ebc2d0ace416412c1aca5ba9ef030ba866 (diff) |
lvm2: Remove dependency on thin-provisioning-tools
thin-provisioning-tools has a _huge_ closure size (hundreds of megabytes) and the only reference in the output of the lvm2 package is a _comment_ in the etc/lvm.conf The lvm2 package thus does not seem to depend on thin-provisoning-tools in any way. Reverts 9326a89910434f96b3af4dd7758614e0143735e2 thin provisoning is broken with or without this change: https://github.com/NixOS/nixpkgs/issues/15516 A proper fix is here: https://github.com/NixOS/nixpkgs/pull/46541 References: $ nix why-depends nixpkgs#lvm2 nixpkgs#thin-provisioning-tools /nix/store/n7zwwxi0ihjks7qk9bq5lbkniligfcqc-lvm2-2.03.11 └───etc/lvm.conf: …_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-prov> → /nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0 $ ag thin-provisioning-tools --search-binary etc/lvm.conf 1093: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1095: # thin_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_check" 1100: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1102: # thin_dump_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_dump" 1108: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1110: # thin_repair_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_repair" 1155: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1157: # cache_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_check" 1162: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1164: # cache_dump_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_dump" 1170: # (See package device-mapper-persistent-data or thin-provisioning-tools) 1172: # cache_repair_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_repair"
Diffstat (limited to 'pkgs/os-specific/linux/lvm2')
-rw-r--r-- | pkgs/os-specific/linux/lvm2/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/lvm2/default.nix b/pkgs/os-specific/linux/lvm2/default.nix index d822ceed714c7..2e52e49639e2f 100644 --- a/pkgs/os-specific/linux/lvm2/default.nix +++ b/pkgs/os-specific/linux/lvm2/default.nix @@ -4,7 +4,7 @@ , pkg-config , util-linux , libuuid -, thin-provisioning-tools, libaio +, libaio , enableCmdlib ? false , enableDmeventd ? false , udev ? null @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ udev libuuid thin-provisioning-tools libaio ]; + buildInputs = [ udev libuuid libaio ]; configureFlags = [ "--disable-readline" |