Re: What 'sh' should 'system' use?

2022-09-26 Thread Philip McGrath
Hi, On 9/19/22 08:55, Maxime Devos wrote: (4) Stop using 'system' in applications -- instead use whatever the language's equivalent of Guile's system*, execl ... or Guix' 'invoke'. Why? Because 'system'-like functions requires quoting the command line arguments whereas in 'system*'-like fun

Re: What 'sh' should 'system' use?

2022-09-26 Thread Philip McGrath
Hi, On 9/19/22 03:07, Liliana Marie Prikler wrote: Am Sonntag, dem 18.09.2022 um 20:13 -0400 schrieb Philip McGrath: On the other hand, even Nix puts '/bin/sh' at its usual path: we are really quite an outlier in this respect. (IIUC, Nix also has '/usr/bin/env', but no other utilities at FHS p

Re: GNU Guix on iPad2 (A1395)

2022-09-26 Thread Jacob Hrbek
It seems to be guix specific as the usbmuxd seems to work fine on other distros, but has issues on NixOS and Guix thus why asking here -- Jacob "Kreyren" Hrbek Sent with Proton Mail secure email. --- Original Message --- On Sunday, September 25th, 2022 at 11:11 PM, Csepp wrote: > Jac

Proposal: A new build-system API

2022-09-26 Thread Mája Tomášek
Hello guix, I have been lately trying to write a build system or two. And I have found myself in a weird situation. The current API documentation is lackluster and the API itself isn't really ergonomic. First, I need to clarify that I understand that there is a lack of documentation, it is comp

Fwd: git guix checkout automation for contributors

2022-09-26 Thread Nathan Dehnel
-- Forwarded message - From: Nathan Dehnel Date: Mon, Sep 26, 2022 at 3:52 AM Subject: git guix checkout automation for contributors To: It would be cool if you provided "guix edit " with the path to an empty directory and it automatically created a local channel in that directo

Re: What 'sh' should 'system' use?

2022-09-26 Thread Liliana Marie Prikler
Hi Am Montag, dem 26.09.2022 um 03:04 -0400 schrieb Philip McGrath: > I definitely advocate 'system*'-like functions in general. Still, > 'system'-like functions exist: I'm advocating that Guix should should > have a consistent answer for how such functions should behave. How is the current answer

Re: What 'sh' should 'system' use?

2022-09-26 Thread Liliana Marie Prikler
Hi, Am Montag, dem 26.09.2022 um 04:07 -0400 schrieb Philip McGrath: > Hi, > > On 9/19/22 03:07, Liliana Marie Prikler wrote: > > Am Sonntag, dem 18.09.2022 um 20:13 -0400 schrieb Philip McGrath: > > > On the other hand, even Nix puts '/bin/sh' at its usual path: we > > > are really quite an outl

OCaml 5.0 and Guix

2022-09-26 Thread pukkamustard
Hello Guix, A new major release of OCaml (5.0) is planned and I've started some work of packaging it in Guix: https://inqlab.net/git/guix.git/log/?h=wip-ocaml-5.0 This currently includes: - The OCaml 5.0.0-alpha1 compiler - A `package-with-ocaml5.0` transformation - Some custom ocaml5.0 packa

Re: What 'sh' should 'system' use?

2022-09-26 Thread Maxime Devos
On 26-09-2022 09:04, Philip McGrath wrote: [...] (Very occasionally, a program really does want to invoke the shell, such as when shell expansion is part of an existing API.) From a different perspective, this is part of why I've recently been thinking we should find 'sh' dynamically: most pro

Re: OCaml 5.0 and Guix

2022-09-26 Thread zimoun
Hi, On lun., 26 sept. 2022 at 10:11, pukkamustard wrote: > A new major release of OCaml (5.0) is planned and I've started some work > of packaging it in Guix: > > https://inqlab.net/git/guix.git/log/?h=wip-ocaml-5.0 Cool! > Still very much WIP, but a way to give OCaml 5.0 with multicore suppo

Re: Proposal: A new build-system API

2022-09-26 Thread zimoun
Hi, Thanks for your comments. On lun., 26 sept. 2022 at 10:39, Mája Tomášek wrote: > (package > ... > (inputs list-of-inputs) > (build-system some-build-system) > (arguments (list-of-quoted #:key value)) > ... > ) [...] > (package > ...

Re: git guix checkout automation for contributors

2022-09-26 Thread zimoun
Hi, On dim., 25 sept. 2022 at 21:40, kiasoc5 wrote: > Isn't there a checkout cache in ~/.cache/guix? Can guix edit be pointed > to the git repo in the cache as opposed to the system's? This checkout* is used by “guix time-machine” and it does not always point to what “guix describe” returns. Mo

Emacs integration for 'guix shell'

2022-09-26 Thread Thompson, David
Hello all, I recently wrote a little blog post titled "Guix for development" [0] and in it I mentioned using a tool called direnv and emacs-direnv as a way to integrate 'guix shell' with Emacs. This integration has vastly improved my Emacs experience. I can open a shell buffer and the environment

Re: Proposal: A new build-system API

2022-09-26 Thread Mája Tomášek
zimoun writes: Hi, Thanks for your reply, I appreciate you taking time to respond to my silly message <3. > Hi, > > Thanks for your comments. > > On lun., 26 sept. 2022 at 10:39, Mája Tomášek > wrote: > >> (package >> ... >> (inputs list-of-inputs) >> (build-system som

Re: Emacs integration for 'guix shell'

2022-09-26 Thread Development of GNU Guix and the GNU System distribution.
On Mon, 26 Sep 2022, "Thompson, David" wrote: > Hello all, > > I recently wrote a little blog post titled "Guix for development" [0] > and in it I mentioned using a tool called direnv and emacs-direnv as a > way to integrate 'guix shell' with Emacs. This integration has vastly > improved my Emacs

Re: Emacs integration for 'guix shell'

2022-09-26 Thread pinoaffe
Hi! This looks like a really nice script! A while back, I wrote a bit of elisp that does some of the same stuff that your program does, but which is aimed at a workflow based on profiles rather than on `guix shell`, see [0]. I have previously used said script to set up directory-specific paths/e

Re: git guix checkout automation for contributors

2022-09-26 Thread Josselin Poiret
Hello everyone, zimoun writes: > Hi, > > On dim., 25 sept. 2022 at 21:40, kiasoc5 wrote: >> Isn't there a checkout cache in ~/.cache/guix? Can guix edit be pointed >> to the git repo in the cache as opposed to the system's? > > This checkout* is used by “guix time-machine” and it does not alway

Re: What happens when you build a Guix package at every step?

2022-09-26 Thread jbranso
September 25, 2022 3:18 PM, "david larsson" wrote: > On 2022-09-25 19:28, jgart wrote: > >> What would be the best way to illustrate the levels of nesting and code >> paths that get traversed when building a Guix package? >> I'd like to make some sequence diagram notation or something else to >

Re: Capitole du Libre at Toulouse

2022-09-26 Thread zimoun
Hi Andreas, On Sun, 25 Sep 2022 at 11:30, Andreas Enge wrote: > Julien pointed out that the Capitole du Libre is going to take place > in Toulouse on the weekend of November 19 and 20: >https://capitoledulibre.org/ > and wondered whether we should ask for a booth. Time for this is running >

Re: Follow Ten Years of Guix remotely

2022-09-26 Thread Maxim Cournoyer
Hello! Ludovic Courtès writes: > Hello Guix! > > The Ten Years of Guix event will start in just a couple of days: > > https://10years.guix.gnu.org > > If you’re not coming to Paris, we have some good news: talks will be > recorded and the event will be live-streamed! > > https://10years.guix

Re: Emacs integration for 'guix shell'

2022-09-26 Thread Maxim Cournoyer
Hi, Olivier Dion via "Development of GNU Guix and the GNU System distribution." writes: [...] > I have the following in my .dir-locals.el for my library libpatch. The > idea is the same, but without direnv: > > ((nil > . ((eval . > (let ((root (locate-dominating-file >

Re: Capitole du Libre at Toulouse

2022-09-26 Thread bokr
Hi Andreas, Vagrant, et al On +2022-09-25 10:37:52 -0700, Vagrant Cascadian wrote: > On 2022-09-25, Andreas Enge wrote: > > I am not quite sure how one presents a distribution at a booth, since > > there is not really much to attract the eye, or is there? > > I know Debian used to have an automat