Hello, wldhx <wl...@wldhx.me> skribis:
> Discovered following behaviour while setting up GNUnet CI: > > Given > > ./gnu/packages/a.scm: > ... > (source (local-file (dirname (current-filename)))) > ... It’s enough to write: (local-file ".." #:recursive? #t) since ‘local-file’ already takes care of resolving the file name relative to the current source file. Does that work for you? > export GUIX_PACKAGE_PATH=$PWD > > `(current-filename)` returns `#f` when evaluated via `guix environment`, > while `guix build` does fine. Is this expected? Am I doing something wrong? No, there shouldn’t be any difference. Thanks, and apologies for the delay! Ludo’.