Skip to content

Instantly share code, notes, and snippets.

@gosub
Created February 23, 2016 16:18
Show Gist options
  • Save gosub/a42e265ec38d9df203d6 to your computer and use it in GitHub Desktop.
Save gosub/a42e265ec38d9df203d6 to your computer and use it in GitHub Desktop.
Nix package definition for sc3-plugins
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "sc3-plugins-3.7.0-beta";
src = fetchgit {
url = "https://github.com/supercollider/sc3-plugins";
rev = "a963ecb";
sha256="0840jwh7ljmhg34zblahqx3abk42a3y3gvgb740r558rphbp1p19";
fetchSubmodules = true;
};
buildInputs = [ cmake supercollider fftw libsndfile ];
cmakeFlags = [ "-DSUPERNOVA=OFF" "-DSC_PATH=${supercollider}/include/SuperCollider" "-DFFTW3F_LIBRARY=${fftw}/lib/"];
}
@asheshambasta
Copy link

I'm not 100% sure this is correct. How does one use this? Will nix-build sc3-plugins.nix install this?

FWIW; I think you need to symlink the /share/SuperCollider/Extensions/SC3plugins to somewhere under $out too no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment