diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-07-15 00:14:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-15 00:14:47 +0000 |
commit | 4f3b5848de2c78b7c99e033babebedc619397517 (patch) | |
tree | 72595106fa73ecc87a2d867ea023dd7f21c5d8cc /pkgs/test | |
parent | 240ae41cbfac5cb3d912bb31c35957774d1e342c (diff) | |
parent | b048ee42e97bf6f39ced675d73dade2d5b414e63 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/cross/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/test/cross/default.nix b/pkgs/test/cross/default.nix index beb64df195773..a5144fe2cef66 100644 --- a/pkgs/test/cross/default.nix +++ b/pkgs/test/cross/default.nix @@ -110,4 +110,14 @@ let in { gcc = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = false;})) tests); llvm = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = true;})) tests); + + # see https://github.com/NixOS/nixpkgs/issues/213453 + # this is a good test of a lot of tricky glibc/libgcc corner cases + mbuffer = let + mbuffer = pkgs.pkgsCross.aarch64-multiplatform.mbuffer; + emulator = with lib.systems; (elaborate examples.aarch64-multiplatform).emulator pkgs; + in + pkgs.runCommand "test-mbuffer" {} '' + echo hello | ${emulator} ${mbuffer}/bin/mbuffer + ''; } |