raze: wrap vulkan-loader
This commit is contained in:
parent
dfe7aaa28f
commit
3da9f7c158
@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "ZDoom";
|
||||
repo = "Raze";
|
||||
rev = finalAttrs.version;
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-R3Sm/cibg+D2QPS4UisRp91xvz3Ine2BUR8jF5Rbj1g=";
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
@ -68,7 +68,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/raze $out/share/raze
|
||||
makeWrapper $out/share/raze/raze $out/bin/raze
|
||||
makeWrapper $out/share/raze/raze $out/bin/raze \
|
||||
--set LD_LIBRARY_PATH ${lib.makeLibraryPath [ vulkan-loader ]}
|
||||
install -Dm644 ../source/platform/posix/org.zdoom.Raze.256.png $out/share/pixmaps/org.zdoom.Raze.png
|
||||
install -Dm644 ../source/platform/posix/org.zdoom.Raze.desktop $out/share/applications/org.zdoom.Raze.desktop
|
||||
install -Dm644 ../soundfont/raze.sf2 $out/share/raze/soundfonts/raze.sf2
|
||||
|
Loading…
Reference in New Issue
Block a user