Merge pull request #223716 from wegank/nixpkgs-review-hotfix

rust-hypervisor-firmware: check if path exists
This commit is contained in:
Weijia Wang 2023-03-29 13:52:14 +03:00 committed by GitHub
commit 820ad5f296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ let
target = ./. + "/${arch}-unknown-none.json";
in
assert lib.assertMsg (builtins.pathExists target) "Target spec not found";
let
cross = import ../../../.. {
system = hostPlatform.system;
crossSystem = lib.systems.examples."${arch}-embedded" // {