diff options
author | Arun Isaac | 2022-03-29 00:29:59 +0530 |
---|---|---|
committer | Arun Isaac | 2022-03-29 00:29:59 +0530 |
commit | 44693bc559e329669d9a047e9264aa47f31afccf (patch) | |
tree | 446a629fe754cf724f7f8e819c6fc0b2a8c8301f | |
parent | e25e6991e7598cf3f7eb0bed5bdd9db37cd55401 (diff) | |
download | guix-bioinformatics-44693bc559e329669d9a047e9264aa47f31afccf.tar.gz |
gnu: hello: Use static-package.
* gn/packages/riscv.scm: Import (guix build-system gnu).
(hello): Use static-package.
-rw-r--r-- | gn/packages/riscv.scm | 11 |
1 files changed, 3 insertions, 8 deletions
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 |