mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
zoneminder: replace /bin/rm with Nix path
This fixes running zmaudit.pl, among others.
This commit is contained in:
parent
630cbf639d
commit
2a6fe23bac
@ -116,6 +116,12 @@ in stdenv.mkDerivation rec {
|
||||
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
||||
done
|
||||
|
||||
for f in scripts/ZoneMinder/lib/ZoneMinder/Event.pm \
|
||||
scripts/ZoneMinder/lib/ZoneMinder/Storage.pm ; do
|
||||
substituteInPlace $f \
|
||||
--replace '/bin/rm' "${coreutils}/bin/rm"
|
||||
done
|
||||
|
||||
substituteInPlace web/includes/functions.php \
|
||||
--replace "'date " "'${coreutils}/bin/date " \
|
||||
--subst-var-by srcHash "`basename $out`"
|
||||
|
Loading…
Reference in New Issue
Block a user