[Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix
Carlo Nucera
meditans at gmail.com
Tue Dec 16 04:58:25 CET 2014
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?
Best regards
Carlo
2014-12-16 4:57 GMT+01:00 Carlo Nucera <meditans at gmail.com>:
> 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?
>
> 2014-12-15 13:15 GMT+01:00 Luca Bruno <lethalman88 at gmail.com>:
>> On 15/12/2014 13:09, Carlo Nucera wrote:
>>> Hi all,
>>> I'm packaging some Haskell stuff, and I begin to use the -m option
>>> in cabal2nix to add myself as a mantainer for the packages I want to
>>> keep in good shape.
>>>
>>> I'm packaging locally, overwriting the attributes in
>>> ~/.nixpkgs/config.nix. Unfortunately, when I try to install the
>>> packages, nix complains that my name is not in the mantainers list.
>>>
>>> So, is there a way to add a name to nixpkgs mantainers list,
>>> overriding the attribute in ~/.nixpkgs/config.nix?
>> Use a git nixpkgs clone and yourself to maintainers it the easiest.
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list