[Nix-dev] NIX_BUILD_HOOK documentation

2012-06-25 Thread Rickard Nilsson
Hi, I was looking for the documentation for NIX_BUILD_HOOK, but it seems to have been commented out in https://github.com/NixOS/nix/commit/7a213ffc6912794d2cc4374bb9bf2c1f59a384a3 . Why is that? Has the NIX_BUILD_HOOK protocol changed? My aim is to write my own build hook, should I wait

Re: [Nix-dev] github notifications

2012-06-25 Thread Michael Raskin
- nix-tickets@/nix-issues@/similar - notifications about tickets, could also be sent to nix-dev@ Unfortunately, GitHub doesn't seem to support this. At least I can't find any place in the interface to set notifications for issues. Maybe you could just create a virtual project member with

Re: [Nix-dev] github notifications

2012-06-25 Thread Marc Weber
Excerpts from Michael Raskin's message of Mon Jun 25 14:52:12 +0200 2012: Maybe you could just create a virtual project member with email being nix-commits@? What would it mean? That everybody sending a passwort lost request receives the change password link by mailinglist? Then he can add his

Re: [Nix-dev] NIX_BUILD_HOOK documentation

2012-06-25 Thread Eelco Dolstra
Hi, On 25/06/12 08:34, Rickard Nilsson wrote: I was looking for the documentation for NIX_BUILD_HOOK, but it seems to have been commented out in https://github.com/NixOS/nix/commit/7a213ffc6912794d2cc4374bb9bf2c1f59a384a3 . Why is that? Has the NIX_BUILD_HOOK protocol changed? I

Re: [Nix-dev] Google web fonts import

2012-06-25 Thread Eelco Dolstra
Hi, On 23/06/12 18:13, Antono Vasiljev wrote: Also, i know that nix is young and multipage policies will be overkill, but something like README.md in pkgs/data/fonts/ and other dirs could work. What do you think? Documentation is very welcome, and your draft looks great to me. However,

Re: [Nix-dev] Google web fonts import

2012-06-25 Thread Eelco Dolstra
Hi, On 24/06/12 11:53, Marc Weber wrote: for nixpkggs the attr path is also very important. Why? Unless you frequently want to pass all fonts around (like you might pass xorg as an input), grouping things into a set is not particularly useful. -- Eelco Dolstra | LogicBlox, Inc. |

Re: [Nix-dev] Google web fonts import

2012-06-25 Thread Eelco Dolstra
Hi, On 24/06/12 11:10, Kirill Elagin wrote: Shouldn't we introduce a separate attrset to hold fonts instead of putting them into top-level? Ok, guys, let's be honest. Nix needs something like categories. Maybe we're talking about different things, but the categories I know from other

Re: [Nix-dev] Google web fonts import

2012-06-25 Thread Marc Weber
Excerpts from Eelco Dolstra's message of Mon Jun 25 17:31:47 +0200 2012: Why? Unless you frequently want to pass all fonts around (like you might pass xorg as an input), grouping things into a set is not particularly useful. Why? Because you can do something like install all fonts by getting

Re: [Nix-dev] github notifications

2012-06-25 Thread Ludovic Courtès
Oh, and could we get diffs in the commit notifications? :-) Thanks, Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] github notifications

2012-06-25 Thread Eelco Dolstra
Hi, On 25/06/12 17:00, Ludovic Courtès wrote: Oh, and could we get diffs in the commit notifications? :-) Yes, by volunteering to improve the email service hook: https://github.com/github/github-services/blob/master/services/email.rb :-) -- Eelco Dolstra | LogicBlox, Inc. |

[Nix-dev] Referring to a path inside ${out}...in a nix expression

2012-06-25 Thread Bryce L Nordgren
Apologies if this is another dumb question, but I think I don't know the proper terms to google. I'm writing an expression (in nixpkgs) for geonetwork-opensource. This is now working as a maven build. The thing I'm putting in $out, for the moment, is the maven repository. This contains all of the

[Nix-dev] [PATCH] GNU Coreutils: Allow builds with newer versions of glibc.

2012-06-25 Thread Ludovic Courtès
--- pkgs/tools/misc/coreutils/default.nix | 11 +++- pkgs/tools/misc/coreutils/gets-undeclared.patch | 71 +++ 2 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 pkgs/tools/misc/coreutils/gets-undeclared.patch diff --git

Re: [Nix-dev] github notifications

2012-06-25 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 25/06/12 17:00, Ludovic Courtès wrote: Oh, and could we get diffs in the commit notifications? :-) Yes, by volunteering to improve the email service hook: Heheh, I’ll consider this option when GitHub is free software. Ludo’.

Re: [Nix-dev] Referring to a path inside ${out}...in a nix expression

2012-06-25 Thread Marc Weber
stdenv.mkDerivation { .. } : { ... warfile = ${out}/repository/big/fat/path/geonetwork-opensource-2.6.4.war ... } You have to understand that you can't pass out as input to the same derivation. Why? All inputs yield a hash, the nix/store/ hash. Let's take a very simple example: