gcfflasher: fix darwin build

This commit is contained in:
Weijia Wang
2025-03-29 11:46:21 +01:00
parent ef603b3bca
commit 41efd5439a
+8
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
libgpiod,
cmake,
@@ -18,6 +19,13 @@ stdenv.mkDerivation rec {
hash = "sha256-W1sL3RyauEYAC/Fj0JhNnk0k5DT6Q8qIEuZNke3xNAE=";
};
patches = [
(fetchpatch {
url = "https://github.com/dresden-elektronik/gcfflasher/commit/c1019d7ef2ab55a598ddd938db1b08169b05fc37.patch";
hash = "sha256-Frd3Xerkv3QolGCOrTE4AqBPqPHTKjjhk+DzhHABTqo=";
})
];
nativeBuildInputs = [
pkg-config
cmake