Re: [Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-07-15 Thread Matthias Beyer
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

Re: [Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-06-27 Thread joachifm
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

Re: [Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-06-27 Thread Matthias Beyer
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

Re: [Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-06-27 Thread Domen Kožar
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

Re: [Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-06-27 Thread Matthias Beyer
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

[Nix-dev] Has someone a working setup for Kernel development with NixOS?

2016-06-18 Thread Matthias Beyer
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