Created
March 27, 2021 14:20
-
-
Save markus1189/5cd5fef6559492291bed077318606b55 to your computer and use it in GitHub Desktop.
Nix buildFHSEnv for DungeonDraft
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
{ pkgs ? import <nixpkgs> { } }: | |
(pkgs.buildFHSUserEnv { | |
name = "DungeonDraftFhs"; | |
targetPkgs = pkgs: | |
with pkgs; [ | |
alsaLib | |
libglvnd | |
pulseaudioLight | |
] ++ (with xlibs; [ | |
libX11 | |
libXcursor | |
libXi | |
libXinerama | |
libXrandr | |
libXrender | |
]); | |
runScript = "./Dungeondraft.x86_64"; | |
}).env |
Sorry, I am not actively using dungeondraft anymore, so I am not much of a help here.
Maybe a search on github can help? https://sourcegraph.com/search?q=context:global+dungeondraft+file:.*%5C.nix&patternType=keyword&sm=0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@markus1189 Hey, trying this now with a few updates (
pulseaudioLight
removed,xlibs
->xorg
,xorg.libXext
added) and getting a range of errors relating to a missing.so
that Dungeondraft packages:That
libmono-native.so
is provided by Dungeondraft:Know what's up with that? Also got the same errors with
nix-ld
if that's any indication...