bug#36430: mcron would benefit from a better way to test jobs

2019-07-08 Thread Robert Vollmert
> On 7. Jul 2019, at 16:24, Ludovic Courtès wrote: > > Hi Robert, > > Robert Vollmert skribis: > >> Defined a mcron job in config.scm scheduled to run once a day, >> with a scheme expression. How do I test this? >> >> herd schedule mcron lists the job as merely a “Lambda expression”. >> I

bug#36511: extraneous recompiles of scm files while editing gnu/packages/

2019-07-08 Thread Robert Vollmert
> On 5. Jul 2019, at 22:40, Ludovic Courtès wrote: > > Hi, > > Robert Vollmert skribis: > >> rob@garp ~/guix$ nano gnu/packages/haskell.scm >> rob@garp ~/guix$ ./pre-inst-env guix build ghc-ansi-wl-pprint > > I’d suggest running “make” once you’ve edited a file. > > It’s not strictly nec

bug#36466: guix pull --delete-generations

2019-07-08 Thread Ludovic Courtès
"Raghav Gururajan" skribis: >> Note that there’s also ‘guix gc --delete-generations’, which is really >> what newcomers should be using IMO because it operates on all the user’s >> profiles. > > Thanks! Does `guix gc --delete-generations` delete guix pull generations as > well? Yes. Ludo’.

bug#36430: mcron would benefit from a better way to test jobs

2019-07-08 Thread Ludovic Courtès
Hi, Robert Vollmert skribis: >> On 7. Jul 2019, at 16:24, Ludovic Courtès wrote: >> >> Hi Robert, >> >> Robert Vollmert skribis: >> >>> Defined a mcron job in config.scm scheduled to run once a day, >>> with a scheme expression. How do I test this? >>> >>> herd schedule mcron lists the job

bug#36511: extraneous recompiles of scm files while editing gnu/packages/

2019-07-08 Thread Ludovic Courtès
Robert Vollmert skribis: >> On 5. Jul 2019, at 22:40, Ludovic Courtès wrote: >> >> Hi, >> >> Robert Vollmert skribis: >> >>> rob@garp ~/guix$ nano gnu/packages/haskell.scm >>> rob@garp ~/guix$ ./pre-inst-env guix build ghc-ansi-wl-pprint >> >> I’d suggest running “make” once you’ve edited

bug#36511: extraneous recompiles of scm files while editing gnu/packages/

2019-07-08 Thread Robert Vollmert
> On 8. Jul 2019, at 12:03, Ludovic Courtès wrote: > > Robert Vollmert skribis: > >>> On 5. Jul 2019, at 22:40, Ludovic Courtès wrote: >>> >>> Hi, >>> >>> Robert Vollmert skribis: >>> rob@garp ~/guix$ nano gnu/packages/haskell.scm rob@garp ~/guix$ ./pre-inst-env guix build gh

bug#36430: mcron would benefit from a better way to test jobs

2019-07-08 Thread Robert Vollmert
One related issue that I just ran into, while trying out the gexp approach: mcron jobs take an optional third naming argument, which are again better not used because they replace the store filename in the “schedule” output.

bug#36546: herd restart mcron appears to wipe /var/log/mcron.log

2019-07-08 Thread Robert Vollmert
It appears that old mcron log output is lost when the service is restarted. That’s not good. See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36510 for another issue related to mcron logging.

bug#36547: expect an earlier/clearer error when trying to splice(?) a function into a gexp

2019-07-08 Thread Robert Vollmert
I tried to use a function in a gexp along the lines of (define* (f x) …) #~(begin (#$f x) …) This resulted in the following error: ERROR: In procedure primitive-load: In procedure scm_lreadr: /gnu/store/wcw0fii855axkiqfz05283rwl7nlrb3i-puzzledb-blogs-job-builder:1:254: Unknown # obj

bug#36551: [META] Run Guix System on Purism Librem 5

2019-07-08 Thread Jonathan Brielmaier
This is a meta/tracker bug to track what needs to be done and what is already done, to run Guix system on the Purism Librem 5 phone. https://puri.sm/products/librem-5/ The Librem 5 will be shipped with a mobile optimized GNOME based on PureOS which is based on Debian, but contains only free softwa

bug#36466: guix pull --delete-generations

2019-07-08 Thread Raghav Gururajan
> Yes. Thanks!

bug#36466: guix pull --delete-generations

2019-07-08 Thread Raghav Gururajan
> Yes. Unfortunately, it did not work. ***START*** rg@secondary ~$ guix gc --delete-generations Backtrace: 7 (primitive-load "/home/rg/.config/guix/current/bin/guix") In guix/ui.scm: 1655:12 6 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 5 (catch _ _ # …) 829:9 4

bug#36511: extraneous recompiles of scm files while editing gnu/packages/

2019-07-08 Thread Ludovic Courtès
Robert Vollmert skribis: >> On 8. Jul 2019, at 12:03, Ludovic Courtès wrote: [...] >> I was trying to address the “I see recompilation messages” issue that >> you raised in the current framework. I didn’t initially interpret the >> bug report as a call for a new workflow. > > It’s not meant t