From 6eca4da1ea0bba587d6c1742f39e6782a79f179c Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Jul 2024 15:22:03 +0200 Subject: [PATCH] thin-provisioning-tools: fix build on tmpfs Fixes: acca103f2b91 ("thin-provisioning-tools: 0.9.0 -> 1.0.12") --- pkgs/tools/misc/thin-provisioning-tools/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/thin-provisioning-tools/default.nix b/pkgs/tools/misc/thin-provisioning-tools/default.nix index 35df5bbf4e0f..4352c20f833d 100644 --- a/pkgs/tools/misc/thin-provisioning-tools/default.nix +++ b/pkgs/tools/misc/thin-provisioning-tools/default.nix @@ -25,6 +25,10 @@ rustPlatform.buildRustPackage rec { inherit (nixosTests.lvm2) lvm-thinpool-linux-latest; }; + # Uses O_DIRECT, which is not supported on all filesystems. + # https://github.com/jthornber/thin-provisioning-tools/issues/38 + doCheck = false; + # required for config compatibility with configs done pre 0.9.0 # see https://github.com/NixOS/nixpkgs/issues/317018 postInstall = ''