Hi folks!
Is there a way to additively provide Quarks to the command line invocations of sclang
and scide
? Perhaps environment variables or command line arguments that can be used for this?
Motivation
I’m attempting to write a Nix flake for declaratively configuring reproducible supercollider environments that not only provide supercollider with a desired set of plugins (nixpkgs already handles this), but a desired set of Quarks in a ready-to-go manner too.
In order to achieve a fully declarative approach, I’d like to avoid mutating the user’s existing sclang_conf.yaml
configuration and instead provide them directly to the running supercollider instance somehow, whether that be environment variable, command line argument, or applying some patch to supercollider itself (less ideal).
Existing (lacking) approach:
So far for sclang
I’ve been using the -l
flag to pass a custom sclang_conf.yaml
configuration that declares the location of the provided Quarks. However, this is not ideal for a couple of reasons:
- It overrides the user’s existing
sclang_conf.yaml
configuration. I’d prefer not to do this in order to allow the user to provide Quarks using supercollider’s traditional approach too if they wish. - The flag is not available for
scide
.
Any tips or tricks on how to go about additively providing Quarks to both sclang
or scide
invocations would be greatly appreciated!