diff --git a/pkgs/development/compilers/adobe-flex-sdk/default.nix b/pkgs/development/compilers/adobe-flex-sdk/default.nix index 7beea35a78a6..dc209bd6ddbd 100644 --- a/pkgs/development/compilers/adobe-flex-sdk/default.nix +++ b/pkgs/development/compilers/adobe-flex-sdk/default.nix @@ -1,10 +1,11 @@ args: with args; stdenv.mkDerivation rec { - name = "adobe-flex-sdk-3.3.0.4852_mpl"; + name = "adobe_flex_sdk_3.4.1.10084_mpl"; src = fetchurl { - url = http://flexorg.wip3.adobe.com/flexsdk/3.3.0.4852/flex_sdk_3.3.0.4852_mpl.zip; - sha256 = "1gsm774afc7zwv3hyib5n6fpdbnd0dh6z7r2amjf38fm96jw7a99"; + # This is the open source distribution + url = http://fpdownload.adobe.com/pub/flex/sdk/builds/flex3/flex_sdk_3.4.1.10084_mpl.zip; + sha256 = "0bq0cnq25qyr3g64sqqc20y3mmnhgh07p3ylxd2iq0ha8cdis7z0"; }; phases="installPhase"; @@ -18,9 +19,9 @@ stdenv.mkDerivation rec { t=$out/opt/flex-sdk ensureDir $t $out/bin mv * $t - sed 's/ $//' -i $t/bin/mxmlc - rm $t/bin/*.exe - for i in $t/bin/mxmlc; do + rm $t/bin/*.exe $t/bin/*.bat + sed 's/ $//' -i $t/bin/* + for i in $t/bin/*; do b="$(basename "$i")"; cat > "$out/bin/$b" << EOF #!/bin/sh