nixpkgs/pkgs/tools/networking/modemmanager/no-dummy-dirs-in-sysconfdir.patch
Jan Tojnar 73a534c880 modemmanager: fix build
We did not notice it was creating directories in /etc in sandbox due to Nix 2.12 regression.
2023-02-15 00:13:52 +01: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))