From 62bf07f95704c84b9882ba092995fdff3e0f5fe7 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 2 Mar 2020 16:08:59 +0100 Subject: [PATCH] gnu: intel-microcode: Use copy-build-system. * nongnu/packages/linux.scm (intel-microcode): Use copy-build-system. --- nongnu/packages/linux.scm | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 5424660..e788f26 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -26,6 +26,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system linux-module) #:use-module (guix build-system trivial) @@ -668,22 +669,8 @@ chipsets from Broadcom: (sha256 (base32 "0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (fw-dir (string-append out "/lib/firmware")) - (bin-dir (string-append fw-dir "/intel-ucode"))) - (mkdir-p bin-dir) - (copy-recursively "intel-ucode" bin-dir) - #t))) - (delete 'validate-runpath)))) + (build-system copy-build-system) + (arguments '(#:install-plan '(("intel-ucode" "lib/firmware/")))) (home-page "https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files") (synopsis "Processor microcode firmware for Intel CPUs")