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.
This commit is contained in:
parent
6beabe7d2c
commit
ef2328331c
@ -40,7 +40,7 @@
|
|||||||
let
|
let
|
||||||
drvName = "android-studio-${channel}-${version}";
|
drvName = "android-studio-${channel}-${version}";
|
||||||
androidStudio = stdenv.mkDerivation {
|
androidStudio = stdenv.mkDerivation {
|
||||||
name = drvName;
|
name = "${drvName}-unwrapped";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.tar.gz";
|
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 ];
|
multiPkgs = pkgs: [ pkgs.ncurses5 ];
|
||||||
};
|
};
|
||||||
in runCommand
|
in runCommand
|
||||||
"${drvName}-wrapper"
|
drvName
|
||||||
{
|
{
|
||||||
startScript = ''
|
startScript = ''
|
||||||
#!${bash}/bin/bash
|
#!${bash}/bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user