Loading pkgs/development/mobile/androidenv/compose-android-packages.nix +4 −4 Original line number Diff line number Diff line Loading @@ -2,12 +2,12 @@ , licenseAccepted ? false }: { cmdLineToolsVersion ? "11.0" { cmdLineToolsVersion ? "13.0" , toolsVersion ? "26.1.1" , platformToolsVersion ? "34.0.5" , platformToolsVersion ? "35.0.1" , buildToolsVersions ? [ "34.0.0" ] , includeEmulator ? false , emulatorVersion ? "34.1.9" , emulatorVersion ? "35.1.4" , platformVersions ? [] , includeSources ? false , includeSystemImages ? false Loading @@ -15,7 +15,7 @@ , abiVersions ? [ "armeabi-v7a" "arm64-v8a" ] , cmakeVersions ? [ ] , includeNDK ? false , ndkVersion ? "26.1.10909125" , ndkVersion ? "26.3.11579264" , ndkVersions ? [ndkVersion] , useGoogleAPIs ? false , useGoogleTVAddOns ? false Loading pkgs/development/mobile/androidenv/emulator.nix +12 −0 Original line number Diff line number Diff line Loading @@ -9,9 +9,12 @@ deployAndroidPackage { libcxx libGL libpulseaudio libtiff libuuid zlib libbsd ncurses5 libdrm stdenv.cc.cc pkgsi686Linux.glibc expat Loading @@ -30,6 +33,9 @@ deployAndroidPackage { libXi libXrender libXtst libICE libSM libxkbfile ]); patchInstructions = lib.optionalString (os == "linux") '' addAutoPatchelfSearchPath $packageBaseDir/lib Loading @@ -37,6 +43,12 @@ deployAndroidPackage { addAutoPatchelfSearchPath $packageBaseDir/lib64/qt/lib # autoPatchelf is not detecting libuuid :( addAutoPatchelfSearchPath ${pkgs.libuuid.out}/lib # This library is linked against a version of libtiff that nixpkgs doesn't have for file in $out/libexec/android-sdk/emulator/*/qt/plugins/imageformats/libqtiffAndroidEmu.so; do patchelf --replace-needed libtiff.so.5 libtiff.so "$file" || true done autoPatchelf $out # Wrap emulator so that it can load required libraries at runtime Loading pkgs/development/mobile/androidenv/examples/shell.nix +4 −4 Original line number Diff line number Diff line Loading @@ -25,14 +25,14 @@ let # versions may be used in multiple places in this Nix expression. android = { versions = { cmdLineToolsVersion = "11.0"; platformTools = "34.0.5"; cmdLineToolsVersion = "13.0"; platformTools = "35.0.1"; buildTools = "34.0.0"; ndk = [ "26.1.10909125" "26.3.11579264" ]; cmake = "3.6.4111459"; emulator = "34.1.9"; emulator = "35.1.4"; }; platforms = [ "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" ]; Loading pkgs/development/mobile/androidenv/ndk-bundle/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -11,8 +11,8 @@ deployAndroidPackage rec { inherit package os; nativeBuildInputs = [ makeWrapper ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ]; autoPatchelfIgnoreMissingDeps = true; buildInputs = lib.optionals (os == "linux") [ pkgs.zlib ]; autoPatchelfIgnoreMissingDeps = [ "*" ]; buildInputs = lib.optionals (os == "linux") [ pkgs.zlib pkgs.libcxx stdenv.cc.cc.lib ]; patchElfBnaries = '' # Patch the executables of the toolchains, but not the libraries -- they are needed for crosscompiling Loading pkgs/development/mobile/androidenv/repo.json +1330 −554 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
pkgs/development/mobile/androidenv/compose-android-packages.nix +4 −4 Original line number Diff line number Diff line Loading @@ -2,12 +2,12 @@ , licenseAccepted ? false }: { cmdLineToolsVersion ? "11.0" { cmdLineToolsVersion ? "13.0" , toolsVersion ? "26.1.1" , platformToolsVersion ? "34.0.5" , platformToolsVersion ? "35.0.1" , buildToolsVersions ? [ "34.0.0" ] , includeEmulator ? false , emulatorVersion ? "34.1.9" , emulatorVersion ? "35.1.4" , platformVersions ? [] , includeSources ? false , includeSystemImages ? false Loading @@ -15,7 +15,7 @@ , abiVersions ? [ "armeabi-v7a" "arm64-v8a" ] , cmakeVersions ? [ ] , includeNDK ? false , ndkVersion ? "26.1.10909125" , ndkVersion ? "26.3.11579264" , ndkVersions ? [ndkVersion] , useGoogleAPIs ? false , useGoogleTVAddOns ? false Loading
pkgs/development/mobile/androidenv/emulator.nix +12 −0 Original line number Diff line number Diff line Loading @@ -9,9 +9,12 @@ deployAndroidPackage { libcxx libGL libpulseaudio libtiff libuuid zlib libbsd ncurses5 libdrm stdenv.cc.cc pkgsi686Linux.glibc expat Loading @@ -30,6 +33,9 @@ deployAndroidPackage { libXi libXrender libXtst libICE libSM libxkbfile ]); patchInstructions = lib.optionalString (os == "linux") '' addAutoPatchelfSearchPath $packageBaseDir/lib Loading @@ -37,6 +43,12 @@ deployAndroidPackage { addAutoPatchelfSearchPath $packageBaseDir/lib64/qt/lib # autoPatchelf is not detecting libuuid :( addAutoPatchelfSearchPath ${pkgs.libuuid.out}/lib # This library is linked against a version of libtiff that nixpkgs doesn't have for file in $out/libexec/android-sdk/emulator/*/qt/plugins/imageformats/libqtiffAndroidEmu.so; do patchelf --replace-needed libtiff.so.5 libtiff.so "$file" || true done autoPatchelf $out # Wrap emulator so that it can load required libraries at runtime Loading
pkgs/development/mobile/androidenv/examples/shell.nix +4 −4 Original line number Diff line number Diff line Loading @@ -25,14 +25,14 @@ let # versions may be used in multiple places in this Nix expression. android = { versions = { cmdLineToolsVersion = "11.0"; platformTools = "34.0.5"; cmdLineToolsVersion = "13.0"; platformTools = "35.0.1"; buildTools = "34.0.0"; ndk = [ "26.1.10909125" "26.3.11579264" ]; cmake = "3.6.4111459"; emulator = "34.1.9"; emulator = "35.1.4"; }; platforms = [ "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" ]; Loading
pkgs/development/mobile/androidenv/ndk-bundle/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -11,8 +11,8 @@ deployAndroidPackage rec { inherit package os; nativeBuildInputs = [ makeWrapper ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ]; autoPatchelfIgnoreMissingDeps = true; buildInputs = lib.optionals (os == "linux") [ pkgs.zlib ]; autoPatchelfIgnoreMissingDeps = [ "*" ]; buildInputs = lib.optionals (os == "linux") [ pkgs.zlib pkgs.libcxx stdenv.cc.cc.lib ]; patchElfBnaries = '' # Patch the executables of the toolchains, but not the libraries -- they are needed for crosscompiling Loading
pkgs/development/mobile/androidenv/repo.json +1330 −554 File changed.Preview size limit exceeded, changes collapsed. Show changes