Merge pull request #223716 from wegank/nixpkgs-review-hotfix
rust-hypervisor-firmware: check if path exists
This commit is contained in:
commit
820ad5f296
@ -11,6 +11,11 @@ let
|
|||||||
|
|
||||||
target = ./. + "/${arch}-unknown-none.json";
|
target = ./. + "/${arch}-unknown-none.json";
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
|
assert lib.assertMsg (builtins.pathExists target) "Target spec not found";
|
||||||
|
|
||||||
|
let
|
||||||
cross = import ../../../.. {
|
cross = import ../../../.. {
|
||||||
system = hostPlatform.system;
|
system = hostPlatform.system;
|
||||||
crossSystem = lib.systems.examples."${arch}-embedded" // {
|
crossSystem = lib.systems.examples."${arch}-embedded" // {
|
||||||
|
Loading…
Reference in New Issue
Block a user