mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
solo5: remove unsupported qemu flag in test
This commit is contained in:
parent
7bba7b6029
commit
4858ce6b75
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, dosfstools, libseccomp, makeWrapper, mtools, parted
|
||||
, pkg-config, qemu, syslinux, util-linux }:
|
||||
, pkg-config, qemu_test, syslinux, util-linux }:
|
||||
|
||||
let
|
||||
version = "0.8.1";
|
||||
@ -55,10 +55,12 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform.isLinux;
|
||||
nativeCheckInputs = [ util-linux qemu ];
|
||||
nativeCheckInputs = [ util-linux qemu_test ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
patchShebangs tests
|
||||
substituteInPlace scripts/virtio-run/solo5-virtio-run.sh \
|
||||
--replace " -no-acpi" ""
|
||||
./tests/bats-core/bats ./tests/tests.bats
|
||||
runHook postCheck
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user