Skip to content

Instantly share code, notes, and snippets.

@woffs
Created December 2, 2020 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woffs/35759c7fe57a3173059d220dec793abe to your computer and use it in GitHub Desktop.
Save woffs/35759c7fe57a3173059d220dec793abe to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
pkgs.buildFHSUserEnv {
name = "dm-fotowelt";
targetPkgs = pkgs: with pkgs; [
coreutils
strace
which
libGL
];
multiPkgs = pkgs: with pkgs; [
zlib
xorg.libX11
xlibs.libSM
xlibs.libICE
xlibs.libXrender
xlibs.libXi
xlibs.libXext
xlibs.libXcursor
xlibs.libXfixes
xlibs.libXScrnSaver
xlibs.libXcomposite
xlibs.libXdamage
xlibs.libXtst
xlibs.xcbutilwm
xlibs.xcbutilimage
xlibs.xcbutilkeysyms
xlibs.xcbutilrenderutil
xlibs.libxcb
libuuid
libxkbcommon
fontconfig
freetype
libxml2
glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
sqlite
mesa_drivers
dbus
expat
snappy
nssTools
nspr
systemd
];
runScript = "bash -c \"cd ${toString ./.}&&exec ./dm-Fotowelt\"";
# runScript = "ldd libQt5XcbQpa.so";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment