Re: [Nix-dev] Improve docs for overrideDerivation - overridable attributes

2016-07-12 Thread Alex Berg
I updated the "overrideDerivation" docs yesterday to clarify this. Was merged today. https://github.com/NixOS/nixpkgs/pull/16867 Thanks, all! On Fri, Jul 1, 2016 at 10:00 AM, Profpatsch wrote: > On 16-06-30 11:18am, Alex Berg wrote: > > Where can I find explanation for this? If there is a rest

Re: [Nix-dev] Improve docs for overrideDerivation - overridable attributes

2016-07-01 Thread Profpatsch
On 16-06-30 11:18am, Alex Berg wrote: > Where can I find explanation for this? If there is a restriction on which > attributes are overridable, then I'd like to note this in the NixPkgs > manual, here: > https://nixos.org/nixpkgs/manual/index.html#sec-pkg-overrideDerivation I have a short overview

Re: [Nix-dev] Improve docs for overrideDerivation - overridable attributes

2016-06-30 Thread Alex Berg
Oh wow! I never would have guessed this was a behavior of the `rec` keyword! Nice idea! I'll play around with it to verify my understanding and then submit a PR to the NixPkgs manual to note this behavior for other people who might discover this pitfall. That'll take me several days. :) Much appre

Re: [Nix-dev] Improve docs for overrideDerivation - overridable attributes

2016-06-30 Thread Layus
On 30/06/16 20:18, Alex Berg wrote: I created a new "~/.nixpkgs/config.nix" file to customize the nix-channel-obtained nixpkgs copy on my system - my goal was to bump the version of Vim to a specific version. My first attempt was to override the derivation and simply set the "version" attribu

[Nix-dev] Improve docs for overrideDerivation - overridable attributes

2016-06-30 Thread Alex Berg
I created a new "~/.nixpkgs/config.nix" file to customize the nix-channel-obtained nixpkgs copy on my system - my goal was to bump the version of Vim to a specific version. My first attempt was to override the derivation and simply set the "version" attribute, like this: { packageOverrides = pk