[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17853 - sandervanderburg - nixpkgs/trunk/pkgs/applications/office/openoffice

Michael Raskin 7c6f434c at mail.ru
Fri Oct 16 20:58:12 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sander van der Burg wrote:
> It appears that the OpenOffice.org desktop files are read only. Changing this so that they can be adapted

>      for appl in $out/share/applications/*.desktop
>      do
> +        chmod 644 $appl # What's wrong with the file permissions?
>          sed -i '/Icon/d' $appl
>          echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl    
>      done

You are trying to install writable files in /nix/store? Is it a good
idea? Doesn't Nix chmod everything to "a-w a+rX" anyway?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK2MJDAAoJEE6tnN0aWvw3PNgH/37uM7JtUnyWfsWXTqLr2Ez9
0ChdfyTnwBz3J8ximEbj6NmpqWJ4vAkGi0VK5WhkMRiEp7W0vARjLahvw2rxSzV2
JCVcMkFyybeM4ARGqtPoJa+d9whdXALNqzg/d6eBKDL/I3It24QOHn12mC2LuJe2
6PyXyj221lIQB1TILFdS9dA/kVkb2siScbTQsD1a5E/NE3nJ1jmwgcfVeQL3ZPLM
H8zob8nE1+yt5zu/T68+vQN+NanyEuNnVbNUyH8M26Li11/K014+ax1RCUfVBapE
8ZZdg/NalbV0W0GHx+ZnEizVhivbByRik6dwNaAhbEr+TO0TuEJUHXRVc0/2OCc=
=CwWX
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list