about summary refs log tree commit diff
path: root/gn/packages/static.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/static.scm')
-rw-r--r--gn/packages/static.scm21
1 files changed, 21 insertions, 0 deletions
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")))