From 9baf24bcd3169b9a8db05934cab2e064a52c7e10 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 1 Jun 2025 10:48:01 +0200 Subject: [PATCH] libcamera: use udev, not systemd As the comment indicated, the only part of systemd that was used is udev. This should decrease the closure size, and also do the right thing on platforms with different udev implementations. --- pkgs/by-name/li/libcamera/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libcamera/package.nix b/pkgs/by-name/li/libcamera/package.nix index 323d49b427c3..04b035e542ad 100644 --- a/pkgs/by-name/li/libcamera/package.nix +++ b/pkgs/by-name/li/libcamera/package.nix @@ -16,7 +16,7 @@ doxygen, python3, python3Packages, - systemd, # for libudev + udev, libpisp, withTracing ? lib.meta.availableOn stdenv.hostPlatform lttng-ust, lttng-ust, # withTracing @@ -76,7 +76,7 @@ stdenv.mkDerivation rec { libdrm # hotplugging - systemd + udev # pycamera python3Packages.pybind11