this may be related (also see the discussion):
(current-filename) is #f when guix pull'ing
https://issues.guix.gnu.org/55464
i haven't yet double-checked Ludo's recommendation to use INCLUDE, which should
work, but it didn't for me. my current solution is this:
(define (%read-module-relative-fi
Hi Reza,
I believe local-file should import (guix utils) and use
current-source-directory. Something like:
(define %cwd (current-source-directory))
(let ([...]
(version-file (string-append %cwd "/VERSION"))
[...]
(source (local-file (string-append %cwd "/../..") "my-package-check
Hi List
Following the excellent blog post from Ludo [1] to guixify my python
project, I wanted to include a version string from file to have a single
source for the guix files and also for the python pyproject.toml file.
Something along this:
(define-public my-package
(let* ((vcs-file? (or