tests.build-environment-info: init (#351794)

This commit is contained in:
Martin Weinelt 2024-10-28 03:18:34 +01:00 committed by GitHub
commit 95d29b24b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{ runCommand }:
# Prints information about the state of the build environment for
# assistance debugging Hydra. Feel free to add anything you would find
# useful to this.
runCommand "build-environment-info" { } ''
ulimit -a
# Always fail so that this job can easily be restarted.
exit 1
''

View File

@ -185,4 +185,6 @@ with pkgs;
replaceVars = recurseIntoAttrs (callPackage ./replace-vars { });
substitute = recurseIntoAttrs (callPackage ./substitute { });
build-environment-info = callPackage ./build-environment-info { };
}