From 9bb89eff12e108747ce12f9de629a60e02eb4cba Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 20 Aug 2021 23:22:38 +0200 Subject: [PATCH] nongnu: linux-firmware: Use make-flags to set install dir. * nongnu/packages/linux.scm (linux-firmware)[arguments]: Use #:make-flags to specify DESTDIR. Remove custom 'install phase. Signed-off-by: Jonathan Brielmaier --- nongnu/packages/linux.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 2d1b798..df3be82 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -104,13 +104,9 @@ System on hardware which requires nonfree software to function."))) (build-system gnu-build-system) (arguments `(#:tests? #f + #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (invoke "make" "install" - (string-append "DESTDIR=" out))))) (delete 'validate-runpath)))) (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git")