Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-03-28 15:16:29 +00:00
628 changed files with 60034 additions and 8180 deletions

View File

@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
buildInputs = [ udev utillinux ];
postPatch = ''
sed -i '1i#include <sys/stat.h>' ldm.c
substituteInPlace ldm.c \
--replace "/mnt/" "${mountPath}"
sed '16i#include <sys/stat.h>' -i ldm.c
'';
buildFlags = "ldm";