[Nix-dev] patchelf on statically linked executables

2012-12-11 Thread Mathijs Kwik
Hi all, I'm trying to patch a statically linked executable, but run into an error. $ file bin/phantomjs bin/phantomjs: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped $ strace bin/phantomjs execve(bin/phantomjs, [bin/phantomjs], [/* 75 vars */]) = 0

Re: [Nix-dev] patchelf on statically linked executables

2012-12-11 Thread Eelco Dolstra
Hi, On 11/12/12 15:06, Mathijs Kwik wrote: I'm trying to patch a statically linked executable, but run into an error. $ file bin/phantomjs bin/phantomjs: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped $ strace bin/phantomjs execve(bin/phantomjs,

Re: [Nix-dev] patchelf on statically linked executables

2012-12-11 Thread Mathijs Kwik
readelf output here: https://gist.github.com/4258922 binaries themselves (32/64) are available at: http://phantomjs.org/download.html On Tue, Dec 11, 2012 at 3:16 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 11/12/12 15:06, Mathijs Kwik wrote: I'm trying to patch a statically

[Nix-dev] Can't create btrfs when installing nixos

2012-12-11 Thread Bill Trost
Hi, all, I just installed nixos-minimal-0.1pre4011_13617b8-28d1785-i686-linux.iso on an old ASUS netbook this weekend. I'm impressed by how smoothly it went. One little hiccup, though, is that mkfs.btrfs wouldn't work -- it gave me an error like can't determine mount status of /dev/sda3. On a

Re: [Nix-dev] Can't create btrfs when installing nixos

2012-12-11 Thread Mathijs Kwik
Hi Bill, In an amazing coincidence, I ran into the same issue today (mkfs.btrfs from livecd). This is a bug upstream, but you can work around it by: mkdir -p /mnt-root/nix-store.squashfs After that, it will work. The issue is that that directory is mentioned in /proc/mounts but doesn't exist

Re: [Nix-dev] getent LD_LIBRARY_PATH

2012-12-11 Thread Rickard Nilsson
Den 2012-12-10 16:49:26 skrev Lluís Batlle i Rossell vi...@viric.name: On Mon, Dec 10, 2012 at 04:39:14PM +0100, Rickard Nilsson wrote: Hi, I investigated an issue I have with getent, where LDAP entries don't show up when I run 'getent passwd'. It turns out, in that case, getent reads

Re: [Nix-dev] Can't create btrfs when installing nixos

2012-12-11 Thread Lluís Batlle i Rossell
On Tue, Dec 11, 2012 at 03:50:47PM +0100, Mathijs Kwik wrote: Hi Bill, In an amazing coincidence, I ran into the same issue today (mkfs.btrfs from livecd). This is a bug upstream, but you can work around it by: mkdir -p /mnt-root/nix-store.squashfs After that, it will work. The issue

Re: [Nix-dev] patchelf on statically linked executables

2012-12-11 Thread Eelco Dolstra
Hi, On 11/12/12 15:24, Mathijs Kwik wrote: readelf output here: https://gist.github.com/4258922 binaries themselves (32/64) are available at: http://phantomjs.org/download.html This is the reason: $ strings phantomjs | grep pack $Info: This file is packed with the UPX executable packer

Re: [Nix-dev] patchelf on statically linked executables

2012-12-11 Thread Mathijs Kwik
nice Thanks for finding this out. On Tue, Dec 11, 2012 at 4:33 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 11/12/12 15:24, Mathijs Kwik wrote: readelf output here: https://gist.github.com/4258922 binaries themselves (32/64) are available at:

[Nix-dev] proofgeneral cannot find proof-site.el

2012-12-11 Thread Karn Kallio
Hi Karn Kallio, (or whomever took over the maintenance of proofgeneral) I just installed ProofGeneral-4.1 and when I issue the command 'proofgeneral' with no arguments it fails during startup with the error: Cannot open load file:

Re: [Nix-dev] Nix 1.2 released

2012-12-11 Thread Florian Friesdorf
Hi Eelco, great work! Eelco Dolstra eelco.dols...@logicblox.com writes: * Nix no longer sets the immutable bit on files in the Nix store. Instead, the recommended way to guard the Nix store against accidental modification on Linux is to make it a read-only bind mount, like this:

Re: [Nix-dev] Nix 1.2 released

2012-12-11 Thread Shea Levy
On 12/11/2012 09:28 PM, Florian Friesdorf wrote: Hi Eelco, great work! Eelco Dolstra eelco.dols...@logicblox.com writes: * Nix no longer sets the immutable bit on files in the Nix store. Instead, the recommended way to guard the Nix store against accidental modification on Linux