[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: guix: Add 'guile2.0-guix'.
From: |
Ludovic Courtès |
Subject: |
02/02: gnu: guix: Add 'guile2.0-guix'. |
Date: |
Sat, 20 May 2017 14:01:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 82ce81ba06ea1babfdb0d1c447e972461c1d3018
Author: Ludovic Courtès <address@hidden>
Date: Sat May 20 20:00:53 2017 +0200
gnu: guix: Add 'guile2.0-guix'.
* gnu/packages/package-management.scm (guile2.0-guix): New variable.
---
gnu/packages/package-management.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index ceaf51b..3438d37 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -52,6 +52,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages ssh)
#:use-module (gnu packages vim)
+ #:use-module (srfi srfi-1)
#:use-module (ice-9 match))
(define (boot-guile-uri arch)
@@ -265,6 +266,18 @@ the Nix package manager.")
;; Alias for backward compatibility.
(define-public guix-devel guix)
+(define-public guile2.0-guix
+ (package
+ (inherit guix)
+ (name "guile2.0-guix")
+ (inputs
+ `(("guile" ,guile-2.0)
+ ,@(alist-delete "guile" (package-inputs guix))))
+ (propagated-inputs
+ `(("gnutls" ,gnutls)
+ ("guile-json" ,guile2.0-json)
+ ("guile-ssh" ,guile2.0-ssh)))))
+
(define (source-file? file stat)
"Return true if FILE is likely a source file, false if it is a typical
generated file."