Merge pull request #181157 from amjoseph-nixpkgs/pr/release-cross/explain

release-cross.nix: explain how to run jobs individually
This commit is contained in:
Rick van Schijndel 2022-07-12 23:45:17 +02:00 committed by GitHub
commit b0be4224f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,11 @@
/* This file defines some basic smoke tests for cross compilation.
Individual jobs can be tested by running:
$ nix-build pkgs/top-level/release-cross.nix -A <jobname>.<package> --arg supportedSystems '[builtins.currentSystem]'
e.g.
$ nix-build pkgs/top-level/release-cross.nix -A crossMingw32.nixUnstable --arg supportedSystems '[builtins.currentSystem]'
*/
{ # The platforms *from* which we cross compile.