nixpkgs/pkgs/by-name/mo/modemmanager/no-dummy-dirs-in-sysconfdir.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
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.
2024-11-09 20:04:51 +08:00

21 lines
970 B
Diff

diff --git a/data/dispatcher-connection/meson.build b/data/dispatcher-connection/meson.build
index 2e7ef8b4..e0f4aa66 100644
--- a/data/dispatcher-connection/meson.build
+++ b/data/dispatcher-connection/meson.build
@@ -21,5 +21,4 @@ install_data(
)
mkdir_cmd = 'mkdir -p ${DESTDIR}@0@'
-meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_connectiondiruser))
meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_connectiondirpackage))
diff --git a/data/dispatcher-fcc-unlock/meson.build b/data/dispatcher-fcc-unlock/meson.build
index 5dc3b6a0..25a948a1 100644
--- a/data/dispatcher-fcc-unlock/meson.build
+++ b/data/dispatcher-fcc-unlock/meson.build
@@ -39,5 +39,4 @@ foreach output, input: vidpids
endforeach
mkdir_cmd = 'mkdir -p ${DESTDIR}@0@'
-meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_fccunlockdiruser))
meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_fccunlockdirpackage))