gnu: guix: Add 'guile2.0-guix'.

* gnu/packages/package-management.scm (guile2.0-guix): New variable.
This commit is contained in:
Ludovic Courtès 2017-05-20 20:00:53 +02:00
parent 74460d1121
commit 82ce81ba06
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 13 additions and 0 deletions

View File

@ -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."