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

94 lines
1.6 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
# function call
# -------------
(pkgs.buildFHSUserEnv {
# 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
calf
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"
'';
})