mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-06 06:46:54 -04:00
refactor(guix): use more easier meson patch phase
This commit is contained in:
parent
47fda57aaf
commit
ea3adc501a
1 changed files with 6 additions and 3 deletions
|
|
@ -36,10 +36,13 @@
|
||||||
(add-before 'configure 'patch-meson
|
(add-before 'configure 'patch-meson
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "meson.build"
|
(substitute* "meson.build"
|
||||||
|
;; MangoWM ignores sysconfdir handling for NixOS.
|
||||||
|
;; We also need to skip that sysconfdir edits.
|
||||||
|
(("is_nixos = false")
|
||||||
|
"is_nixos = true")
|
||||||
|
;; Unhardcode path. Fixes loading default config.
|
||||||
(("'-DSYSCONFDIR=\\\"@0@\\\"'.format\\('/etc'\\)")
|
(("'-DSYSCONFDIR=\\\"@0@\\\"'.format\\('/etc'\\)")
|
||||||
"'-DSYSCONFDIR=\"@0@\"'.format(sysconfdir)")
|
"'-DSYSCONFDIR=\"@0@\"'.format(sysconfdir)")))))))
|
||||||
(("sysconfdir = sysconfdir.substring\\(prefix.length\\(\\)\\)")
|
|
||||||
"")))))))
|
|
||||||
(inputs (list wayland
|
(inputs (list wayland
|
||||||
libinput
|
libinput
|
||||||
libdrm
|
libdrm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue