- [nix-environments](#org1abe070)
- Installation
- [
./arduino-env
](#org65f353f) - [
./ccstudio-env
](#orgc229624) - [
./matlab-env
](#org20c8bf7)
This repository contains my configuration for FHS User Environments on NixOS for apps that misbehave due to NixOS not being FHS compliant.
- Copy respective folders to the location you want, ideally
/home/<username>
- Follow instructions below for the respective folder
Out-of-tree modules, such as ones from unofficial Arduino boards, may require installation of a vendor-provided compiler. This environment allows you to do so.
nix-build fhs-env.nix
./arduino-env.sh
- Run
arduino
, making sure you are inarduino-env
when doing so
TI's Code Composer Studio runs in an FHS User Environment just fine. Tested and fully operational with TI LaunchPad w/ MSP432
nix-build fhs-env.nix
- Create a directory for the installer, ideally
./installer
- Extract CCStudio installer into the directory
./ccstudio-env.sh
- Run
ccs**.run
in./installer/CCS**
- Install to any directory, ideally
./ccstudio
- Run
ccstudiio
, making sure you are inccstudio-env
when doing so - If MSP432 SimpleLink, or likewise dependencies are needed, installing to their default directories should be picked up by CCStudio
MATLAB runs with hardware-acceleration in an FHS User Environment just fine. Tested and fully operational with scripts.
nix-build fhs-env.nix
- Create a directory for the installer, ideally
./installer
- Extract the MATLAB installer into the directory
./matlab-env.sh
- Run
install
in./installer
- Install to any directory, ideally
./matlab
- Run
matlab
and make sure you are inmatlab-env
when starting MATLAB - Depending on the installer, sometimes the script will show an error regarding the included dependencies, just follow the directions to fix
matlab-env