forked from mirrors/nixpkgs
systemd: put "-with-lvm2" suffix where it belongs
This commit is contained in:
parent
4b979eef29
commit
d9ee918547
|
@ -11195,12 +11195,11 @@ in
|
|||
|
||||
# In nixos, you can set systemd.package = pkgs.systemd_with_lvm2 to get
|
||||
# LVM2 working in systemd.
|
||||
systemd_with_lvm2 = pkgs.lib.overrideDerivation pkgs.systemd (p: {
|
||||
name = p.name + "-with-lvm2";
|
||||
systemd_with_lvm2 = pkgs.appendToName "with-lvm2" (pkgs.lib.overrideDerivation pkgs.systemd (p: {
|
||||
postInstall = p.postInstall + ''
|
||||
cp "${pkgs.lvm2}/lib/systemd/system-generators/"* $out/lib/systemd/system-generators
|
||||
'';
|
||||
});
|
||||
}));
|
||||
|
||||
sysvinit = callPackage ../os-specific/linux/sysvinit { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue