mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
androidenv/emulate-app: use runtimeShell instead of stdenv.shell
See also https://github.com/NixOS/nixpkgs PR 56408.
This commit is contained in:
parent
b3909d1cb1
commit
7802608649
@ -15,7 +15,7 @@ rec {
|
||||
};
|
||||
|
||||
emulateApp = import ./emulate-app.nix {
|
||||
inherit (pkgs) stdenv lib;
|
||||
inherit (pkgs) stdenv lib runtimeShell;
|
||||
inherit composeAndroidPackages;
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ composeAndroidPackages, stdenv, lib }:
|
||||
{ composeAndroidPackages, stdenv, lib, runtimeShell }:
|
||||
{ name, app ? null
|
||||
, platformVersion ? "16", abiVersion ? "armeabi-v7a", systemImageType ? "default"
|
||||
, enableGPU ? false, extraAVDFiles ? []
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
mkdir -p $out/bin
|
||||
|
||||
cat > $out/bin/run-test-emulator << "EOF"
|
||||
#! ${stdenv.shell} -e
|
||||
#!${runtimeShell} -e
|
||||
|
||||
# We need a TMPDIR
|
||||
if [ "$TMPDIR" = "" ]
|
||||
|
Loading…
Reference in New Issue
Block a user