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
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
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
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
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