redo-apenwarr: Fix failure with bash-5.3 (#429699)
This commit is contained in:
@@ -31,20 +31,23 @@ stdenv.mkDerivation rec {
|
||||
unset CC CXX
|
||||
|
||||
substituteInPlace minimal/do.test \
|
||||
--replace "/bin/pwd" "${coreutils}/bin/pwd"
|
||||
--replace-fail "/bin/pwd" "${coreutils}/bin/pwd"
|
||||
|
||||
substituteInPlace t/105-sympath/all.do \
|
||||
--replace "/bin/pwd" "${coreutils}/bin/pwd"
|
||||
--replace-fail "/bin/pwd" "${coreutils}/bin/pwd"
|
||||
|
||||
substituteInPlace t/all.do \
|
||||
--replace "/bin/ls" "ls"
|
||||
--replace-fail "/bin/ls" "ls"
|
||||
|
||||
substituteInPlace t/110-compile/hello.o.do \
|
||||
--replace "/usr/include" "${lib.getDev stdenv.cc.libc}/include"
|
||||
--replace-fail "/usr/include" "${lib.getDev stdenv.cc.libc}/include"
|
||||
|
||||
substituteInPlace t/200-shell/nonshelltest.do \
|
||||
--replace "/usr/bin/env perl" "${perl}/bin/perl"
|
||||
--replace-fail "/usr/bin/env perl" "${perl}/bin/perl"
|
||||
|
||||
# See https://github.com/apenwarr/redo/pull/47
|
||||
substituteInPlace minimal/do \
|
||||
--replace-fail 'cd "$dodir"' 'cd "''${dodir:-.}"'
|
||||
'';
|
||||
|
||||
inherit doCheck;
|
||||
|
||||
Reference in New Issue
Block a user