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.
15 lines
454 B
Diff
15 lines
454 B
Diff
diff --git a/gusb/meson.build b/gusb/meson.build
|
|
index 8236a2b..282aa48 100644
|
|
--- a/gusb/meson.build
|
|
+++ b/gusb/meson.build
|
|
@@ -147,7 +147,7 @@ libgusb_gir = libgusb_girtarget[0]
|
|
libgusb_typelib = libgusb_girtarget[1]
|
|
|
|
pymod = import('python')
|
|
-py_installation = pymod.find_installation()
|
|
+py_installation = pymod.find_installation('@python@')
|
|
|
|
# Verify the map file is correct -- note we can't actually use the generated
|
|
# file for two reasons:
|
|
|