Commit 40be739b authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

environment: Pass 'git-predicate' the right directory.

* environment.scm: Use (current-source-location) instead of "." as the
basis of the current directory name.
parent ae8d56d0
......@@ -38,7 +38,10 @@
(name "guix-kernel")
(version "0.0.1")
(source (local-file "." "guix-kernel"
#:select? (git-predicate (getcwd))
#:select? (git-predicate
(dirname (assoc-ref
(current-source-location)
'filename)))
#:recursive? #t))
(build-system gnu-build-system)
(arguments
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment