Re: [Nix-dev] Commit access

2012-06-27 Thread Kirill Elagin
2012/6/27 Eelco Dolstra eelco.dols...@logicblox.com firefox: Updated to 14.0 Please-please-please let's use present imperative as Git (and many other projects) do? Something like firefox: Update to 14.0. I don't know why, but many projects prefer it, and I've read somewhere that imperative

Re: [Nix-dev] Announcing free-nix: the free Linux distribution based on the Nix package manager

2012-06-27 Thread Marc Weber
What I am saying is that after 4 years of continuous work on Nix, I have a significant investment in this project, and changes that are made to this project affect me personally and professionally in ways that may not be obvious to the person who is making that change. Which is why you can't

Re: [Nix-dev] A bunch of patches to nixpkgs and questions

2012-06-27 Thread Jan Malakhovski
Hi, On Tue, 26 Jun 2012 20:03:23 +0200 Peter Simons sim...@cryp.to wrote: your patch is now available here: https://github.com/free-nix/pkgs/tree/malakhovski/master I committed it into a branch because compilers.patch causes a massive re-build, so I'd hesitate to place that change into

[Nix-dev] Anarchy

2012-06-27 Thread Michael Weiss
Greetings, I'd like to derail the discussion about policy and focus on the parts about how to reduce the need to agree on policy. As others have pointed out, nix is great for having your own cake and I want to know how to make the most of it. Unfortunately, I'm incapable of really grasping nix

Re: [Nix-dev] Commit access

2012-06-27 Thread Antono Vasiljev
Eelco Dolstra eelco.dols...@logicblox.com writes: Since there appears to be strong^Wpassionate support for having direct commit access to the main Nixpkgs/NixOS repositories, it's clear we should stick to the existing development model at the moment. So if you want commit access, please

[Nix-dev] Using Nix for installing local projects

2012-06-27 Thread Alexander Foremny
Hello list, today I ran into a problem which I don't know how to solve. I needed the Haskell library hoauth [1] which was not available in Nixpkgs. Using cabal2nix and my local Nixpkgs repository creating a Nix expression and installing it via $ nix-env -f ~/code/nixpkgs/default.nix -i

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 12:36 AM, Michael Raskin 7c6f4...@mail.ru wrote: It looks like the main project will be conservative enough to be simple to pull... Are you basing this assessment only on the git situation over the last 6 days, or do you consider the project pre-git to be fairly

Re: [Nix-dev] Anarchy

2012-06-27 Thread Shea Levy
Hi Michi, On Jun 27, 2012, at 8:02 AM, Michael Weiss w...@borasi.de wrote: Greetings, I'd like to derail the discussion about policy and focus on the parts about how to reduce the need to agree on policy. As others have pointed out, nix is great for having your own cake and I want to

Re: [Nix-dev] Commit access

2012-06-27 Thread Eelco Dolstra
Hi Kirill, On 27/06/12 03:18, Kirill Elagin wrote: firefox: Updated to 14.0 Please-please-please let's use present imperative as Git (and many other projects) do? Something like firefox: Update to 14.0. Good point, +1. -- Eelco Dolstra | LogicBlox, Inc. |

Re: [Nix-dev] Using Nix for installing local projects

2012-06-27 Thread Marc Weber
Excerpts from Alexander Foremny's message of Wed Jun 27 15:23:44 +0200 2012: Talking about Haskell its always good to know about your target executable / library. imaginary dependency relations: Lib-A - hoauth - foo - TARGET-EXECUTABLE you want: hoauth-patched - foo' -

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Petr Rockai
Hi folks, Shea Levy s...@shealevy.com writes: That's why I opened this thread, because we have people with different values but no one is really coming out and saying this is what I want, this is why what's here now is bad. I am more or less a bystander and not really active, but this caught

Re: [Nix-dev] Using Nix for installing local projects

2012-06-27 Thread Peter Simons
Hi Alexander, Another option would be to specify a file path as src in cabal.mkDerivation. Is this possible? you could define unpackPhase to be something along the lines of: rsync -a /home/yours/src/hoauth . This would make Nix build whatever you have in your working copy. It's not

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Lluís Batlle i Rossell
On Wed, Jun 27, 2012 at 04:32:33PM +0200, Petr Rockai wrote: Shea Levy s...@shealevy.com writes: That's why I opened this thread, because we have people with different values but no one is really coming out and saying this is what I want, this is why what's here now is bad. I am more or

Re: [Nix-dev] Using Nix for installing local projects

2012-06-27 Thread Alexander Foremny
Thanks for the detailed information! However, it appears as if the simplest approach to this is not possible in NixOS, just installing a local Nix expression. Is there a grave reason for this? I am creating an executable which directly depends on hoauth and hoauth isn't required by any other

