diff options
author | EuAndreh <eu@euandre.org> | 2021-02-16 19:18:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-16 19:18:43 -0300 |
commit | 071ba199d0c7e9794f017bcc1ede6bdb77ea54cf (patch) | |
tree | 5756d28b105676fb27596997c0f69fa9c020fc40 /src/xyz/euandreh/packages/euandreh.scm | |
parent | Makefile: Publish public key on the web (diff) | |
download | package-repository-071ba199d0c7e9794f017bcc1ede6bdb77ea54cf.tar.gz package-repository-071ba199d0c7e9794f017bcc1ede6bdb77ea54cf.tar.xz |
Use check-inputs when build derivations
Diffstat (limited to 'src/xyz/euandreh/packages/euandreh.scm')
-rw-r--r-- | src/xyz/euandreh/packages/euandreh.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xyz/euandreh/packages/euandreh.scm b/src/xyz/euandreh/packages/euandreh.scm index c573e19..542527e 100644 --- a/src/xyz/euandreh/packages/euandreh.scm +++ b/src/xyz/euandreh/packages/euandreh.scm @@ -2,6 +2,7 @@ #:use-module (json) #:use-module ((ice-9 textual-ports) #:prefix textual-ports:) #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) #:use-module (guix transformations) #:use-module (guix gexp) #:use-module (guix packages) @@ -11,7 +12,7 @@ #:use-module (guix store) #:use-module (guix build-system gnu)) -(define (euandreh-package name version-prefix version hash) +(define (euandreh-package name version-prefix version check-inputs hash) (package (name name) (version version) @@ -27,6 +28,10 @@ version ".tar.gz")) (hash hash))) + (inputs + (map (lambda (name) + (list name (specification->package name))) + (vector->list check-inputs))) (build-system gnu-build-system) ;; This shouldn't be necessary, but ;; the `gnu-build-system' doesn't provide a c99 variable @@ -45,5 +50,6 @@ (assoc-ref package "name") (assoc-ref package "version-prefix") (assoc-ref package "version") + (assoc-ref package "check-inputs") (content-hash (assoc-ref package "tarbal-sha256")))) (vector->list (assoc-ref packages "packages")))) |