gcli: fix Darwin build (#410743)

This commit is contained in:
Aleksana
2025-05-26 11:05:01 +08:00
committed by GitHub
+10
View File
@@ -6,6 +6,7 @@
pkg-config,
byacc,
flex,
fetchpatch,
}:
stdenv.mkDerivation rec {
@@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
hash = "sha256-N5dzGhyXPDWcm/cNUSUQt4rR+PzaD1OUssRO3Sdfmoo=";
};
patches = [
# Darwin builds are fixed in master, but the change is unreleased.
(fetchpatch {
name = "darwin-build-fix.patch";
url = "https://github.com/herrhotzenplotz/gcli/commit/720e372250fd363bdd90e9452907508563e30f93.patch";
hash = "sha256-TpjIisje20YObN2wf8iQlwHlY5kg0S7xTkUWxAmK+po=";
})
];
nativeBuildInputs = [
pkg-config
byacc