Fix virtualbox test evaluation
This commit is contained in:
parent
9e6eec201b
commit
3fe93d2f75
@ -4,12 +4,12 @@ with import ../lib/testing.nix { inherit system; };
|
|||||||
with pkgs.lib;
|
with pkgs.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
testVMConfig = vmName: attrs: { config, pkgs, ... }: let
|
testVMConfig = vmName: attrs: { config, pkgs, lib, ... }: let
|
||||||
guestAdditions = pkgs.linuxPackages.virtualboxGuestAdditions;
|
guestAdditions = pkgs.linuxPackages.virtualboxGuestAdditions;
|
||||||
|
|
||||||
miniInit = ''
|
miniInit = ''
|
||||||
#!${pkgs.stdenv.shell} -xe
|
#!${pkgs.stdenv.shell} -xe
|
||||||
export PATH="${stdenv.lib.makeBinPath [ pkgs.coreutils pkgs.utillinux ]}"
|
export PATH="${lib.makeBinPath [ pkgs.coreutils pkgs.utillinux ]}"
|
||||||
|
|
||||||
mkdir -p /var/run/dbus
|
mkdir -p /var/run/dbus
|
||||||
cat > /etc/passwd <<EOF
|
cat > /etc/passwd <<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user