diff options
author | Travis Athougies <iammisc@gmail.com> | 2018-12-04 15:25:54 -0800 |
---|---|---|
committer | Renaud <c0bw3b@users.noreply.github.com> | 2018-12-05 00:25:54 +0100 |
commit | b682e03e125f73985d6aa9c6c8ee9da1abc29935 (patch) | |
tree | 197e1bf00e62ff9cafb250ca89fd21c83de1c64f /pkgs/development/libraries/libgpg-error | |
parent | 478654da767f06ff695b2f46b8f8d04362652167 (diff) | |
download | nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar.gz nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar.bz2 nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar.lz nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar.xz nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.tar.zst nixlib-b682e03e125f73985d6aa9c6c8ee9da1abc29935.zip |
libgpg-error: enable Aarch32 support for musl
* Add ARM32 musl support for libgpg-error (#51013) * libgpg-error: link headers instead of copying
Diffstat (limited to 'pkgs/development/libraries/libgpg-error')
-rw-r--r-- | pkgs/development/libraries/libgpg-error/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix index 52d0f6f05cce..e713eb7f8918 100644 --- a/pkgs/development/libraries/libgpg-error/default.nix +++ b/pkgs/development/libraries/libgpg-error/default.nix @@ -28,8 +28,11 @@ in stdenv.mkDerivation (rec { sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && 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 '' + '' + lib.optionalString (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isMusl) '' ln -s lock-obj-pub.x86_64-pc-linux-musl.h src/syscfg/lock-obj-pub.linux-musl.h + '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) '' + ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h + ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h ''; outputs = [ "out" "dev" "info" ]; |