lnav: fix cross (#396101)

authored by misuzu.tngl.sh and committed by GitHub 8e7cc728 27c0f6a1

+14 -10
+14 -10
pkgs/by-name/ln/lnav/package.nix
··· 20 20 rustPlatform, 21 21 rustc, 22 22 libunistring, 23 + prqlSupport ? stdenv.hostPlatform == stdenv.buildPlatform, 23 24 }: 24 25 25 26 stdenv.mkDerivation (finalAttrs: { ··· 41 42 42 43 depsBuildBuild = [ buildPackages.stdenv.cc ]; 43 44 44 - nativeBuildInputs = [ 45 - autoconf 46 - automake 47 - zlib 48 - curl.dev 49 - re2c 50 - cargo 51 - rustPlatform.cargoSetupHook 52 - rustc 53 - ]; 45 + nativeBuildInputs = 46 + [ 47 + autoconf 48 + automake 49 + zlib 50 + curl.dev 51 + re2c 52 + ] 53 + ++ lib.optionals prqlSupport [ 54 + cargo 55 + rustPlatform.cargoSetupHook 56 + rustc 57 + ]; 54 58 55 59 buildInputs = 56 60 [