xfstests: 2018-04-11 -> 2019-09-08

This commit is contained in:
Daniel Schaefer 2019-09-13 17:40:16 +02:00
parent b19be78a93
commit 08dab35cd4

View File

@ -4,12 +4,12 @@
, time, utillinux, which, writeScript, xfsprogs, runtimeShell }: , time, utillinux, which, writeScript, xfsprogs, runtimeShell }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "xfstests-2018-04-11"; name = "xfstests-2019-09-08";
src = fetchgit { src = fetchgit {
url = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git"; url = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git";
rev = "fdf6d4bc862bb3269c95986fdaf1c59271762ad6"; rev = "0837e907988a5f410cae0ae714f42f9c4242e072";
sha256 = "16j1kcmj0xq6s2qw4hll5r5cz7q4vbbsy2nh1g5aaq7xsl3h8mhb"; sha256 = "1f5cv0vwc1g9difzp69k49rc5nfd08y72vdg318j25nv3rwv7wc9";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -23,6 +23,9 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
patchPhase = '' patchPhase = ''
substituteInPlace Makefile \
--replace "cp include/install-sh ." "cp -f include/install-sh ."
# Patch the destination directory # Patch the destination directory
sed -i include/builddefs.in -e "s|^PKG_LIB_DIR\s*=.*|PKG_LIB_DIR=$out/lib/xfstests|" sed -i include/builddefs.in -e "s|^PKG_LIB_DIR\s*=.*|PKG_LIB_DIR=$out/lib/xfstests|"