mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
19 lines
519 B
Nix
19 lines
519 B
Nix
|
{ nullOgg, pkgs }:
|
||
|
pkgs.writeText
|
||
|
"nullOgg.patch"
|
||
|
''
|
||
|
diff --git a/src/audio/soundcache.rs b/src/audio/soundcache.rs
|
||
|
index 8cf703577..678295cac 100644
|
||
|
--- a/src/audio/soundcache.rs
|
||
|
+++ b/src/audio/soundcache.rs
|
||
|
@@ -44,7 +44,7 @@ impl OggSound {
|
||
|
|
||
|
pub fn empty() -> OggSound {
|
||
|
OggSound(Arc::new(
|
||
|
- include_bytes!("../../../assets/voxygen/audio/null.ogg").to_vec(),
|
||
|
+ include_bytes!("${nullOgg}").to_vec(),
|
||
|
))
|
||
|
}
|
||
|
}
|
||
|
''
|