Merge remote-tracking branch 'upstream/master' into hardened-stdenv
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user