diff options
author | Dylan Green <67574902+cidkidnix@users.noreply.github.com> | 2022-09-29 08:49:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 08:49:22 -0500 |
commit | 792988c35e6609940909042d2d32ef6ceb6e3149 (patch) | |
tree | 04e32395208cc33dd16949fbac5ce46592471ef8 | |
parent | df3298f2ef7a6732ac6a246d2d9a318914d8f240 (diff) | |
download | nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar.gz nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar.bz2 nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar.lz nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar.xz nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.tar.zst nixpkgs-792988c35e6609940909042d2d32ef6ceb6e3149.zip |
libelf: prevent massive re-build
Co-authored-by: John Ericson <git@JohnEricson.me>
-rw-r--r-- | pkgs/development/libraries/libelf/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix index 65c34b854f8..07873f4197e 100644 --- a/pkgs/development/libraries/libelf/default.nix +++ b/pkgs/development/libraries/libelf/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { doCheck = true; - preConfigure = lib.optionalString (stdenv.hostPlatform.useAndroidPrebuilt) '' + preConfigure = if !stdenv.hostPlatform.useAndroidPrebuilt then null else '' sed -i 's|DISTSUBDIRS = lib po|DISTSUBDIRS = lib|g' Makefile.in sed -i 's|SUBDIRS = lib @POSUB@|SUBDIRS = lib|g' Makefile.in ''; |