GNU bug report logs - #56030
The guix pull profile is too big

Previous Next

Package: guix;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Fri, 17 Jun 2022 05:50:03 UTC

Severity: normal

Full log


Message #14 received at 56030 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Maxime Devos" <maximedevos <at> telenet.be>, "Julien Lepiller"
 <julien <at> lepiller.eu>, <56030 <at> debbugs.gnu.org>
Subject: Re: bug#56030: The guix pull profile is too big
Date: Thu, 21 Jul 2022 16:03:19 +0100
On Thu Jul 21, 2022 at 3:52 PM BST, Maxime Devos wrote:
>   * Add a macro '#define system ...' that calls this variant and inserts
>     __guix_bin_sh as the shell executable

Would this not violate POSIX? Since, as far as I can see,
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html>
does not give the implementation license to implement system(3) as a
macro. We could do

```
int system(const char *command) {
	return __guix_run_in_shell(command, __guix_bin_sh);
}
```

though.

    -- (




This bug report was last modified 2 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.