Merge pull request #331104 from OPNA2608/fix/box86-updateScript

box86: Fix updateScript
This commit is contained in:
Aleksana 2024-08-03 21:10:11 +08:00 committed by GitHub
commit 9e6ea3d29d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
{
buildPackages,
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
cmake,
python3,
withDynarec ? stdenv.hostPlatform.isAarch32,
@ -71,7 +71,8 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
# gitUpdater for local system, otherwise we're cross-compiling gitUpdater
updateScript = buildPackages.gitUpdater { rev-prefix = "v"; };
tests.hello =
runCommand "box86-test-hello" { nativeBuildInputs = [ finalAttrs.finalPackage ]; }
# There is no actual "Hello, world!" with any of the logging enabled, and with all logging disabled it's hard to