diff options
Diffstat (limited to 'gnu/packages/lvm.scm')
-rw-r--r-- | gnu/packages/lvm.scm | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/lvm.scm b/gnu/packages/lvm.scm index 5fa73a6721..82e93dcc66 100644 --- a/gnu/packages/lvm.scm +++ b/gnu/packages/lvm.scm @@ -46,14 +46,12 @@ #:configure-flags `(,(string-append "--with-confdir=" (assoc-ref %outputs "out") "/etc")) #:phases - (alist-replace - 'configure - (lambda* (#:key #:allow-other-keys #:rest args) - (let ((configure (assoc-ref %standard-phases 'configure))) - (substitute* "make.tmpl.in" - (("/bin/sh") (which "sh")) - (("CC \\?=") "CC =")) ; force CC argument to be set from configure - (apply configure args))) + (alist-cons-before + 'configure 'patch-make-tmpl + (lambda _ + (substitute* "make.tmpl.in" + (("/bin/sh") (which "sh")) + (("CC \\?=") "CC ="))) ; force CC argument to be set from configure %standard-phases))) (synopsis "logical volume management") (description |