···11-{ lib, stdenv, fetchFromGitHub, cmake, tzdata, fetchpatch, substituteAll }:
11+{ lib, stdenv, fetchFromGitHub, cmake, tzdata, fetchpatch, replaceVars }:
2233stdenv.mkDerivation rec {
44 pname = "howard-hinnant-date";
···2222 # Without this patch, this library will drop a `tzdata` directory into
2323 # `~/Downloads` if it cannot find `/usr/share/zoneinfo`. Make the path it
2424 # searches for `zoneinfo` be the one from the `tzdata` package.
2525- (substituteAll {
2626- src = ./make-zoneinfo-available.diff;
2525+ (replaceVars ./make-zoneinfo-available.diff {
2726 inherit tzdata;
2827 })
2928 ];
···1313 ninja,
1414 pkg-config,
1515 python3,
1616- substituteAll,
1616+ replaceVars,
1717 systemdMinimal,
1818 usbutils,
1919 vala,
···4444 # Replace references to udevadm with an absolute paths, so programs using
4545 # umockdev will just work without having to provide it in their test environment
4646 # $PATH.
4747- (substituteAll {
4848- src = ./substitute-udevadm.patch;
4747+ (replaceVars ./substitute-udevadm.patch {
4948 udevadm = "${systemdMinimal}/bin/udevadm";
5049 })
5150 ];