roccat-tools: fix build
CMake 4 has new version requirements, and udev was complaining about bash substitutions it was trying to parse.
This commit is contained in:
@@ -37,7 +37,11 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace udev/90-roccat-kone.rules \
|
||||
--replace "/bin/sh" "${runtimeShell}" \
|
||||
--replace "/sbin/modprobe" "${kmod}/bin/modprobe" \
|
||||
--replace "/bin/echo" "${coreutils}/bin/echo"
|
||||
--replace "/bin/echo" "${coreutils}/bin/echo" \
|
||||
--replace '$' '$$' # fix bash variables interpreted as udev substitutions
|
||||
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user