We are migrating packages that meet below requirements:
1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration
The tool is here: https://github.com/Aleksanaa/by-name-migrate.
23 lines
754 B
Diff
23 lines
754 B
Diff
--- a/kazam/backend/grabber.py
|
|
+++ b/kazam/backend/grabber.py
|
|
@@ -72,7 +72,7 @@
|
|
#
|
|
if prefs.shutter_sound and (not self.god):
|
|
soundfile = os.path.join(prefs.datadir, 'sounds', prefs.sound_files[prefs.shutter_type])
|
|
- subprocess.call(['/usr/bin/canberra-gtk-play', '-f', soundfile])
|
|
+ subprocess.call(['@libcanberra@/bin/canberra-gtk-play', '-f', soundfile])
|
|
|
|
if self.xid:
|
|
if prefs.capture_borders_pic:
|
|
--- a/kazam/pulseaudio/ctypes_pulseaudio.py
|
|
+++ b/kazam/pulseaudio/ctypes_pulseaudio.py
|
|
@@ -20,7 +20,7 @@
|
|
# MA 02110-1301, USA.
|
|
|
|
from ctypes import *
|
|
-PA = CDLL('libpulse.so.0')
|
|
+PA = CDLL('@libpulseaudio@/lib/libpulse.so.0')
|
|
|
|
#
|
|
# Pulse Audio constants and defines
|