Configure guix.scm to read the local dir

This commit is contained in:
TakeV 2023-12-12 23:37:02 -05:00
parent c6c5bd26f5
commit 19600c1477
Signed by: TakeV
GPG key ID: A64F41345C7400AF

View file

@ -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)