Re: [Nix-dev] buildFHSUserEnv and matlab impure install

2016-10-20 Thread Freddy Rietdijk
I guess the approach here is 1. Make sure you have all the installation files offline in an archive. 2. Prepare file for silent installation https://sysadminblogger.wordpress.com/tag/matlab-offline-installation/ 3. Write a Nix expression that uses `buildFHSUserEnv` and use

Re: [Nix-dev] buildFHSUserEnv and matlab impure install

2016-10-20 Thread Ruben Astudillo
On 20/10/16 09:31, Roger Qiu wrote: > That error looks like it has to do with setuid, is matlab meant to be > launched with root privileges? At least the install script does. I haven't really checkout why (probably because it populated /opt, but I intended to change that). -- Ruben

[Nix-dev] buildFHSUserEnv and matlab impure install

2016-10-20 Thread Ruben Astudillo
Hello Nix'ers I recently got a copy of (unix) matlab. The usual method of install includes running as root a install script, this will launch a popup dialog which you can "next next" until the installation is finished. Matlab assumes in various part a FHS structure, so I've meant to not bother