We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
audio-volume-change.oga
2 parents 23645ad + c14ed78 commit 3b14d12Copy full SHA for 3b14d12
pkgs/by-name/co/cosmic-osd/package.nix
@@ -1,6 +1,7 @@
1
{
2
lib,
3
fetchFromGitHub,
4
+ sound-theme-freedesktop,
5
rustPlatform,
6
libcosmicAppHook,
7
pulseaudio,
@@ -20,6 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
20
21
hash = "sha256-ezOeRgqI/GOWFknUVZI7ZLEy1GYaBI+/An83HWKL6ho=";
22
};
23
24
+ postPatch = ''
25
+ substituteInPlace src/components/app.rs \
26
+ --replace-fail '/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' '${sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga'
27
+ '';
28
+
29
useFetchCargoVendor = true;
30
cargoHash = "sha256-vYehF2RjPrTZiuGcRUe4XX3ftRo7f+SIoKizD/kOtR8=";
31
0 commit comments