nixos-config/pkgs/bitwig-studio/bitwig-studio-environment.nix

103 lines
1.7 KiB
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
# NixOs fhs-user script
# ---------------------
#
# this is a script to start Bitwig Studio.
# it is necessary because without it my VSTs won't run.
2019-10-24 02:20:38 +02:00
# function header
# ---------------
2019-12-20 05:54:26 +01:00
{ pkgs ? import <nixpkgs> { } }:
2019-10-24 02:20:38 +02:00
2020-02-28 16:57:05 +01:00
let
unstable = import <nixpkgs-unstable> { };
# function call
# -------------
in (pkgs.buildFHSUserEnv {
2019-10-24 02:20:38 +02:00
# name of the programm
# --------------------
name = "bitwig";
# targetSystem packages
# ---------------------
# these are packages which are compiled for the target
# system architecture
2019-12-20 05:54:26 +01:00
targetPkgs = pkgs:
with pkgs; [
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
bitwig-studio3
2019-12-20 05:54:26 +01:00
liblo
zlib
fftw
minixml
libcxx
alsaLib
glibc
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
gtk2-x11
atk
mesa_glu
glib
pango
gdk_pixbuf
cairo
freetype
fontconfig
dbus
xorg.libX11
xorg.libxcb
xorg.libXext
xorg.libXinerama
xlibs.libXi
xlibs.libXcursor
xlibs.libXdamage
xlibs.libXcomposite
xlibs.libXfixes
xlibs.libXrender
xlibs.libXtst
xlibs.libXScrnSaver
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
gnome2.GConf
nss
nspr
expat
eudev
# vsts
zynaddsubfx
distrho
zam-plugins
2020-03-03 03:50:14 +01:00
wolf-shaper
wolf-spectrum
lsp-plugins
2020-03-02 04:57:38 +01:00
#calf
#carla
#unstable.bshapr
2020-03-03 03:50:14 +01:00
#lv2vst
2019-12-20 05:54:26 +01:00
];
2019-10-24 02:20:38 +02:00
# multilib packages
# -----------------
# these are packages compiled for multiple system
# architectures (32bit/64bit)
2019-12-20 05:54:26 +01:00
multiPkgs = pkgs: with pkgs; [ ];
2019-10-24 02:20:38 +02:00
# command
# -------
# the script which should be run right after starting this enviornment
#runScript = "/bin/bash";
2019-10-24 02:20:38 +02:00
runScript = "/usr/bin/bitwig-studio";
# environment variables
# ---------------------
profile = ''
export TERM="xterm"
'';
})