Merge pull request #222025 from peat-psuwit/zoneminder-1.36.33
zoneminder: 1.36.32 -> 1.36.33, replace /bin/rm with Nix path
This commit is contained in:
commit
63829f0f13
@ -57,13 +57,13 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "zoneminder";
|
pname = "zoneminder";
|
||||||
version = "1.36.32";
|
version = "1.36.33";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ZoneMinder";
|
owner = "ZoneMinder";
|
||||||
repo = "zoneminder";
|
repo = "zoneminder";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-8iRoGpkpZVOOr0wSY9iey2x4gPfKTfUNtt5TCHCCRIQ=";
|
sha256 = "sha256-KUhFZrF7BuLB2Z3LnTcHEEZVA6iosam6YsOd8KWvx7E=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -116,6 +116,12 @@ in stdenv.mkDerivation rec {
|
|||||||
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
--replace "'ffmpeg " "'${ffmpeg}/bin/ffmpeg "
|
||||||
done
|
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 \
|
substituteInPlace web/includes/functions.php \
|
||||||
--replace "'date " "'${coreutils}/bin/date " \
|
--replace "'date " "'${coreutils}/bin/date " \
|
||||||
--subst-var-by srcHash "`basename $out`"
|
--subst-var-by srcHash "`basename $out`"
|
||||||
|
Loading…
Reference in New Issue
Block a user