summary refs log blame commit diff
path: root/pkgs/applications/window-managers/sway/swayosd_systemd_paths.patch
blob: 189c761e9d36374e54a0eac22320251e7846b980 (plain) (tree)























                                                                                        
diff --git a/data/meson.build b/data/meson.build
index fc687a5..68decdf 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,5 +1,6 @@
 datadir = get_option('datadir')
 sysconfdir = get_option('sysconfdir')
+libdir = get_option('libdir')
 
 # LICENSE
 install_data(
@@ -41,11 +42,7 @@ configure_file(
 
 # Systemd service unit
 systemd = dependency('systemd', required: false)
-if systemd.found()
-  systemd_service_install_dir = systemd.get_variable(pkgconfig :'systemdsystemunitdir')
-else
-  systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
-endif
+systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
 
 configure_file(
   configuration: conf_data,