Configure guix.scm to read the local dir

This commit is contained in:
TakeV 2023-12-13 00:40:48 -05:00
parent 58388e63b3
commit 5e39b17af1
Signed by: TakeV
GPG key ID: A64F41345C7400AF

View file

@ -1,16 +1,20 @@
(use-modules (use-modules
(guix packages) (guix packages)
((guix licenses) #:prefix license:) ((guix licenses) #:prefix license:)
(guix gexp) (guix gexp)
(guix git-download) (guix git-download)
(guix utils) (guix utils)
(guix build-system copy) (guix build-system copy)
(gnu packages) (gnu packages)
(gnu packages autotools) (gnu packages autotools)
(gnu packages guile) (gnu packages guile)
(gnu packages guile-xyz) (gnu packages guile-xyz)
(gnu packages pkg-config) (gnu packages pkg-config)
(gnu packages texinfo)) (gnu packages texinfo))
(define vcs-file?
(or (git-predicate (current-source-directory))
(const #t)))
(define vcs-file? (define vcs-file?
(or (git-predicate (current-source-directory)) (or (git-predicate (current-source-directory))