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="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib/udev/rules.d"))
|
||||
#:phases (alist-cons-before
|
||||
'install 'pre-install
|
||||
(lambda _
|
||||
;; Don't try to mkdir /var/lib/alsa.
|
||||
(substitute* "Makefile"
|
||||
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
|
||||
"true\n")))
|
||||
%standard-phases)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'install 'pre-install
|
||||
(lambda _
|
||||
;; Don't try to mkdir /var/lib/alsa.
|
||||
(substitute* "Makefile"
|
||||
(("\\$\\(MKDIR_P\\) .*ASOUND_STATE_DIR.*")
|
||||
"true\n")))))))
|
||||
(inputs
|
||||
`(("libsamplerate" ,libsamplerate)
|
||||
("ncurses" ,ncurses)
|
||||
|
|
Loading…
Reference in New Issue