Hi,
so here is what I've got so far... maybe my approach is nonsense, but
I don't know that (yet... feel free to point me to a better one).
It doesn't work, though, as I get:
error: value is a function while a set was expected
and I don't know why.
Here is my custom-kernel.nix. The import
Hi,
Basically you need to build the vm attribute from
/nixos/default.nix.
You can do this with
nix-build /path/to/nixpkgs/nixos -A vm
or even with
nixos-rebuild build-vm
You also need to specify an alternate nixos config, which you can do using
NIXOS_CONFIG=/path/to/custom/configuration.nix
On Mon, Jun 27, 2016, at 08:52 PM, Matthias Beyer wrote:
> basically what I do with `nixos-rebuild build-vm` but from another
> configuration.nix than my system-configuration.nix.
You probably want something like
```
$ nix-build -I nixpkgs=/my/nixpkgs -I nixos-config=/my/configuration.nix
'' -A v
This looks like a starting point,
but what I want to do is to build a full "nixos-rebuild build-vm"-VM
with it - so I have some X-Server running, some browser installed and
so on.
basically what I do with `nixos-rebuild build-vm` but from another
configuration.nix than my system-configuration.
Forgot to answer, thanks for the ping:
https://github.com/NixOS/nixpkgs/issues/14721
On Mon, Jun 27, 2016, 20:30 Matthias Beyer wrote:
> Hi there,
>
> so I'm sending a PING on this because nobody responded. This will be
> my only PING (as I'm really interested in doing this) and I will not
> sen
Hi there,
so I'm sending a PING on this because nobody responded. This will be
my only PING (as I'm really interested in doing this) and I will not
send any further PINGs on this, as it might be too much noise for some
people in here.
On 18-06-2016 20:16:48, Matthias Beyer wrote:
> Hi,
>
> I
Hi,
I want to get my feet wet with kernel development after my bachelors
thesis and maybe someone has a working setup for kernel dev with
NixOS.
I especially think about doing a `nixos-rebuild build-vm` with a
self-compiled kernel, so what I'm looking for is something like this:
A way to