Open DavHau opened 1 year ago
After executing floco translat -ptj, the pdef.json file contained the following entry for the top-level package:
floco translat -ptj
[...] "fetchInfo": "path:.", [...]
On a nix build this leads to the following error:
nix build
error: string '<unknown-file>/.' doesn't represent an absolute path
This error isn't very helpful as it doesn't describe the problem or how to fix it.
I'd expect something along these lines:
Cannot find the source for package XXX, please define via override: [example for a source override]
Thanks for the report I'll do some digging.
In retrospect I shouldn't have added so many layers of abstraction in those fetchers, they get hard to debug.
After executing
floco translat -ptj
, the pdef.json file contained the following entry for the top-level package:On a
nix build
this leads to the following error:This error isn't very helpful as it doesn't describe the problem or how to fix it.
I'd expect something along these lines: