Skip to content

Commit 0a8e692

Browse files
stdenv: show supported and requested platforms when check meta fails
1 parent 23ce77d commit 0a8e692

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/stdenv/generic/check-meta.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ let
367367
else if !allowBroken && attrs.meta.broken or false then
368368
{ valid = "no"; reason = "broken"; errormsg = "is marked as broken"; }
369369
else if !allowUnsupportedSystem && hasUnsupportedPlatform attrs then
370-
{ valid = "no"; reason = "unsupported"; errormsg = "is not supported on ‘${hostPlatform.system}’"; }
370+
{ valid = "no"; reason = "unsupported"; errormsg = "is only supported on `${toString attrs.meta.platforms}` but not on requested${hostPlatform.system}’"; }
371371
else if !(hasAllowedInsecure attrs) then
372372
{ valid = "no"; reason = "insecure"; errormsg = "is marked as insecure"; }
373373

0 commit comments

Comments
 (0)