[Nix-dev] Building OpenWrt: mysterious segfaults

2015-05-20 Thread Kirill Elagin
I’m trying to build OpenWrt on my Gentoo laptop. I never had any issues with this, but now I have some and the problem clearly is that I don’t have system-wide Git, only the one installed into my user profile. It all started at the very beginning, when the Makefile was looking for the tools it

Re: [Nix-dev] luks encrypted home stopped mounting after channel update

2015-05-20 Thread Pascal Wittmann
On 05/20/2015 10:23 AM, Pascal Wittmann wrote: but I haven't tried the fix myself yet. I've just tried the fix. It works for me. signature.asc Description: OpenPGP digital signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] luks encrypted home stopped mounting after channel update

2015-05-20 Thread Pascal Wittmann
On 05/20/2015 11:03 AM, Jascha Geerds wrote: Maybe related with https://github.com/NixOS/nixpkgs/issues/7859 ? Yes, this is the issue I was referring to. signature.asc Description: OpenPGP digital signature ___ nix-dev mailing list

Re: [Nix-dev] luks encrypted home stopped mounting after channel update

2015-05-20 Thread Wout Mertens
Two approaches: - Look through all the commits between your working system and your broken system, finding anything related to boot, initrd or luks - Mount the old and new initrds and compare contents (I don't really know how luks works, I presume it runs in the initrd to mount root)

Re: [Nix-dev] luks encrypted home stopped mounting after channel update

2015-05-20 Thread Jascha Geerds
Maybe related with https://github.com/NixOS/nixpkgs/issues/7859 ? -- Jascha Geerds j...@ekby.de ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Dropped renameImports from buildGoPackage

2015-05-20 Thread Joachim Schiele
On 15.05.2015 11:20, Luca Bruno wrote: The renameImports was a bad choice for buildGoPackage infrastructure. Every package would have to specify the needed renames. Now instead each library can define goPackageAliases, and dependant packages will automatically rename the imports. With

[Nix-dev] boostHeaders disappeared

2015-05-20 Thread Lluís Batlle i Rossell
Hello, long time ago I introduced a package boostHeaders, that only installed the boost headers without building any lib. The purpose of that package was to avoid the heavy build load of boost. For what I remember, building all boost involved bjam taking 2GB of RAM, and heavy task for g++. This

Re: [Nix-dev] Git branches to track nix channels

2015-05-20 Thread Vladimír Čunát
On 05/19/2015 07:36 PM, Matthias Beyer wrote: On 19-05-2015 12:08:30, Vladimír Čunát wrote: I'm uncertain if there might be some performance implications [...] From a git point of view, there won't be any performance implications besides that the tags get fetched on `git fetch` - which is

Re: [Nix-dev] boostHeaders disappeared

2015-05-20 Thread Eelco Dolstra
Hi, On 20/05/15 15:06, Lluís Batlle i Rossell wrote: long time ago I introduced a package boostHeaders, that only installed the boost headers without building any lib. The purpose of that package was to avoid the heavy build load of boost. For what I remember, building all boost involved

Re: [Nix-dev] luks encrypted home stopped mounting after channel update

2015-05-20 Thread Ellis Whitehead
Thanks, I'll give it a try later. On Wed, May 20, 2015 at 11:49 AM, Pascal Wittmann pascalwittm...@gmx.net wrote: On 05/20/2015 11:03 AM, Jascha Geerds wrote: Maybe related with https://github.com/NixOS/nixpkgs/issues/7859 ? Yes, this is the issue I was referring to.

[Nix-dev] make installcheck - doesn't do make install - on purpose?

2015-05-20 Thread Christian Theune
Hi, I keep stumbling that in the nix dev-shell I have to manually run make; make install; make installcheck I keep forgetting to run one of those and hunt down non-existing bugs. Is this on purpose and am I just too stupid to use it the right way? Christian — Christian Theune ·

Re: [Nix-dev] make installcheck - doesn't do make install - on purpose?

2015-05-20 Thread Christian Theune
Hi, On 20 May 2015, at 17:35, Vladimír Čunát vcu...@gmail.com wrote: Hi. On 05/20/2015 05:24 PM, Christian Theune wrote: I keep stumbling that in the nix dev-shell I have to manually run make; make install; make installcheck I keep forgetting to run one of those and hunt down

Re: [Nix-dev] make installcheck - doesn't do make install - on purpose?

2015-05-20 Thread Vladimír Čunát
Hi. On 05/20/2015 05:24 PM, Christian Theune wrote: I keep stumbling that in the nix dev-shell I have to manually run make; make install; make installcheck I keep forgetting to run one of those and hunt down non-existing bugs. That's independent of nix(-shell) - it depends on the makefiles

Re: [Nix-dev] Git branches to track nix channels

2015-05-20 Thread Nicolas Pierron
Hi, I did that a while ago, and somebody removed them, because of the potential noise that such branches can caused. Then I pushed the script that I made to keep track of the channel versions. You can use this script in your nixpkgs working directory, run $ $(git rev-parse

Re: [Nix-dev] Git branches to track nix channels

2015-05-20 Thread Arseniy Seroka
I've wrote that and nobody mentioned :( 2015-05-20 23:23 GMT+03:00 Nicolas Pierron nicolas.b.pier...@gmail.com: Hi, I did that a while ago, and somebody removed them, because of the potential noise that such branches can caused. Then I pushed the script that I made to keep track of the

Re: [Nix-dev] R package name can't be used in variable substitution?

2015-05-20 Thread Vladimír Čunát
On 05/20/2015 08:39 PM, Jeffrey David Johnson wrote: Is there a restriction that single uppercase letters can't be used as variable names? Yes, the substituteAll function only takes names starting with lower case. Vladimir smime.p7s Description: S/MIME Cryptographic Signature

Re: [Nix-dev] Git branches to track nix channels

2015-05-20 Thread Harald van Dijk
On 20/05/2015 14:44, Vladimír Čunát wrote: On 05/19/2015 07:36 PM, Matthias Beyer wrote: On 19-05-2015 12:08:30, Vladimír Čunát wrote: I'm uncertain if there might be some performance implications [...] From a git point of view, there won't be any performance implications besides that the

[Nix-dev] R package name can't be used in variable substitution?

2015-05-20 Thread Jeffrey David Johnson
I put together an example package that generates a bash script: # default.nix with import nixpkgs {}; stdenv.mkDerivation { name = varSubTest; src = ./.; inherit R; rByAnotherName = R; builder = ./builder.sh; } # builder.sh #!/usr/bin/env bash source $stdenv/setup mkdir -p $out/bin

Re: [Nix-dev] Leap Second

2015-05-20 Thread Roger Qiu
Oh that looks useful. Perhaps I can set slew for all time, since I don't expect my servers to ever be offline. On 21/05/2015 1:13 AM, Domen Kožar wrote: Running ntp with slew flag -x should give you same results as Google does. To test a leap second before 30. June:

Re: [Nix-dev] Leap Second

2015-05-20 Thread Domen Kožar
Running ntp with slew flag -x should give you same results as Google does. To test a leap second before 30. June: https://access.redhat.com/articles/199563 On Tue, May 19, 2015 at 5:56 PM, Roger Qiu roger@polycademy.com wrote: I wonder why don't they add a patch to NTP to do what