Merge pull request #29380 from obsidiansystems/eval-fix

bcachefs-tools: Make eval more robust
This commit is contained in:
John Ericson 2017-09-14 12:54:18 -04:00 committed by GitHub
commit d2f4084eb9

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig attr libuuid libscrypt libsodium keyutils liburcu zlib libaio ];
preConfigure = ''
substituteInPlace cmd_migrate.c --replace /usr/include/dirent.h ${stdenv.glibc.dev}/include/dirent.h
substituteInPlace cmd_migrate.c --replace /usr/include/dirent.h ${stdenv.lib.getDev stdenv.cc.libc}/include/dirent.h
'';
installFlags = [ "PREFIX=$(out)" ];