[Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

Luca Bruno lethalman88 at gmail.com
Tue Dec 16 10:04:27 CET 2014


On 16/12/2014 04:58, Carlo Nucera wrote:
> Hi Bruno,
> I don't know how to do that mantaing my ~/.nixpkgs/config.nix, which looks like:
>
> {
>   packageOverrides = pkgs: rec {
>     haskellPackages = pkgs.recurseIntoAttrs (
>       pkgs.haskellPackages.override {
>         extension = self: super:
>           let callPackage = self.callPackage;
>           in {
>             prettify = callPackage
> /home/carlo/code/nix-
> packaging/prettify/default.nix {};
>           };
>       }
>     );
>   };
> }
>
>
> Do you have any suggestion?
Ok if you don't want to put yourself in nixpkgs, you can try this:

packageOverrides = pkgs: {
  ...
  stdenv = pkgs.stdenv // {
    lib.maintainers = pkgs.stdenv.lib.maintainers // {
      yournamehere = "yournamehere";
    };
  };
  ...
}

Not sure if it will work for you.


More information about the nix-dev mailing list