aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorArun Isaac2022-04-01 15:30:16 +0530
committerArun Isaac2022-04-01 15:30:16 +0530
commit05c78cacdd65d81344ab7ab4d0392d5fa67d0777 (patch)
treece8ac4b66c321e41386d5c9b6f20e6b421cf3a55 /gn/packages
parent7f1facbadde5e31fcbde36a70c4cb29d281f216f (diff)
downloadguix-bioinformatics-05c78cacdd65d81344ab7ab4d0392d5fa67d0777.tar.gz
gn: hello-static: Move to gn/packages/static.scm.
* gn/packages/riscv.scm: Do not import (gnu packages base), (guix packages) and (guix build-system gnu). (hello-static): Move to gn/packages/static.scm. * gn/packages/static.scm: New file.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/riscv.scm11
-rw-r--r--gn/packages/static.scm21
2 files changed, 22 insertions, 10 deletions
diff --git a/gn/packages/riscv.scm b/gn/packages/riscv.scm
index 9e63665..dd860db 100644
--- a/gn/packages/riscv.scm
+++ b/gn/packages/riscv.scm
@@ -10,18 +10,9 @@
;;;
(define-module (gn packages riscv)
- #:use-module (gnu packages base)
#:use-module (gnu packages cpp)
#:use-module (guix git-download)
- #:use-module (guix packages)
- #:use-module (guix build-system gnu))
-
-
-;; Static hello, for testing
-(define hello-static
- (package
- (inherit (static-package hello))
- (name "hello-static")))
+ #:use-module (guix packages))
;; Improvements to riscv support have been merged since the last release.
(define-public atomic-queue-git
diff --git a/gn/packages/static.scm b/gn/packages/static.scm
new file mode 100644
index 0000000..7ce1a9c
--- /dev/null
+++ b/gn/packages/static.scm
@@ -0,0 +1,21 @@
+;;;
+;;; Commentary:
+;;;
+;;; This module contains statically linked executables meant for use
+;;; with spike and gem5.
+;;;
+
+;;;
+;;; Code:
+;;;
+
+(define-module (gn packages static)
+ #:use-module (gnu packages base)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix packages))
+
+;; Static hello, for testing
+(define-public hello-static
+ (package
+ (inherit (static-package hello))
+ (name "hello-static")))