build(nix): fix file path for substitute

This commit is contained in:
Yusuf Bera Ertan 2022-04-28 22:28:00 +03:00
parent 2afcc7195b
commit 0ffffa8496
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -64,7 +64,7 @@
nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [pkgs.makeWrapper]; nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [pkgs.makeWrapper];
VELOREN_USERDATA_STRATEGY = "system"; VELOREN_USERDATA_STRATEGY = "system";
preConfigure = '' preConfigure = ''
substituteInPlace src/audio/soundcache.rs \ substituteInPlace voxygen/src/audio/soundcache.rs \
--replace \ --replace \
"../../../assets/voxygen/audio/null.ogg" \ "../../../assets/voxygen/audio/null.ogg" \
"${./assets/voxygen/audio/null.ogg}" "${./assets/voxygen/audio/null.ogg}"