systemd: Drop dependency on cryptsetup for now

This is necessary to prevent a cyclic dependency.
This commit is contained in:
Eelco Dolstra 2012-08-16 15:46:20 -04:00
parent 548365b95c
commit b06cb3578d

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig intltool gperf libcap dbus kmod xz pam acl
cryptsetup libuuid m4 usbutils pciutils glib
/* cryptsetup */ libuuid m4 usbutils pciutils glib
];
configureFlags =
@ -49,8 +49,7 @@ stdenv.mkDerivation rec {
done
'';
# -fstack-protector is necessary to build the PAM module correctly.
NIX_CFLAGS_COMPILE = "-DKBD_LOADKEYS=\"${kbd}/bin/loadkeys\" -DKBD_SETFONT=\"${kbd}/bin/setfont\" -fstack-protector";
NIX_CFLAGS_COMPILE = "-DKBD_LOADKEYS=\"${kbd}/bin/loadkeys\" -DKBD_SETFONT=\"${kbd}/bin/setfont\" -fno-stack-protector";
makeFlags = "CPPFLAGS=-I${stdenv.gcc.libc}/include";