From 05c78cacdd65d81344ab7ab4d0392d5fa67d0777 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 1 Apr 2022 15:30:16 +0530 Subject: 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. --- gn/packages/riscv.scm | 11 +---------- gn/packages/static.scm | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 gn/packages/static.scm (limited to 'gn') 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"))) -- cgit v1.2.3