Configure guix.scm to read the local dir
This commit is contained in:
parent
c6c5bd26f5
commit
19600c1477
1 changed files with 12 additions and 4 deletions
16
guix.scm
16
guix.scm
|
@ -1,8 +1,10 @@
|
|||
(use-modules
|
||||
(guix packages)
|
||||
((guix licenses) #:prefix license:)
|
||||
(guix download)
|
||||
(guix build-system gnu)
|
||||
(guix gexp)
|
||||
(guix git-download)
|
||||
(guix utils)
|
||||
(guix build-system copy)
|
||||
(gnu packages)
|
||||
(gnu packages autotools)
|
||||
(gnu packages guile)
|
||||
|
@ -10,11 +12,17 @@
|
|||
(gnu packages pkg-config)
|
||||
(gnu packages texinfo))
|
||||
|
||||
(define vcs-file?
|
||||
(or (git-predicate (current-source-directory))
|
||||
(const #t)))
|
||||
|
||||
(package
|
||||
(name "guile-guile-docs")
|
||||
(version "0.1")
|
||||
(source "./guile-guile-docs-0.1.tar.gz")
|
||||
(build-system gnu-build-system)
|
||||
(source (local-file "." "guile-checkout"
|
||||
#:recursive? #t
|
||||
#:select? vcs-file?))
|
||||
(build-system copy-build-system)
|
||||
(arguments `())
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
|
|
Loading…
Reference in a new issue