Created
October 25, 2024 11:01
-
-
Save avnik/dba19e702bf1ede8cd6d037be2e1b694 to your computer and use it in GitHub Desktop.
Attempt to fix gtkgreet cross
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/applications/display-managers/greetd/gtkgreet.nix b/pkgs/applications/display-managers/greetd/gtkgreet.nix | |
index 10389c262742..e07940af948d 100644 | |
--- a/pkgs/applications/display-managers/greetd/gtkgreet.nix | |
+++ b/pkgs/applications/display-managers/greetd/gtkgreet.nix | |
@@ -29,6 +29,7 @@ stdenv.mkDerivation rec { | |
meson | |
ninja | |
cmake | |
+ scdoc | |
wrapGAppsHook3 | |
]; | |
@@ -36,7 +37,6 @@ stdenv.mkDerivation rec { | |
gtk3 | |
gtk-layer-shell | |
json_c | |
- scdoc | |
librsvg | |
]; | |
@@ -44,6 +44,11 @@ stdenv.mkDerivation rec { | |
"-Dlayershell=enabled" | |
]; | |
+ postPatch = '' | |
+ substituteInPlace meson.build \ | |
+ --replace-fail "dependency('scdoc'," "dependency('scdoc', native:true, " | |
+ ''; | |
+ | |
# G_APPLICATION_FLAGS_NONE is deprecated in GLib 2.73.3+. | |
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment