gnu: alsa-utils: Use 'modify-phases'.
* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
43043f23f5
commit
4916514503
|
@ -885,14 +885,15 @@ MIDI functionality to the Linux-based operating system.")
|
||||||
(string-append "--with-udev-rules-dir="
|
(string-append "--with-udev-rules-dir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/udev/rules.d"))
|
"/lib/udev/rules.d"))
|
||||||
#:phases (alist-cons-before
|
#:phases
|
||||||
'install 'pre-install
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-before
|
||||||
;; Don't try to mkdir /var/lib/alsa.
|
'install 'pre-install
|
||||||
(substitute* "Makefile"
|
(lambda _
|
||||||
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
|
;; Don't try to mkdir /var/lib/alsa.
|
||||||
"true\n")))
|
(substitute* "Makefile"
|
||||||
%standard-phases)))
|
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
|
||||||
|
"true\n")))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libsamplerate" ,libsamplerate)
|
`(("libsamplerate" ,libsamplerate)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
|
|
Loading…
Reference in New Issue