Re: Documentation

2016-09-03 Thread Ludovic Courtès
Vincent Legoll skribis: >>> Or maybe I'm very bad at info, always found its interface weird... >> >> I'm not sure, I actually don't use `info` very much either. Maybe your >> GuixSD installation has not been updated since the relevant text was >> added to the manual? > > I regularly do guix pull

Re: Cross-building GuixSD (and maybe using pre-built toolchains)

2016-09-03 Thread Ludovic Courtès
Hi, David Craven skribis: > When adding cross-compilation support to the linux-libre package I > noticed that native-inputs are in #:key native-inputs when > cross-compiling but not when compiling natively. I think this is a > problem because we can't just use #:key native-inputs instead of #:ke

Re: Cross-building GuixSD (and maybe using pre-built toolchains)

2016-09-03 Thread David Craven
> It’s on purpose, and packages rarely (if even) need to refer to > #:native-inputs; only a couple of phases in gnu-build-system.scm refer > to #:native-inputs. > > In which context do you need to refer to #:native-inputs? Cross-compiling the linux kernel. > ;; Apply the neat patch. > (system* "p

Re: [UX] real names exposed

2016-09-03 Thread Troy Sankey
Quoting Ludovic Courtès (2016-09-01 04:59:02) > ‘exec -a’ works as advertised: > > --8<---cut here---start->8--- > $ sh -c 'exec -a FOO guile -c "(pk (command-line))"' > > ;;; (("FOO")) > --8<---cut here---end--->8--- So, he

Re: Cross-building GuixSD (and maybe using pre-built toolchains)

2016-09-03 Thread Ludovic Courtès
David Craven skribis: >> It’s on purpose, and packages rarely (if even) need to refer to >> #:native-inputs; only a couple of phases in gnu-build-system.scm refer >> to #:native-inputs. >> >> In which context do you need to refer to #:native-inputs? > > Cross-compiling the linux kernel. > >> ;; A

Re: Cross-building GuixSD (and maybe using pre-built toolchains)

2016-09-03 Thread David Craven
> (assoc-ref (or native-inputs inputs) "bash") Yes, that's not too bad. Thanks! I'll wait for someone to comment the patches I've already submitted to the mailing list (to see if they are cosher :) before making the changes. FYI: I rebuilt linux-libre-headers but the tar test-suite kept crashin

Re: [UX] real names exposed

2016-09-03 Thread Troy Sankey
I suspect the scope of this UX "bug" is larger than python. I think this probably affects every executable written in an interpreted language and using a shebang. Here's another example with a bash script: $ cat > t.sh #!/bin/bash sed 's/\x0/\\0/g' # replaces null bytes with a visible '\

Re: [UX] real names exposed

2016-09-03 Thread Ludovic Courtès
Hello, l...@gnu.org (Ludovic Courtès) skribis: > $ sh -c 'exec -a FOO > /gnu/store/6vmniz83k46l8jpry50wdvwxsncz1r5w-khal-0.7.0/bin/.khal-wrap-01 > --version' > .khal-real, version 0.7.0 What happens is that ‘exec -a’ is doesn’t work when the wrapped program is a script. This is because, when