-
-
Save cleverca22/19cd039fee563ba8ed29de870fc3ee3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { system = "i686-linux"; }; | |
runCommandCC "wrapper" {} '' | |
cat > $out <<EOF | |
#!/bin/sh | |
export LD_LIBRARY_PATH=${lib.makeLibraryPath [ xlibs.libX11 libGLU_combined zlib libuuid gcc.cc openal ]}:.:/run/opengl-driver-32/lib | |
$(cat $NIX_CC/nix-support/dynamic-linker) ./Borderlands2 | |
EOF | |
chmod +x $out | |
'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment