diff options
author | georgewhewell <georgerw@gmail.com> | 2018-07-14 19:43:43 +0100 |
---|---|---|
committer | georgewhewell <georgerw@gmail.com> | 2018-07-14 19:43:43 +0100 |
commit | 656a7abd351cb157f40e9dc765e5e8b7a1127c0b (patch) | |
tree | ac274916758c2ebe5b749e1ece068952e93017a0 | |
parent | 1301973797ac540a20d782859bedd23f6719c7e2 (diff) | |
download | nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar.gz nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar.bz2 nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar.lz nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar.xz nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.tar.zst nixlib-656a7abd351cb157f40e9dc765e5e8b7a1127c0b.zip |
fix libgpg-error build on armv7
-rw-r--r-- | pkgs/development/libraries/libgpg-error/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix index 2fcf6701ab8f..ccac20c90774 100644 --- a/pkgs/development/libraries/libgpg-error/default.nix +++ b/pkgs/development/libraries/libgpg-error/default.nix @@ -34,6 +34,8 @@ in stdenv.mkDerivation (rec { postPatch = '' sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure + '' + lib.optionalString (stdenv.hostPlatform.isArm && stdenv.buildPlatform != stdenv.hostPlatform ) '' + ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-gnueabihf.h '' + lib.optionalString stdenv.hostPlatform.isMusl '' ln -s lock-obj-pub.x86_64-pc-linux-musl.h src/syscfg/lock-obj-pub.linux-musl.h ''; |