[Nix-dev] Overriding configure flags in nix.

Marc Weber marco-oweber at gmx.de
Mon Dec 31 18:04:11 CET 2012


Excerpts from shacka's message of Mon Dec 31 17:56:59 +0100 2012:
> Now the question... I'm using rxvt-unicode and trying to get my favorite
> color schemes working. By default urxvt compiled without --enable-256-color
> flag. I'm trying to figure out how to override that. Is it even possible
> without creating new nix package?
Why not send a patch to enable it permanently?

You can use overrideDerivation to do what you want.


{ pkgs, ... } : {

  packageOverrides = p: {
    rxvt_unicode = p.overrideDerivation p.rxvt_unicode { configureFlags = ...; };
  }
}

or such.

Marc Weber


More information about the nix-dev mailing list