aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-03-29 00:29:59 +0530
committerArun Isaac2022-03-29 00:29:59 +0530
commit44693bc559e329669d9a047e9264aa47f31afccf (patch)
tree446a629fe754cf724f7f8e819c6fc0b2a8c8301f
parente25e6991e7598cf3f7eb0bed5bdd9db37cd55401 (diff)
downloadguix-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.scm11
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