android-studio: Fix the meta attributes

This commit is contained in:
Michael Weiss
2017-07-30 20:40:04 +02:00
parent a2b2c1e4bd
commit ace11d11b2
2 changed files with 18 additions and 12 deletions
@@ -34,7 +34,7 @@
let
androidStudio = stdenv.mkDerivation {
inherit src meta;
inherit src;
name = "${pname}";
buildInputs = [
makeWrapper
@@ -103,12 +103,13 @@ let
name = "${pname}-fhs-env";
};
in writeTextFile {
name = "${pname}-${version}";
destination = "/bin/${pname}";
executable = true;
text = ''
#!${bash}/bin/bash
${fhsEnv}/bin/${pname}-fhs-env ${androidStudio}/bin/studio.sh
'';
}
in
writeTextFile {
name = "${pname}-${version}";
destination = "/bin/${pname}";
executable = true;
text = ''
#!${bash}/bin/bash
${fhsEnv}/bin/${pname}-fhs-env ${androidStudio}/bin/studio.sh
'';
} // { inherit meta; }