Skip to content

Commit

Permalink
systemd: Drop dependency on cryptsetup for now
Browse files Browse the repository at this point in the history
This is necessary to prevent a cyclic dependency.
  • Loading branch information
edolstra committed Aug 16, 2012
1 parent 548365b commit b06cb35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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";

Expand Down

0 comments on commit b06cb35

Please sign in to comment.