diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-06-26 13:09:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 13:09:58 +0200 |
commit | 909f74453ef69cf26af6be9fa59e0908a98bd79b (patch) | |
tree | 1477758e6731c424d268dcfb5bab38d7ba056721 /pkgs/tools/misc | |
parent | af5959b894d4ee4b4e1fb21f84df8569d49f34b6 (diff) | |
parent | d187d9b54a31710f4b457376f3188567049e7e86 (diff) |
Merge pull request #317032 from anpin/fix/lvm-thin
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/thin-provisioning-tools/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/thin-provisioning-tools/default.nix b/pkgs/tools/misc/thin-provisioning-tools/default.nix index aa1fc40be50ce..35df5bbf4e0fa 100644 --- a/pkgs/tools/misc/thin-provisioning-tools/default.nix +++ b/pkgs/tools/misc/thin-provisioning-tools/default.nix @@ -25,6 +25,30 @@ rustPlatform.buildRustPackage rec { inherit (nixosTests.lvm2) lvm-thinpool-linux-latest; }; + # required for config compatibility with configs done pre 0.9.0 + # see https://github.com/NixOS/nixpkgs/issues/317018 + postInstall = '' + ln -s $out/bin/pdata_tools $out/bin/cache_check + ln -s $out/bin/pdata_tools $out/bin/cache_dump + ln -s $out/bin/pdata_tools $out/bin/cache_metadata_size + ln -s $out/bin/pdata_tools $out/bin/cache_repair + ln -s $out/bin/pdata_tools $out/bin/cache_restore + ln -s $out/bin/pdata_tools $out/bin/cache_writeback + ln -s $out/bin/pdata_tools $out/bin/era_check + ln -s $out/bin/pdata_tools $out/bin/era_dump + ln -s $out/bin/pdata_tools $out/bin/era_invalidate + ln -s $out/bin/pdata_tools $out/bin/era_restore + ln -s $out/bin/pdata_tools $out/bin/thin_check + ln -s $out/bin/pdata_tools $out/bin/thin_delta + ln -s $out/bin/pdata_tools $out/bin/thin_dump + ln -s $out/bin/pdata_tools $out/bin/thin_ls + ln -s $out/bin/pdata_tools $out/bin/thin_metadata_size + ln -s $out/bin/pdata_tools $out/bin/thin_repair + ln -s $out/bin/pdata_tools $out/bin/thin_restore + ln -s $out/bin/pdata_tools $out/bin/thin_rmap + ln -s $out/bin/pdata_tools $out/bin/thin_trim + ''; + meta = with lib; { homepage = "https://github.com/jthornber/thin-provisioning-tools/"; description = "Suite of tools for manipulating the metadata of the dm-thin device-mapper target"; |