Re: [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment

2016-10-18 Thread Shea Levy
Hi Ludo’, Your patches look good! My biggest concern is how the ld wrapper behaves in the presence of response files. Have you tested that? Thanks, Shea Ludovic Courtès writes: > Hi Shea, > > Shea Levy skribis: > >> Unlike the traditional approach of installing system

Re: [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment

2016-10-18 Thread Shea Levy
Hey Ludo’, Amazing, more than a decade of close working with these tools and I never knew about C_INCLUDE_PATH et al! It looks like those will solve a huge portion of the problem. Will look at your gcc and clang patches as well, thank you! ~Shea Ludovic Courtès writes: > Hi Shea, >

Re: [Nix-dev] [PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.

2015-12-02 Thread Shea Levy
Can you resend with paths appropriate to the nix repo? There is no nix/ directory there. ~Shea On 2015-12-02 12:03, Ludovic Courtès wrote: * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f. * nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the BUILDMODE when the

Re: [Nix-dev] Avoiding threads in the daemon

2014-12-19 Thread Shea Levy
Can't you unshare in the parent then setns back after fork? > On Dec 19, 2014, at 18:20, Eelco Dolstra wrote: > > Hi, > >> On 18/12/14 17:32, Ludovic Courtès wrote: >> >> Thus, I think Nix commit 49fe95 (which introduces monitor-fd.hh, which >> uses std::thread just for convenience) should b

Re: [Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

2014-04-15 Thread Shea Levy
On Mon, Apr 14, 2014 at 04:59:15PM +0200, Ludovic Courtès wrote: > l...@gnu.org (Ludovic Courtès) skribis: > > > Shea Levy skribis: > > > >> On Mon, Apr 14, 2014 at 03:38:01PM +0200, Ludovic Courtès wrote: > >>> The patch below allows files such as /nix/sto

Re: [Nix-dev] [PATCH]

2014-04-14 Thread Shea Levy
Hi Ludo’, On Mon, Apr 14, 2014 at 03:38:01PM +0200, Ludovic Courtès wrote: > The patch below allows files such as /nix/store/foo to be protected from > GC if a root refers to them. This makes it easy for a build hook to use > such files for its temporary working files. > > WDYT? > It seems a b

Re: [Nix-dev] GNU Guix 0.6 released

2014-04-09 Thread Shea Levy
Hi Ludo, On Wed, Apr 09, 2014 at 08:29:25PM +0200, Ludovic Courtès wrote: > We are pleased to announce the release of GNU Guix version 0.6, > representing 597 commits by 16 people over 4 months. > Congratulations! > > This release comes with an updated QEMU virtual machine image that shows > p

Re: [Nix-dev] /dev/shm inconsistency in chroot

2014-01-24 Thread Shea Levy
On 01/24/2014 04:17 PM, Ludovic Courtès wrote: Sree Harsha Totakura skribis: On 01/24/2014 06:13 PM, Mark H Weaver wrote: Shea Levy writes: Another option is to mount a devtmpfs there, for systems which support it. devtmpfs may give different devices on each machine and they may hinder

Re: [Nix-dev] /dev/shm inconsistency in chroot

2014-01-24 Thread Shea Levy
On 01/24/2014 05:16 AM, Sree Harsha Totakura wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/2014 08:56 PM, Mark H Weaver wrote: We should not inherit /dev from the host system at all, but rather create it from scratch with just the things we need. IMO, that's the only truly pro