[Nix-dev] Does $NIXPKGS_CONFIG still work for anyone?

Tony White tonywhite100 at googlemail.com
Fri Oct 16 03:09:57 CEST 2009


Hi all,
I'm trying to use $NIXPKGS_CONFIG again which in my case I want to use
/nix/etc/config.nix to set some options system wide. git svn and the
jre plugin.
I remember using $NIXPKGS_CONFIG before and it worked. So I looked
back over the thread where it was explained to me how to use it.
Now I try to use it with modular NixOs and it doesn't seem to take any more.

This is what's in /nix/etc/config.nix :

{
        git = { svnSupport = true; };
        subversion = { perlBindings = true; };
        wrapFirefox = { jrePlugin = true; };
}


Here's what the environment variable is returning :

sudo echo $NIXPKGS_CONFIG
/nix/etc/config.nix

Here's what I have in /etc/nixos/configuration.nix :

  environment.systemPackages = [
                        pkgs.git
                ];


After I rebuild-switch, I still don't seem to have git svn or jrePlugin :

git svn
Can't locate SVN/Core.pm in @INC (@INC contains:
/nix/store/pi8fbamqw2slxams568vldaszvvalgr4-git-1.6.4.4/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi
/nix/store/pi8fbamqw2slxams568vldaszvvalgr4-git-1.6.4.4/lib/perl5/site_perl/5.10.0
/nix/var/nix/profiles/per-user/root/profile/lib/perl5/site_perl
/nix/var/nix/profiles/per-user/root/profile/lib/site_perl
/nix/var/nix/profiles/default/lib/perl5/site_perl
/nix/var/nix/profiles/default/lib/site_perl
/nix/store/lfgkdgwq38xdpqd4s3fd12a0lyf45v6n-perl-5.10.0/lib/perl5/5.10.0/i686-linux-thread-multi
/nix/store/lfgkdgwq38xdpqd4s3fd12a0lyf45v6n-perl-5.10.0/lib/perl5/5.10.0
/nix/store/lfgkdgwq38xdpqd4s3fd12a0lyf45v6n-perl-5.10.0/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi
/nix/store/lfgkdgwq38xdpqd4s3fd12a0lyf45v6n-perl-5.10.0/lib/perl5/site_perl/5.10.0
.) at /nix/store/pi8fbamqw2slxams568vldaszvvalgr4-git-1.6.4.4/libexec/git-core/git-svn
line 30.

git-svn
git-svn not supported, reinstall with config git = { svnSupport = true } set

Is my /nix/etc/config.nix wrong, it'ssomething else or is it a bug?
Does it work for anyone else?

Thanks,
Tony



More information about the nix-dev mailing list