Re: [Nix-dev] Using Nix for installing local projects

2012-06-27 Thread Alexander Foremny
Thank you. Those suggestions are helpful too, albeit they are quite hacky. Especially since you cannot force a rebuild of an unchanged Nix expression, but I suppose this is by design. Regards, Alexander Foremny 2012/6/27 Peter Simons sim...@cryp.to: The following message is a courtesy copy of

Re: [Nix-dev] Anarchy

2012-06-27 Thread Marc Weber
Excerpts from Michael Weiss's message of Wed Jun 27 14:02:47 +0200 2012: I have a hard time following you. Having a global namespace for python and ruby's 'expect' or 'mechanize' libraries causing kind of failure doesn't seem to be what we want? Or how would you call them? prefix by python- or

[Nix-dev] [***SPAM***] Re: Improving the Developer Experience in the Nix Community

2012-06-27 Thread Michael Raskin
Well, it was just an example. My point was merely that it's not enough to point out a problem, whenever possible you should point out solutions and be willing to do the legwork necessary to implement them. The real problem is that for many things it does look like the problem is in value

Re: [Nix-dev] Anarchy

2012-06-27 Thread Bryce L Nordgren
On Wed, Jun 27, 2012 at 6:02 AM, Michael Weiss w...@borasi.de wrote: Greetings, I'd like to derail the discussion about policy and focus on the parts about how to reduce the need to agree on policy. As others have pointed out, nix is great for having your own cake and I want to know how to

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
Hi Petr, On Jun 27, 2012, at 10:32 AM, Petr Rockai m...@mornfall.net wrote: Hi folks, Shea Levy s...@shealevy.com writes: That's why I opened this thread, because we have people with different values but no one is really coming out and saying this is what I want, this is why what's here

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 10:48 AM, Lluís Batlle i Rossell vi...@viric.name wrote: On Wed, Jun 27, 2012 at 04:32:33PM +0200, Petr Rockai wrote: Shea Levy s...@shealevy.com writes: That's why I opened this thread, because we have people with different values but no one is really coming out and

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 12:09 PM, Michael Raskin 7c6f4...@mail.ru wrote: Well, it was just an example. My point was merely that it's not enough to point out a problem, whenever possible you should point out solutions and be willing to do the legwork necessary to implement them. The real

[Nix-dev] [***SPAM***] Re: Improving the Developer Experience in the Nix Community

2012-06-27 Thread Michael Raskin
- There is a reasonable public place where I can see every package expression used by any committer. So, if someone uses a git-head version of kernel, it would be nice to see what overrides were needed. Do you mean some sort of repository of local overrides? That might be nice, do you have

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Bryce L Nordgren
On Wed, Jun 27, 2012 at 12:16 PM, Shea Levy s...@shealevy.com wrote: - On the level of Nix as a package manager, there is a way to roll back everything but GC What do you mean, exactly? You can roll back versions of nix, and if you use build.nix in the nix source tree you can build each

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Michael Raskin
Many webapps will need to specify that a database library is present, but may not care which one. Heh: if the web app is so careless to not specify which database to use, there's no reason why other system components should care about a busted web app. The point is: sometimes it can use

[Nix-dev] Fwd: Improving the Developer Experience in the Nix Community

