aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-05-20 20:00:53 +0200
committerLudovic Courtès <ludo@gnu.org>2017-05-20 20:00:53 +0200
commit82ce81ba06ea1babfdb0d1c447e972461c1d3018 (patch)
tree35406edae0a347f273a485f4c1c9dd0af023acda /gnu
parent74460d112153a880b32c283a743ed5babd3364bd (diff)
downloadguix-82ce81ba06ea1babfdb0d1c447e972461c1d3018.tar
guix-82ce81ba06ea1babfdb0d1c447e972461c1d3018.tar.gz
gnu: guix: Add 'guile2.0-guix'.
* gnu/packages/package-management.scm (guile2.0-guix): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/package-management.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index ceaf51b676..3438d370e0 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."