[Nix-dev] Hello + patch for flashplayer-10/default.nix

Lluís Batlle i Rossell viriketo at gmail.com
Sat Oct 2 22:06:56 CEST 2010


On Sat, Oct 02, 2010 at 08:57:42PM +0200, Ilya Cassina wrote:
> Hello,
> 
> I attached a mini-patch with updated url of adobe flashplayer-10 for linux 
> 64bit (just modified what was important for me, i did not checked other 
> links).

Hello,

good that you enjoy NixOS. Welcome!

in your patch, you forgot to update the version, which ends up in the directory
name in the store path.
Can you write the proper version? I don't know how to deduce it from the url.

> --- default.nix-old	2010-10-02 20:53:52.156351020 +0200
> +++ default.nix	2010-10-02 20:53:43.020350912 +0200
> @@ -42,8 +42,8 @@
>        else {
>          # -> http://labs.adobe.com/downloads/flashplayer10_64bit.html
>          version = "10.1_p1-r091510";
> -        url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz;
> -        sha256 = "0dzhvnxcwfyiqvk2jn2hmdy29qclq95zd57w7bca82m8bsj1sn4b";
> +        url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_64bit_linux_092710.tar.gz;
> +        sha256 = "fdaaed681883636a3bba59a189986f5dda72e3c65613fce1e066e56111b00da1";
>        }
>      else if stdenv.system == "i686-linux" then
>        if debug then {

Regards,
Lluís.



More information about the nix-dev mailing list