mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-06 06:46:54 -04:00
guix: override default config path
This commit is contained in:
parent
b0400adfee
commit
09e461f51d
1 changed files with 14 additions and 0 deletions
14
mangowc.scm
14
mangowc.scm
|
|
@ -27,6 +27,20 @@
|
||||||
#:select? (or (git-predicate (current-source-directory))
|
#:select? (or (git-predicate (current-source-directory))
|
||||||
(const #t))))
|
(const #t))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:configure-flags
|
||||||
|
#~(list (string-append "-Dsysconfdir=" #$output "/etc"))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'patch-meson
|
||||||
|
(lambda _
|
||||||
|
(substitute* "meson.build"
|
||||||
|
(("'-DSYSCONFDIR=\\\"@0@\\\"'.format\\('/etc'\\)")
|
||||||
|
"'-DSYSCONFDIR=\"@0@\"'.format(sysconfdir)")
|
||||||
|
|
||||||
|
(("sysconfdir = sysconfdir.substring\\(prefix.length\\(\\)\\)")
|
||||||
|
"")))))))
|
||||||
(inputs (list wayland
|
(inputs (list wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
libinput
|
libinput
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue