[Nix-dev] How to test my service definition without actually "installing" it?
Arseniy Seroka
senia00 at gmail.com
Thu May 14 12:43:26 CEST 2015
That can help you to answer all your questions :)
https://github.com/jagajaga/nixpkgs/blob/addition/contributing/CONTRIBUTING.md
On 14 May 2015 13:29:14 Matthias Beyer <mail at beyermatthias.de> wrote:
> On 14-05-2015 11:28:24, Luca Bruno wrote:
> > On 14/05/2015 11:18, Matthias Beyer wrote:
> > >
> > >
> > > How do you do that? My approach is nixos-rebuild build-vm as someone
> > > else (I guess it was Lethalman) suggested, but it fails with:
> > >
> > > $ sudo nixos-rebuild build-vm -I .
> > > building Nix...
> > > building the system configuration...
> > > error: The option `services.taskserver' defined in
> > `/nix/store/sz5aszzk5hn943pcw66iqy5jf21hrws4-nixos/services/taskwarrior.nix'
> > does not exist.
> > > (use '--show-trace' to show detailed location information)
> > >
> > > unfortunately. Any pointers?
> > That's really about how you added the module and that -I option that is
> > suspiciously wrong.
> >
>
> I got it "running" with
>
> sudo nixos-rebuild build-vm -I nixpkgs=~/dev/contrib/nixpkgs/ --fallback -j
> 8 --cores 8
>
> but it actually fails to build as dependencies cannot be build. :-(
>
> --
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
>
> Proudly sent with mutt.
> Happily signed with gnupg.
>
>
>
> ----------
> _______________________________________________
> 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