2012-06-27 Thread Bryce L Nordgren
-- Forwarded message -- From: Bryce L Nordgren bnordg...@gmail.com Date: Wed, Jun 27, 2012 at 3:54 PM Subject: Re: [Nix-dev] Improving the Developer Experience in the Nix Community To: 7c6f4...@mail.ru On Wed, Jun 27, 2012 at 2:47 PM, Michael Raskin 7c6f4...@mail.ru wrote:

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Bryce L Nordgren
Continuing with a Java theme: the Java Advanced Imaging interfaces have a (default) pure java implementation as well as a native (accelerated) implementation. How should this be solved? Try find answers yourself. Its the same problem M.R. talked about if buildfarm uses optimiziations your

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Jeffrey Johnson
On Jun 27, 2012, at 5:55 PM, Bryce L Nordgren wrote: -- Forwarded message -- From: Bryce L Nordgren bnordg...@gmail.com Date: Wed, Jun 27, 2012 at 3:54 PM Subject: Re: [Nix-dev] Improving the Developer Experience in the Nix Community To: 7c6f4...@mail.ru On Wed,

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 4:06 PM, Michael Raskin 7c6f4...@mail.ru wrote: - There is a reasonable public place where I can see every package expression used by any committer. So, if someone uses a git-head version of kernel, it would be nice to see what overrides were needed. Do you mean some

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 4:03 PM, Bryce L Nordgren bnordg...@gmail.com wrote: On Wed, Jun 27, 2012 at 12:16 PM, Shea Levy s...@shealevy.com wrote: - On the level of Nix as a package manager, there is a way to roll back everything but GC What do you mean, exactly? You can roll back

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Bryce L Nordgren
Specifics aside (because they were just examples, sometimes poor ones), the point here is that Nix can only express tightly coupled dependencies. Lack of the ability to correctly express loosely coupled relationships causes needless rebuilds. It really doesn't matter whether Java has achieved

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 6:17 PM, Bryce L Nordgren bnordg...@gmail.com wrote: Continuing with a Java theme: the Java Advanced Imaging interfaces have a (default) pure java implementation as well as a native (accelerated) implementation. How should this be solved? Try find answers

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Marc Weber
Excerpts from Shea Levy's message of Thu Jun 28 00:38:16 +0200 2012: Ok. Why was builderDefs rejected? What problems do you see with it, and what do others see? What does reject mean? I'd say it was not adopted (by me yet) because the existing monolitic setup.sh works good enough - I have my

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 6:51 PM, Marc Weber marco-owe...@gmx.de wrote: Excerpts from Shea Levy's message of Thu Jun 28 00:38:16 +0200 2012: Ok. Why was builderDefs rejected? What problems do you see with it, and what do others see? What does reject mean? Eelco has said on a few occasions that

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Marc Weber
Excerpts from Shea Levy's message of Thu Jun 28 00:52:53 +0200 2012: Eelco has said on a few occasions that new packages should not use builderDefs, IIRC. I guess the right thing to do is adding a comment then (?) I missed it his advice :( Marc Weber

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Bryce L Nordgren
On Wed, Jun 27, 2012 at 4:48 PM, Shea Levy s...@shealevy.com wrote: Well, to be honest I was more hoping for suggestions about how to improve the developer community, policies, etc. rather than technical improvements. But ideas for those are always good too, so please keep discussing :)

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Shea Levy
On Jun 27, 2012, at 7:09 PM, Bryce L Nordgren bnordg...@gmail.com wrote: On Wed, Jun 27, 2012 at 4:48 PM, Shea Levy s...@shealevy.com wrote: Well, to be honest I was more hoping for suggestions about how to improve the developer community, policies, etc. rather than technical

Re: [Nix-dev] Improving the Developer Experience in the NixCommunity

2012-06-27 Thread Michael Raskin
Continuing with a Java theme: the Java Advanced Imaging interfaces have a (default) pure java implementation as well as a native (accelerated) implementation. How should this be solved? Try find answers yourself. Its the same problem M.R. talked about if buildfarm uses optimiziations your

[Nix-dev] [***SPAM***] Re: Improving the Developer Experience in theNix Community

2012-06-27 Thread Michael Raskin
None of which works too well in practice (though java is certainly farther along than other languages). Same with pure python, pure ruby, pure perl, pure anything with a VM. python isn't compatible with itself because of 3.0. ruby is even more of a mess with rvm and per-user shadow trees that

Re: [Nix-dev] Improving the Developer Experience in the NixCommunity

2012-06-27 Thread Michael Raskin
Excerpts from Shea Levy's message of Thu Jun 28 00:38:16 +0200 2012: Ok. Why was builderDefs rejected? What problems do you see with it, and what do others see? What does reject mean? I'd say it was not adopted (by me yet) because the existing monolitic setup.sh works good enough - I have my

[Nix-dev] [***SPAM***] Re: Improving the Developer Experience in the NixCommunity

2012-06-27 Thread Michael Raskin
Continuing with a Java theme: the Java Advanced Imaging interfaces have a (default) pure java implementation as well as a native (accelerated) implementation. How should this be solved? Try find answers yourself. Its the same problem M.R. talked about if buildfarm uses optimiziations

[Nix-dev] [***SPAM***] Re: Improving the Developer Experience in the Nix Community

2012-06-27 Thread Michael Raskin
Frankly, from the technical point of view I would prefer a set of overridable knobs gradually added to the packages in the main set. This gives easier discoverability which is nice. Of course, this clashes with the struggle for simplicity of the main expression or something else like that.

Re: [Nix-dev] Commit access

2012-06-27 Thread Rok Garbas
Quoting Antono Vasiljev (2012-06-27 14:18:34) Eelco Dolstra eelco.dols...@logicblox.com writes: Since there appears to be strong^Wpassionate support for having direct commit access to the main Nixpkgs/NixOS repositories, it's clear we should stick to the existing development model at the