I’d like to build a package for, or at least install, sc3-plugins.
So far I’ve only tried to follow the sc3-plugins README, which does not address NixOS packaging. The README indicates one should first check out the source code for SuperCollider and sc3-plugins. I assumed the version of SuperCollider checked out should match the version installed on my system via nixpkgs, which is 3.11.2, so I specified that in the first of these two commands:
git clone -b 3.11.2-BigSur --recursive https://github.com/supercollider/sc3-plugins.git git clone --recursive https://github.com/supercollider/supercollider.git
cmake from nixpkgs. I then tried to run the steps in the
cd sc3-plugins mkdir build && cd build cmake -DSC_PATH=../../supercollider -DCMAKE_BUILD_TYPE=Release -DSUPERNOVA=ON .. cmake --build . --config Release sudo cmake --build . --config Release --target install
The fourth of those five commands was unable to find
Linking CXX shared module NCAnalysisUGens_supernova.so /nix/store/5ddb4j8z84p6sjphr0kh6cbq5jd12ncs-binutils-2.35.1/bin/ld: cannot find -lFFTW3F_LIBRARY-NOTFOUND collect2: error: ld returned 1 exit status make: *** [source/CMakeFiles/NCAnalysisUGens_supernova.dir/build.make:208: source/NCAnalysisUGens_supernova.so] Error 1 make: *** [CMakeFiles/Makefile2:874: source/CMakeFiles/NCAnalysisUGens_supernova.dir/all] Error 2 make: *** [Makefile:159: all] Error 2
I see that, per its Wiki, NixOS makes finding C libraries weird. That’s about as much of that wiki article as I understood.
Any advice will be greatly appreciated.