Re: “Building a Secure Software Supply Chain with GNU Guix”

2022-07-04 Thread Ludovic Courtès
Hi, b...@bokr.com skribis: > I think IWBN to have some kind of trust code come with that git output, > like gpg's 1-5 but indicating how well the committer/signer trusts > that using the code will *not* cause a problem. > > I would like it if every commit had to have a code like that. I very

Re: repl macro (metacommand?) for guix CLI (sub)commands

2022-07-04 Thread zimoun
Hi, On Sun, 03 Jul 2022 at 13:11, jgart wrote: > What do guixers think of having a repl macro that allows > you to run commands like if you were using the CLI? I am not sure to understand the question. Well, it is already possible, no? --8<---cut

Re: Can't install wine, curl build fails at 'check' stage

2022-07-04 Thread Akib Azmain Turja
Akib Azmain Turja writes: > zimoun writes: > >> Hi, >> >> What is your arch? On x86-64, it works for me. > > I'm also using x86_64. > >> >> >> On ven., 01 juil. 2022 at 22:33, Akib Azmain Turja wrote: >> >>> TESTFAIL: These test cases failed: 3026 >>> >>> make: *** [Makefile:809: test] Error

Re: “Building a Secure Software Supply Chain with GNU Guix”

2022-07-04 Thread zimoun
Hi, On Sun, 03 Jul 2022 at 12:38, Bengt Richter wrote: >> I do not think committers are pushing code about #1, #2 or #3 that they >> know beforehand it will cause a problem. > > Hm, -- unless ... ? :) > I do not understand what you mean? >> The GPG trust level works because it is based on the

Re: [PATCH] web: send capitalized authorization header scheme

2022-07-04 Thread Ludovic Courtès
Hola, Aleix Conchillo Flaqué skribis: > * module/web/http.scm (write-credentials): capitalize authorization > header scheme. The standard allows the scheme to be case-insensitive, > however most libraries out there expect the scheme to be capitalized, > which is what it is actually used in RFC

Re: Bug in strip phase of gnu-build-system?

2022-07-04 Thread elaexuotee
Mark H Weaver wrote: > The conditional was originally introduced by Ludovic, here: > > > https://git.sv.gnu.org/cgit/guix.git/commit/?id=877217b85ac318a0a702578f183dd638c9704112 > > My role was merely to reformulate the conditional as a 'when' instead of > an 'or', while making an unrelated

Why do Emacs packages still pull emacs-transient?

2022-07-04 Thread Jorge P. de Morais Neto
Hi. To begin, thank you for your work on GNU! I use Guix package manager (manually installed) atop Debian bullseye. My Emacs is from Guix package emacs-next with a package transformation option to pull from current Git master. When I tried to use the new emoji commands on the "C-x 8e" prefix, I

Re: guix refresh to a specific version?

