···1-{ stdenv, fetchurl }:
23stdenv.mkDerivation rec {
4 name = "libfaketime-${version}";
···13 ./no-date-in-gzip-man-page.patch
14 ];
150000000016 preBuild = ''
17 makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
18 '';
001920 meta = with stdenv.lib; {
21 description = "Report faked system time to programs without having to change the system-wide time";
···1+{ stdenv, fetchurl, bash, perl }:
23stdenv.mkDerivation rec {
4 name = "libfaketime-${version}";
···13 ./no-date-in-gzip-man-page.patch
14 ];
1516+ postPatch = ''
17+ patchShebangs test src
18+ for a in test/functests/test_exclude_mono.sh src/faketime.c ; do
19+ substituteInPlace $a \
20+ --replace /bin/bash ${stdenv.shell}
21+ done
22+ '';
23+24 preBuild = ''
25 makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
26 '';
27+28+ checkInputs = [ perl ];
2930 meta = with stdenv.lib; {
31 description = "Report faked system time to programs without having to change the system-wide time";