~ruther/guix-local

491651450306b49fb767b505e299b383bcd05754 — Efraim Flashner 9 years ago 43043f2
gnu: alsa-utils: Use 'modify-phases'.

* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases'
syntax.
1 files changed, 9 insertions(+), 8 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +9 -8
@@ 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)