bug#42543: lint failure for packages on load path specified with -L

2020-08-24 Thread Jack Hill
On Sun, 23 Aug 2020, Ludovic Courtès wrote: I’ve fixed the root issue with d10474c38d58bdc676e64336769dc2e00cdfa8ed (avoiding ‘canonicalize-path’). Awesome, thank you!

bug#42543: lint failure for packages on load path specified with -L

2020-08-23 Thread Ludovic Courtès
Hello! Jack Hill skribis: >> Jack Hill skribis: >> >>> jackhill@alperton ~$ guix lint -L lint-test my-hello >>> Backtrace:y-hello@2.10 [formatting]... >>>8 (primitive-load "/home/jackhill/.config/guix/current/bi…") >>> In guix/ui.scm: >>> 1974:12 7 (run-guix-command _ . _) >>>

bug#42543: lint failure for packages on load path specified with -L

2020-08-05 Thread zimoun
Hi Ludo, I confirm the bug and please consider the fix sent in this thread: http://issues.guix.gnu.org/42543#2 Well, it tweaks using 'canonicalize-path' which is maybe not the right thing. Let me know. Cheers, simon On Wednesday, 5 August 2020, Ludovic Courtès wrote: > Hi, > > Jack Hill

bug#42543: lint failure for packages on load path specified with -L

2020-08-05 Thread Jack Hill
Hi Ludo’! Hope you've enjoyed your (short) time away from the keyboard :) On Wed, 5 Aug 2020, Ludovic Courtès wrote: Hi, Jack Hill skribis: jackhill@alperton ~$ guix lint -L lint-test my-hello Backtrace:y-hello@2.10 [formatting]... 8 (primitive-load

bug#42543: lint failure for packages on load path specified with -L

2020-08-05 Thread Ludovic Courtès
Hi, Jack Hill skribis: > jackhill@alperton ~$ guix lint -L lint-test my-hello > Backtrace:y-hello@2.10 [formatting]... >8 (primitive-load "/home/jackhill/.config/guix/current/bi…") > In guix/ui.scm: > 1974:12 7 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 1736:10 6

bug#42543: lint failure for packages on load path specified with -L

2020-07-27 Thread Jack Hill
On Mon, 27 Jul 2020, zimoun wrote: Dear, The issue was in the “formatting” and “source” checkers, something inconsistent with other parts (see “search-path %load-path”). Therefore, “--load-path=path/to/modules” is now ’canonicalize-path’, directly in “(guix scripts

bug#42543: lint failure for packages on load path specified with -L

2020-07-27 Thread zimoun
Dear, The issue was in the “formatting” and “source” checkers, something inconsistent with other parts (see “search-path %load-path”). Therefore, “--load-path=path/to/modules” is now ’canonicalize-path’, directly in “(guix scripts build)%standard-build-options” from where the other load-path

bug#42543: lint failure for packages on load path specified with -L

2020-07-26 Thread Jack Hill
I believe that this problem is in the formatting checker. As I understand it, that checker reads the actual sorece file. With that information, I tried re-running link the the full path passed to -L, and it works as expected: guix lint -L /home/jackhill/lint-test my-hello passing just the

bug#42543: lint failure for packages on load path specified with -L

2020-07-25 Thread Jack Hill
Hi Guix, I'm running guix from commit 30aa5dd7e7180d163d409b080bf89e8a15a5ba4d. I've created a package in local directory lint-test. `guix lint` errors when processing this package, but other guix commands like build and show work as expected. A session with these commands: ```