spike: add test to nixosTests

This commit is contained in:
Julian Stecklina 2020-04-22 14:40:38 +02:00
parent f690b34603
commit a33ce7e4fb
2 changed files with 6 additions and 1 deletions

View file

@ -287,6 +287,7 @@ in
snapper = handleTest ./snapper.nix {};
solr = handleTest ./solr.nix {};
spacecookie = handleTest ./spacecookie.nix {};
spike = handleTest ./spike.nix {};
sonarr = handleTest ./sonarr.nix {};
strongswan-swanctl = handleTest ./strongswan-swanctl.nix {};
sudo = handleTest ./sudo.nix {};

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, dtc }:
{ stdenv, fetchgit, dtc, nixosTests }:
stdenv.mkDerivation rec {
pname = "spike";
@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests = {
can-run-hello-world = nixosTests.spike;
};
meta = with stdenv.lib; {
description = "A RISC-V ISA Simulator";
homepage = "https://github.com/riscv/riscv-isa-sim";