about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-02-20 13:33:56 -0600
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-21 16:57:39 +0200
commit8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a (patch)
treef6d9605e2cf74b86945efd60ed4ad41cae5e1c58 /pkgs/development/tools
parenta65221e56bf11bd906e080958c4179708f1cbf7b (diff)
downloadnixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar.gz
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar.bz2
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar.lz
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar.xz
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.tar.zst
nixlib-8989a6b0f750931641e7fb0f0bc47cc7af1d3a4a.zip
strace: disable mpers (multiple personality) support on aarch64 to fix
https://hydra.nixos.org/build/69542376

[dezgeg: changed to --enable-mpers=check instead of --enable-mpers=no,
which makes it probe at build-time whether a certain personality is
supported and enable it only if the probe succeeded, instead of
unconditionally disabling it. Should be more future-proof.]
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/strace/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/strace/default.nix b/pkgs/development/tools/misc/strace/default.nix
index 6c19c51c8c86..e5f298a1cabc 100644
--- a/pkgs/development/tools/misc/strace/default.nix
+++ b/pkgs/development/tools/misc/strace/default.nix
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ libunwind ]; # support -k
 
+  configureFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 "--enable-mpers=check";
+
   meta = with stdenv.lib; {
     homepage = http://strace.sourceforge.net/;
     description = "A system call tracer for Linux";