Hi. I'm trying to package "geonetwork-opensource" ( http://geonetwork-opensource.org/) for nix. They distribute the application's war-file separately, but there's an administrative tool called "gast" which is only available using their platform-independent installer. I was able to save an "install.xml" file after clicky-pointy-ing my way thru the install screens the first time; and I was able to get the installer to run in command-line mode using this "xml" file modified to point at $out.
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? I could just chmod them in the builder.sh, but I'd like to make the installer not error out, as I'm not 100% positive that it's not supposed to do more installing work after it crashes. Bryce building path(s) `/nix/store/74gqjvjd8wgg2s732rcbx0ns8yw9warb-geonetwork-2.6.4' [ Starting automated installation ] [ Starting to unpack ] [ Processing package: Core (1/1) ] [ ERROR: Error executing /bin/chmod a+x /nix/store/74gqjvjd8wgg2s732rcbx0ns8yw9warb-geonetwork-2.6.4/bin/start-geonetwork.sh ] [ ERROR: The installation was not completed ] [ Unpacking finished. ] [ Writing the uninstaller data ... ] [ Automated installation done ]
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
