From 44693bc559e329669d9a047e9264aa47f31afccf Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 29 Mar 2022 00:29:59 +0530 Subject: gnu: hello: Use static-package. * gn/packages/riscv.scm: Import (guix build-system gnu). (hello): Use static-package. --- gn/packages/riscv.scm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gn/packages/riscv.scm') diff --git a/gn/packages/riscv.scm b/gn/packages/riscv.scm index 0229b33..2c4863a 100644 --- a/gn/packages/riscv.scm +++ b/gn/packages/riscv.scm @@ -13,6 +13,7 @@ #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix git-download) + #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) @@ -25,14 +26,8 @@ ;; Static hello, for testing -(define-public hello-static - (package - (inherit hello) - (name "hello-static") - (arguments - (substitute-keyword-arguments (package-arguments hello) - ((#:make-flags _ ''()) - `(list "CFLAGS=-static")))))) +(define hello-static + (static-package hello)) ;; Improvements to riscv support have been merged since the last release. (define-public atomic-queue-git -- cgit v1.2.3