nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1--- a/kazam/backend/grabber.py
2+++ b/kazam/backend/grabber.py
3@@ -72,7 +72,7 @@
4 #
5 if prefs.shutter_sound and (not self.god):
6 soundfile = os.path.join(prefs.datadir, 'sounds', prefs.sound_files[prefs.shutter_type])
7- subprocess.call(['/usr/bin/canberra-gtk-play', '-f', soundfile])
8+ subprocess.call(['@libcanberra@/bin/canberra-gtk-play', '-f', soundfile])
9
10 if self.xid:
11 if prefs.capture_borders_pic:
12--- a/kazam/pulseaudio/ctypes_pulseaudio.py
13+++ b/kazam/pulseaudio/ctypes_pulseaudio.py
14@@ -20,7 +20,7 @@
15 # MA 02110-1301, USA.
16
17 from ctypes import *
18-PA = CDLL('libpulse.so.0')
19+PA = CDLL('@libpulseaudio@/lib/libpulse.so.0')
20
21 #
22 # Pulse Audio constants and defines