Re: Differences between container used by "guix build" and "guix environment -C -N"

2017-07-01 Thread Ludovic Courtès
Hi, Danny Milosavljevic skribis: > it does pretty much the equvalent of this Python program, in Rust: > > > #!/usr/bin/env python3 > > import os > import subprocess > import signal > > signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGINT]) > > p = subprocess.Popen(["c

Re: Differences between container used by "guix build" and "guix environment -C -N"

2017-06-19 Thread Danny Milosavljevic
Hi Ludo, it does pretty much the equvalent of this Python program, in Rust: #!/usr/bin/env python3 import os import subprocess import signal signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGINT]) p = subprocess.Popen(["cat"], stdin=subprocess.PIPE, stdout=subprocess

Re: Differences between container used by "guix build" and "guix environment -C -N"

2017-06-19 Thread Ludovic Courtès
Hello, Danny Milosavljevic skribis: > I'm trying to track down the test_process_mask problem in Guix when trying to > test rustc. > > For that I did: > > (apply attached patch) > $ guix build --keep-failed rustc # will fail > $ cd /tmp/guix-build-rustc-1.16.0.drv-0 > $ guix environment -C -N ru

Differences between container used by "guix build" and "guix environment -C -N"

2017-06-18 Thread Danny Milosavljevic
Hi, I'm trying to track down the test_process_mask problem in Guix when trying to test rustc. For that I did: (apply attached patch) $ guix build --keep-failed rustc # will fail $ cd /tmp/guix-build-rustc-1.16.0.drv-0 $ guix environment -C -N rustc $ bash $ source environment-variables $ cd rus