mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
box86: Fix updateScript
Need gitUpdater from buildPackages, otherwise it tries to cross-compile some things that are broken on cross (pycparser, Nix)
This commit is contained in:
parent
489420ebfa
commit
793e6d9a18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user