direwolf: fix build with cmake 4 (#451439)

This commit is contained in:
Yaya
2025-10-14 12:01:24 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
cmake, cmake,
alsa-lib, alsa-lib,
gpsd, gpsd,
@@ -28,6 +29,14 @@ stdenv.mkDerivation rec {
hash = "sha256-Vbxc6a6CK+wrBfs15dtjfRa1LJDKKyHMrg8tqsF7EX4="; hash = "sha256-Vbxc6a6CK+wrBfs15dtjfRa1LJDKKyHMrg8tqsF7EX4=";
}; };
patches = [
# Fix the build with CMake 4.
(fetchpatch {
url = "https://github.com/wb2osz/direwolf/commit/c499496bbc237d0efdcacec5786607f5e17c1c7e.patch";
hash = "sha256-/gKi5dswMQM2nGHS3P72gAcHaT0nEF9O91heF8xmy2Y=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
udevCheckHook udevCheckHook