summary refs log tree commit diff
path: root/pkgs/development/libraries/libgpg-error
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-31 16:00:35 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-31 16:02:52 -0400
commit0a948673f4d66380d7dc522e6641cdeb2e3b99e9 (patch)
treeb12711dbeda1b10b283996d8113e1bad55f34010 /pkgs/development/libraries/libgpg-error
parent82110ae6565536e5832ad92e1f6566b4d3b64316 (diff)
libgpg-error: Don't use deprecated `isArm`
Diffstat (limited to 'pkgs/development/libraries/libgpg-error')
-rw-r--r--pkgs/development/libraries/libgpg-error/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix
index ccac20c907743..9d1427f7f451c 100644
--- a/pkgs/development/libraries/libgpg-error/default.nix
+++ b/pkgs/development/libraries/libgpg-error/default.nix
@@ -34,7 +34,7 @@ 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 ) ''
+  '' + 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 ''
     ln -s lock-obj-pub.x86_64-pc-linux-musl.h src/syscfg/lock-obj-pub.linux-musl.h