spike: do not re-evaluate nixpkgs
Avoid breaking flakes pure evaluation by using pkgsCross to get RISC-V test binaries.
This commit is contained in:
parent
4ea5a47297
commit
8e3ff64369
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchgit, dtc, fetchpatch }:
|
||||
{ lib, stdenv, fetchgit, dtc, fetchpatch, pkgsCross }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spike";
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
doInstallCheck = true;
|
||||
installCheckPhase =
|
||||
let
|
||||
riscvPkgs = import ../../../.. { crossSystem = lib.systems.examples.riscv64-embedded; };
|
||||
riscvPkgs = pkgsCross.riscv64-embedded;
|
||||
in
|
||||
''
|
||||
runHook preInstallCheck
|
||||
|
|
Loading…
Reference in a new issue