[Nix-dev] "Platform indepent installer" hardcodes /bin/chmod

Lluís Batlle i Rossell viric at viric.name
Tue Jun 12 12:09:08 CEST 2012


On Tue, Jun 12, 2012 at 11:28:48AM +0200, Ludovic Courtès wrote:
> Hi,
> 
> Bryce L Nordgren <bnordgren at gmail.com> skribis:
> 
> > But it seems that the java-based installer hardcodes /bin/chmod instead of
> > using $PATH. (error follows).  Therefore most of the scripts are not
> > executable.
> >
> > Is there a recommended workaround? 
> 
> Yes, run ‘sed’ over the source files to replace “/bin/chmod” by “chmod”.

I understood that this would mean to rebuild the java installer. So, how about
rebuilding a fixed java installer? :)


More information about the nix-dev mailing list