[Nix-dev] Patch binaries automatically

2015-11-12 Thread Joel Moberg
I think it would be possible to automatically build an env that includes all shared libraries a binary need. But maybe this is already possible or not practical? This would need the ability ask which package a file belongs to. Something hydra could keep track on, not all files needs to be registre

Re: [Nix-dev] Patch binaries automatically

2015-11-12 Thread Vladimír Čunát
On 11/12/2015 12:43 PM, Joel Moberg wrote: > This would need the ability ask which package a file belongs to. > Something hydra could keep track on, not all files needs to be registred > just those under /lib /lib64. We already create a DB of /bin/* to provide command-not-found (it's distributed i

Re: [Nix-dev] Patch binaries automatically

2015-11-12 Thread Vladimír Čunát
On 11/12/2015 02:21 PM, Joel Moberg wrote: > I don't know about binaries that use dlopen. If dlopen is a shared > function maybe it can be patched, otherwise I think a chroot env can be > used. I found this mail which describes how to find dynamic shared libs, > even those which ldd doesn't list: h

[Nix-dev] Encrypted partition via loop device, syncronization

2015-11-12 Thread Sergey Mironov
Hi, List. I have an idea of setting up a small encrypted partition for storing things like passwords, wallets etc. The additional feature I want is synchronization: I'd like to use syncthing or rsync or whatever to synchronize the encrypted binary file with the whole partition between several mach

[Nix-dev] Install Nix Manuals

2015-11-12 Thread Evan Rowley
Hello Basic question: How can I get the Nix manuals and other Nix documentation loaded on a basic graphical NixOS install? I have recently installed NixOS using the directions shown in Example 2.1 on the Version 15.09.688.ef7a813 NixOS manual: https://nixos.org/nixos/manual/ The NixOS Manual tha

Re: [Nix-dev] Install Nix Manuals

2015-11-12 Thread Eelco Dolstra
Hi, On 12/11/15 18:52, Evan Rowley wrote: > Basic question: How can I get the Nix manuals and other Nix documentation > loaded > on a basic graphical NixOS install? > > I have recently installed NixOS using the directions shown in Example 2.1 on > the > Version 15.09.688.ef7a813 NixOS manual:

Re: [Nix-dev] bind and complete not found in nix-shell

2015-11-12 Thread Kamil Chmielewski
I found it. It was python virtualenvwrapper sourced from my .bashrc. It worked well in user shell but cause problems in nix-shell. Thank you all for your aid. Cheers, Kamil 2015-11-12 2:49 GMT+01:00 Anderson Torres : > 2015-11-11 19:19 GMT-02:00 Kamil Chmielewski : > >> Try to install pkgs.bashI