about summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorFelix Bühler <Stunkymonkey@users.noreply.github.com>2023-07-22 13:02:47 +0200
committerGitHub <noreply@github.com>2023-07-22 13:02:47 +0200
commit0a2745684e8e97340d947d56b0ba778056c10395 (patch)
treec258179185eefafddef480949e84046d3bb50b2e /pkgs/development/mobile
parent4448ec5cd84f00350969934deb4d9ac9055c411c (diff)
parente770737241360cdfd09b421eea83160dce02c212 (diff)
downloadnixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar.gz
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar.bz2
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar.lz
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar.xz
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.tar.zst
nixlib-0a2745684e8e97340d947d56b0ba778056c10395.zip
Merge pull request #239624 from Stunkymonkey/use-optionalString-then
treewide: use optionalString instead of 'then ""'
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/titaniumenv/build-app.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix
index fa2eeae00b55..42b70c64abe9 100644
--- a/pkgs/development/mobile/titaniumenv/build-app.nix
+++ b/pkgs/development/mobile/titaniumenv/build-app.nix
@@ -158,8 +158,7 @@ stdenv.mkDerivation ({
 
   installPhase = ''
     ${if target == "android" then ''
-      ${if release then ""
-      else ''
+      ${lib.optionalString (!release) ''
         cp "$(ls build/android/bin/*.apk | grep -v '\-unsigned.apk')" $out
       ''}