Unverified Commit 4025014f authored by Alyssa Ross's avatar Alyssa Ross
Browse files

systemd.tests.cross: fix on aarch64-linux

We shouldn't try compiling to aarch64-unknown-linux-gnu from
aarch64-unknown-linux-gnu, because that tends to confuse things and is
not representative of actual cross compilation usage.  In this case,
kexec-tools didn't compile.
parent 887edae2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -736,7 +736,7 @@ stdenv.mkDerivation (finalAttrs: {

    tests = {
      inherit (nixosTests) switchTest;
      cross = pkgsCross.aarch64-multiplatform.systemd;
      cross = pkgsCross.${if stdenv.buildPlatform.isAarch64 then "gnu64" else "aarch64-multiplatform"}.systemd;
    };
  };