about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/rpi-imager/lsblkCheckFix.patch
blob: 98fd2a659dc8f187d92b22f1cfadee7cc49e740f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d7fc79..8ce72b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,11 +229,6 @@ else()
         if (NOT LSBLK)
             message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
         endif()
-
-        execute_process(COMMAND "${LSBLK}" "--json" RESULT_VARIABLE ret)
-        if (ret EQUAL "1")
-            message(FATAL_ERROR "util-linux package too old. lsblk does not support --json (used for disk enumeration)")
-        endif()
     endif()
 
     configure_file(