Read local source for package
This commit is contained in:
parent
0d5f6e6386
commit
e5d6d9cfb2
1 changed files with 11 additions and 2 deletions
13
guix.scm
13
guix.scm
|
@ -3,17 +3,26 @@
|
||||||
((guix licenses) #:prefix license:)
|
((guix licenses) #:prefix license:)
|
||||||
(guix download)
|
(guix download)
|
||||||
(guix build-system gnu)
|
(guix build-system gnu)
|
||||||
|
(guix gexp)
|
||||||
(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)
|
||||||
|
(srfi srfi-1))
|
||||||
|
|
||||||
|
(define (keep-file? file stat)
|
||||||
|
(not (any (lambda (my-string)
|
||||||
|
(string-contains file my-string))
|
||||||
|
(list ".git" ".dir-locals.el" "guix.scm"))))
|
||||||
|
|
||||||
(package
|
(package
|
||||||
(name "gib-gab-gob")
|
(name "gib-gab-gob")
|
||||||
(version "0.1")
|
(version "0.1")
|
||||||
(source "./gib-gab-gob-0.1.tar.gz")
|
(source (local-file (dirname (current-filename))
|
||||||
|
#:recursive? #t
|
||||||
|
#:select? keep-file?))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules
|
`(#:modules
|
||||||
|
|
Loading…
Reference in a new issue