about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-09-04 19:10:00 +0200
committerMichael Weiss <dev.primeos@gmail.com>2019-09-06 21:29:17 +0200
commitef2328331c97a37ebc95af22d21296284f5da451 (patch)
tree59e43502ce8c7827b254aa34fb47051b036e3bc4 /pkgs/applications/editors
parent6beabe7d2ca1a2caf680e89d74416900867bf05a (diff)
downloadnixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar.gz
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar.bz2
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar.lz
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar.xz
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.tar.zst
nixlib-ef2328331c97a37ebc95af22d21296284f5da451.zip
androidStudioPackages.*: Remove the "-wrapper" suffix from name
This causes problems when parsing the name attribute, e.g. for Repology
and parseDrvName. I've added "-unwrapped" to the derivation with the
downloaded content to keep it easier to differentiate between the two.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/android-studio/common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index 50a752b3eb96..0d406ad2d360 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -40,7 +40,7 @@
 let
   drvName = "android-studio-${channel}-${version}";
   androidStudio = stdenv.mkDerivation {
-    name = drvName;
+    name = "${drvName}-unwrapped";
 
     src = fetchurl {
       url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.tar.gz";
@@ -133,7 +133,7 @@ let
     multiPkgs = pkgs: [ pkgs.ncurses5 ];
   };
 in runCommand
-  "${drvName}-wrapper"
+  drvName
   {
     startScript = ''
       #!${bash}/bin/bash