From edab9e49760445482896618992d8b8e0d2bafdf0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Jul 2013 13:59:00 +0200 Subject: [PATCH] Ensure that "nixos-rebuild" works in the VirtualBox VM --- modules/installer/virtualbox-demo.nix | 10 ++++++++++ release.nix | 4 +--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 modules/installer/virtualbox-demo.nix diff --git a/modules/installer/virtualbox-demo.nix b/modules/installer/virtualbox-demo.nix new file mode 100644 index 000000000000..3b4238858bd3 --- /dev/null +++ b/modules/installer/virtualbox-demo.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + require = + [ ../virtualisation/virtualbox-image.nix + ../installer/cd-dvd/channel.nix + ../profiles/demo.nix + ../profiles/clone-config.nix + ]; +} diff --git a/release.nix b/release.nix index f4decf594dcc..06f1a4470844 100644 --- a/release.nix +++ b/release.nix @@ -184,9 +184,7 @@ in { inherit system; modules = [ versionModule - ./modules/virtualisation/virtualbox-image.nix - ./modules/installer/cd-dvd/channel.nix - ./modules/profiles/demo.nix + ./modules/installer/virtualbox-demo.nix ]; }).config;