Skip to content

Instantly share code, notes, and snippets.

@woffs
Created November 3, 2020 22: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/da80abf7ea971748a373ff041322264b to your computer and use it in GitHub Desktop.
Save woffs/da80abf7ea971748a373ff041322264b 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
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 \\\"$@\\\"\"";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment