Skip to content

Commit

Permalink
Merge pull request tweag#115 from tweag/ch/explicit-unsupported-platf…
Browse files Browse the repository at this point in the history
…orm-message

Make 'platform is not supported' message more detailed
  • Loading branch information
smelc authored Mar 25, 2020
2 parents 35c8535 + 8e4f116 commit 451876c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixpkgs/nixpkgs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _nixpkgs_package_impl(repository_ctx):
expr_args.extend(["-I", nix_path])

if not_supported and fail_not_supported:
fail("Platform is not supported (see 'fail_not_supported')")
fail("Platform is not supported: nix-build not found in PATH. See attribute fail_not_supported if you don't want to use Nix.")
elif not_supported:
return
else:
Expand Down

0 comments on commit 451876c

Please sign in to comment.