diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index b215392f25040..96304ff6cecb1 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -25,7 +25,7 @@ let "nss-lookup.target" "nss-user-lookup.target" "time-sync.target" - "cryptsetup.target" + #"cryptsetup.target" "sigpwr.target" "timers.target" "paths.target" diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index c0163dcafe6af..4af267350cbd3 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -9,7 +9,6 @@ , patchelf , substituteAll , getent -, cryptsetup, lvm2 , buildPackages , perl , withSelinux ? false, libselinux @@ -31,7 +30,6 @@ let gnupg-minimal = gnupg.override { zlib = null; bzip2 = null; }; - in stdenv.mkDerivation { version = "245.7"; pname = "systemd"; @@ -91,7 +89,7 @@ in stdenv.mkDerivation { ]; buildInputs = [ linuxHeaders libcap curl.dev kmod xz pam acl - cryptsetup libuuid glib libgcrypt libgpgerror libidn2 + /* cryptsetup */ libuuid glib libgcrypt libgpgerror libidn2 pcre2 ] ++ stdenv.lib.optional withKexectools kexectools ++ stdenv.lib.optional withLibseccomp libseccomp ++ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c2f14c416154b..f93fc01b761d2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17222,11 +17222,7 @@ in criu = callPackage ../os-specific/linux/criu { }; - cryptsetup = callPackage ../os-specific/linux/cryptsetup { - # cryptsetup only really needs the devmapper component of cryptsetup - # but itself is used as a library in systemd (=udev) - lvm2 = lvm2.override { udev = null; }; - }; + cryptsetup = callPackage ../os-specific/linux/cryptsetup { }; cramfsprogs = callPackage ../os-specific/linux/cramfsprogs { };