[Nix-dev] How do I ...

Pjotr Prins pjotr2008 at thebird.nl
Tue Sep 23 10:03:39 CEST 2008


Hi Everyone,

Thanks for the replies - it is heartening as I was getting a bit
desperate I would get any help through the mailing list. I am not much
of an IRC lover, but maybe I should change that.

There were too many variables and the manual gave the wrong
information. It suggests you can use the command line. What I tried
was having a config.nix in my packages dir - thinking that nix-env -f
. would pick that up. It does *something* because if I put in a syntax
error Nix will balk. Another problem may be that the package does not
get rebuilt - after changing the parameter. I don't know, but I'll try
./.nix-pkgs/config.nix first, next force the package to get rebuilt
(how does one do that?), and if that fails upgrade Nix to a later
version.

It would be good we post versions that work, btw. Somewhere. I have
the impression not every 'release' is recommended.

Pj.


On Mon, Sep 22, 2008 at 11:37:19PM +0200, Marc Weber wrote:
> >On Mon, Sep 22, 2008 at 09:48:37AM +0200, Pjotr Prins wrote:
> If you like try contacting me on irc tomorrow. we can reslove the issure
> then.
> You can't (yet) pass those parameters on commandline .. you could patch
> nix to do so.. but I reale doubt you want to.
> 
> At least I like that you have only 3 configs: the .nixpkgs/config,
> /etc/nixos/configuration.nix and the nix repo(s) to define your system.
> Parameters given on the commandline will be forgotten so if it ever
> happens that you just want to have the same applications on anoter nix
> system all you have to do is copying your personal config.
> The command lines would have been lost and you would have to try to get
> them right again (waste of time :-) (IMHO)
> 
> Sincerly
> Marc
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list