2022-07-04 Thread Hartmut Goebel
Am 30.06.22 um 13:58 schrieb Ludovic Courtès: Excellent. If you want, you can ping me for early comments on the API for this. Thanks for offering this, I appreciate. I pushed my current working state to wip-import-version. The branch also contains some patches from bug56295 (Add some

Please reply: License of your contributions to the blog at guix.gnu.org

2022-07-04 Thread Ludovic Courtès
Hello Danny, David, and Laura! I hope this message finds you well. If I’m not mistaken, you’re the last people who have not replied to my message below, also visible at: . Could you please take a look and reply ASAP? Your

Re: Bug in strip phase of gnu-build-system?

2022-07-04 Thread elaexuotee
Ludovic Courtès wrote: > Hi, > > elaexuo...@wilsonb.com skribis: > > > When `strip-binaries?` is `#f` and a "debug" output is defined, said output > > remains empty. Instead, I expect "debug" to get populated with separated > > debug > > files. > > Hmm I see. The logic was different:

Re: Shall updaters fall back to other updaters?

2022-07-04 Thread zimoun
Hi, On Thu, 30 Jun 2022 at 10:58, Hartmut Goebel wrote: > BTW 2: Which updater is used for each package is non-deterministic. >From (guix discovery), ’all-modules’ is not deterministic because it depends on how the filesystem tree is walked. Therefore, indeed ’importer-modules’ from (guix

Re: repl macro (metacommand?) for guix CLI (sub)commands

2022-07-04 Thread Ludovic Courtès
Hi, jgart skribis: > What do guixers think of having a repl macro that allows > you to run commands like if you were using the CLI? In addition to what zimoun wrote, see this discussion about providing REPL metacommands to lower or build things: https://issues.guix.gnu.org/56114 Ludo’.

Re: Set FORCE_SOURCE_DATE=1 by default

2022-07-04 Thread Ludovic Courtès
Hi! Vagrant Cascadian skribis: > --- a/gnu/packages/tex.scm > +++ b/gnu/packages/tex.scm > @@ -395,6 +395,12 @@ (define-public texlive-bin > (("srcdir/tests/pprecA-0.ind pprecA-0.ind1 \\|\\| exit > 1") >"srcdir/tests/pprecA-0.ind pprecA-0.ind1 ||

Re: Unreproducible «When Docker images become fixed-point»?

2022-07-04 Thread Ludovic Courtès
Hello, zimoun skribis: > The pack built by the post is: > > /gnu/store/6rga6pz60di21mn37y5v3lvrwxfvzcz9-python-python-numpy-docker-pack.tar.gz > > comparing with today, using 9d795fb and the time-machine: > > $ guix time-machine -C /tmp/channels.scm \ >-- pack -f docker

Re: Can't install wine, curl build fails at 'check' stage

2022-07-04 Thread Ludovic Courtès
Hi, Akib Azmain Turja skribis: > The following derivation will be built: > /gnu/store/v3kc0z1mx7zai6hky8kzlp171cxr2ccj-curl-7.84.0.drv Indeed, ‘guix build /gnu/store/v3kc0z1mx7zai6hky8kzlp171cxr2ccj-curl-7.84.0.drv’ fails with: --8<---cut

Re: guix refresh to a specific version?

2022-07-04 Thread zimoun
Hi, Thanks for working on this. On Mon, 04 Jul 2022 at 16:06, Hartmut Goebel wrote: > ?bioconductor (cran.scm) -- repo supports latest version only It is indeed a limitation of the Bioconductor importer and the issue is discussed here: http://issues.guix.gnu.org/issue/39885

Re: Can't install wine, curl build fails at 'check' stage

2022-07-04 Thread zimoun
Hi, On Sat, 02 Jul 2022 at 10:18, Akib Azmain Turja wrote: > I don't know why this is occurring. "guix install curl" installs curl > 7.79.1, but "guix install wine" tries to install curl 7.84.0, and fails. I do not know why it fails for you. The substitute is available:

Re: Rust in the kernel

2022-07-04 Thread Ludovic Courtès
Hi! Leo Famulari skribis: > The effort to use the Rust programming language within the Linux kernel > is progressing and may be realized in the next few months: > > https://lwn.net/SubscriberLink/899182/6c831b90eaee015e/ > https://www.memorysafety.org/blog/memory-safety-in-linux-kernel/ > >

Re: Shall updaters fall back to other updaters?

2022-07-04 Thread Hartmut Goebel
Am 03.07.22 um 17:11 schrieb Kaelyn: To me, this feels like the importers will need a more deterministic order imposed on them to get import results that are consistent across systems. HTH! Many thanks for your analysis. Meanwhile it came to my mind that I actually have different

Re: Why do Emacs packages still pull emacs-transient?

2022-07-04 Thread zimoun
Hi, On Sun, 03 Jul 2022 at 19:10, "Jorge P. de Morais Neto" wrote: > So, why do many Emacs packages still pull emacs-transient, when Guix has > Emacs version 28.1, which has Transient built-in? This redundancy > wastes (a little bit of) bandwidth, install time and disk space, and, > worse,

Re: Ten Years of Guix: Call for contributions

2022-07-04 Thread Ludovic Courtès
Hi! Tobias Platen skribis: > My proposed topic for one of these days is porting Guix to the  > Anbernic RG552, a mobile gaming console based on the libre-friendly > RK3399 SoC. I also own a RockPro64 which uses the same SoC. Sounds nice! Perhaps with a demo too? :-) Could you email

Re: Bug in strip phase of gnu-build-system?

2022-07-04 Thread Ludovic Courtès
Hi, elaexuo...@wilsonb.com skribis: > When `strip-binaries?` is `#f` and a "debug" output is defined, said output > remains empty. Instead, I expect "debug" to get populated with separated debug > files. Hmm I see. The logic was different: #:strip-binaries? #f disables stripping, but it

Re: “Building a Secure Software Supply Chain with GNU Guix”

2022-07-04 Thread Bengt Richter
Hi zimoun, On +2022-07-04 10:21:13 +0200, zimoun wrote: > Hi, > > On Sun, 03 Jul 2022 at 12:38, Bengt Richter wrote: > >> I do not think committers are pushing code about #1, #2 or #3 that they > >> know beforehand it will cause a problem. > > > > Hm, -- unless ... ? :) > > > > I do not

Re: repl macro (metacommand?) for guix CLI (sub)commands

2022-07-04 Thread jgart
On Mon, 04 Jul 2022 15:22:09 +0200 Ludovic Courtès wrote: > In addition to what zimoun wrote, see this discussion about providing > REPL metacommands to lower or build things: Simoun, thanks for the repl session demo. I hadn't tried running the guix scripts modules at the repl yet. Ludo, thanks

Re: Can't install wine, curl build fails at 'check' stage

2022-07-04 Thread zimoun
Hi, On Mon, 04 Jul 2022 at 15:40, Ludovic Courtès wrote: > Indeed, ‘guix build > /gnu/store/v3kc0z1mx7zai6hky8kzlp171cxr2ccj-curl-7.84.0.drv’ fails with: [...] > Now, I don’t see where this .drv comes from. Here’s what I see on > x86_64: I think it comes from a twist with i686:

Re: repl macro (metacommand?) for guix CLI (sub)commands

2022-07-04 Thread Tobias Geerinckx-Rice
>This is because each of those "CLI calls" end up running `(exit 0)` >at the end in some form or another. Should they? Is this an accepted pattern in the functional style to which Guix tries to adhere? (I don't know! It just caught me by surprise.) Kind regards, T G-R Sent on the go.

Re: Rust in the kernel

2022-07-04 Thread jbranso
July 4, 2022 1:36 PM, "Akib Azmain Turja" wrote: > Ludovic Courtès writes: > >> Hi! >> >> Leo Famulari skribis: > > The effort to use the Rust programming language within the Linux kernel > is progressing and may be realized in the next few months: > >

Re: Rust in the kernel

2022-07-04 Thread Akib Azmain Turja
Ludovic Courtès writes: > Hi! > > Leo Famulari skribis: > >> The effort to use the Rust programming language within the Linux kernel >> is progressing and may be realized in the next few months: >> >> https://lwn.net/SubscriberLink/899182/6c831b90eaee015e/ >>

’guix package --export-manifest’ using ’@version’?

2022-07-04 Thread zimoun
Hi, I have not noticed at the time when discussing ’export-manifest’. Sorry to have overlooked that. Because of #:entry-package-version, --8<---cut here---start->8--- (match (manifest->code manifest #:entry-package-version

grafted package and CLI

2022-07-04 Thread zimoun
Hi, Commit 3fc6709d4285f44d1e861c7b09951adf3073e898 is a security fixes for the package ’curl’; it reads, --8<---cut here---start->8--- (define-public curl (package (name "curl") (version "7.79.1") + (replacement curl-7.84.0) [...] +;;

Re: Unreproducible «When Docker images become fixed-point»?

2022-07-04 Thread zimoun
Hi, On Mon, 04 Jul 2022 at 15:37, Ludovic Courtès wrote: > Do you still have the original tarball mentioned in the post? Sadly no. > A possible reason why we’re building a different derivation than back > then is provenance info: as explained under ‘--save-provenance’ in the > manual,

Re: repl macro (metacommand?) for guix CLI (sub)commands

2022-07-04 Thread zimoun
Hi, >>This is because each of those "CLI calls" end up running `(exit 0)` >>at the end in some form or another. Quote: What do guixers think of having a repl macro that allows you to run commands like if you were using the CLI?

Re: Rust in the kernel

2022-07-04 Thread Akib Azmain Turja
jbra...@dismail.de writes: > July 4, 2022 1:36 PM, "Akib Azmain Turja" wrote: > >> Ludovic Courtès writes: >> >>> Hi! >>> >>> Leo Famulari skribis: >> >> The effort to use the Rust programming language within the Linux kernel >> is progressing and may be realized in the next few months: >>