aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2023-02-26 03:12:30 +0200
committerMihai Fufezan <[email protected]>2023-02-26 03:12:30 +0200
commiteb3c114fa8d8cc03a716a7a09b867389da7f11d3 (patch)
tree7e00c0e2dde41d6abf482d5d10c5aa0296222f64
parent89cd99c02f9c76024db13fd81219d10940c2269b (diff)
downloadHyprland-eb3c114fa8d8cc03a716a7a09b867389da7f11d3.tar.gz
Hyprland-eb3c114fa8d8cc03a716a7a09b867389da7f11d3.zip
Nix: fix meson patch
-rw-r--r--nix/meson-build.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nix/meson-build.patch b/nix/meson-build.patch
index 3dda9b22..075cb6be 100644
--- a/nix/meson-build.patch
+++ b/nix/meson-build.patch
@@ -1,5 +1,5 @@
diff --git a/meson.build b/meson.build
-index efc2dd5..0c6e8c1 100644
+index f380255..abd7cd3 100644
--- a/meson.build
+++ b/meson.build
@@ -39,23 +39,8 @@ add_project_arguments(
@@ -23,11 +23,11 @@ index efc2dd5..0c6e8c1 100644
-add_project_arguments('-DNO_XWAYLAND', language: 'cpp')
-endif
-
+ backtrace_dep = cpp_compiler.find_library('execinfo', required: false)
systemd_dep = dependency('libsystemd', required: get_option('systemd'))
- if get_option('systemd').enabled()
diff --git a/src/meson.build b/src/meson.build
-index 5852abf..7b3a49e 100644
+index 7b658d3..da8baa5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -7,7 +7,7 @@ executable('Hyprland', src,
@@ -39,9 +39,9 @@ index 5852abf..7b3a49e 100644
dependency('cairo'),
dependency('libdrm'),
dependency('egl'),
-@@ -15,7 +15,7 @@ executable('Hyprland', src,
- dependency('libinput'),
+@@ -16,7 +16,7 @@ executable('Hyprland', src,
xcb_dep,
+ backtrace_dep,
systemd_dep,
- udis86,
+ dependency('udis86'),