diff --git a/nemu/default.nix b/nemu/default.nix index ee02064..162a77a 100644 --- a/nemu/default.nix +++ b/nemu/default.nix @@ -1,6 +1,7 @@ { pkgs, lib, - stdenv + stdenv, + am-kernels }: stdenv.mkDerivation rec { @@ -21,6 +22,12 @@ stdenv.mkDerivation rec { libllvm ]; + checkInputs = [ + am-kernels + ]; + + IMAGES_PATH = "${am-kernels}/share/images" + configurePhase = '' export NEMU_HOME=$(pwd) make alldefconfig