Re: [Nix-dev] (setcap-wrapper) Building a nixos vm to test nixos-level modifications

2016-07-01 Thread Parnell Springmeyer
This was very helpful, thank you Layus! On Fri, Jul 1, 2016 at 1:38 AM, Layus wrote: > To build a nixos vm based on a custom configuration.nix, you use > > $ export NIXOS_CONFIG=/my/custom/configuration.nix > then > $ nix-build “/your/checkout/of/nixpkgs”/nixos -A vm; # or,

Re: [Nix-dev] (setcap-wrapper) Building a nixos vm to test nixos-level modifications

2016-07-01 Thread Layus
To build a nixos vm based on a custom configuration.nix, you use $ export NIXOS_CONFIG=/my/custom/configuration.nix then $ nix-build “/your/checkout/of/nixpkgs”/nixos -A vm; # or, preferably, $ nixos-rebuild build-vm -I nixpkgs=/your/checkout/of/nixpkgs But see the excellent ML thread about

[Nix-dev] (setcap-wrapper) Building a nixos vm to test nixos-level modifications

2016-06-30 Thread Parnell Springmeyer
Hi! I recently added setcap-wrapper functionality to nixos at awake networks and I have contributed the changes in a fork on my own branch. My ask is: I'm having trouble figuring out how I should test this. Building a package is easy but is there a formula some where for building a nixos VM to