NixOs compatibility
canndrew opened this issue · 1 comments
canndrew commented
I'm unable to run peruse on NixOS. I initially had a bunch of dependency errors, but I was able to fix them by using the following default.nix
:
with import <nixpkgs> {};
let
deps = [
stdenv
gnome2.gtk
gnome2.pango
atk
cairo
gdk_pixbuf
glib
fontconfig
freetype
dbus
xlibs.libX11
xlibs.libxcb
xlibs.libXi
xlibs.libXcursor
xlibs.libXdamage
xlibs.libXrandr
xlibs.libXcomposite
xlibs.libXext
xlibs.libXfixes
xlibs.libXrender
xlibs.libXtst
xlibs.libXScrnSaver
gnome2.GConf
nss
nspr
alsaLib
cups
expat
gcc-unwrapped
];
in {
env = stdenv.mkDerivation {
name = "env";
buildInputs = deps;
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath deps;
};
}
After this though, peruse fails to run:
$ ./peruse
Log location: undefined
zsh: trace trap ./peruse
happybeing commented
The Log location
message is normal, so the clue is in the last message but I don't know what it means.