[Nix-dev] Re: Toward a Purer stdenv

2011-08-17 Thread Yury G. Kudryashov
Marc Weber wrote: > Excerpts from Shea Levy's message of Wed Aug 17 21:37:32 +0200 2011: >> I've been thinking about creating a nixpkgs branch to find and eliminate >> some of the remaining impurities in the Linux stdenv. > > "linux stdenv" ? What are you referring to exactly? > > Impurities: >

[Nix-dev] Re: Toward a Purer stdenv

2011-08-17 Thread Yury G. Kudryashov
Michael Raskin wrote: > We pass /dev/ inside chroot as-is. There are many readable sources of > disaster there. I am not sure foozjs doesn't have a mode where it tries > to detect your printer during installation. I read foo2zjs sources ;). It doesn't.

[Nix-dev] Re: Toward a Purer stdenv

2011-08-21 Thread Ludovic Courtès
Hi, Shea Levy skribis: > 1. What impurities does the current stdenv have? I can think of three > off of the top of my head: timestamps in files, kernel version > (e.g. via uname), and /bin/sh. There’s uname(2), getrlimit(2), gettimeofday(2), getpid(2), /proc, /sys, the ‘cpuid’ instruction, etc.

Re: [Nix-dev] Re: Toward a Purer stdenv

2011-08-17 Thread Marc Weber
Excerpts from Yury G. Kudryashov's message of Wed Aug 17 22:21:21 +0200 2011: > > - the store location (for completeness) > This is OK since changing store path changes all hashes. But For one package I had to change a generated file resulting in a crash because I didn't change the length field acc