···7 nix-update-script,
8 makeWrapper,
9 bash,
10+ replaceVars,
11}:
12stdenv.mkDerivation (finalAttrs: {
13 pname = "haredo";
···2728 patches = [
29 # Use nix store's bash instead of sh. `@bash@/bin/sh` is used, since haredo expects a posix shell.
30+ (replaceVars ./001-use-nix-store-sh.patch {
031 inherit bash;
32 })
33 ];
+2-3
pkgs/by-name/ho/howard-hinnant-date/package.nix
···1-{ lib, stdenv, fetchFromGitHub, cmake, tzdata, fetchpatch, substituteAll }:
23stdenv.mkDerivation rec {
4 pname = "howard-hinnant-date";
···22 # Without this patch, this library will drop a `tzdata` directory into
23 # `~/Downloads` if it cannot find `/usr/share/zoneinfo`. Make the path it
24 # searches for `zoneinfo` be the one from the `tzdata` package.
25- (substituteAll {
26- src = ./make-zoneinfo-available.diff;
27 inherit tzdata;
28 })
29 ];
···1+{ lib, stdenv, fetchFromGitHub, cmake, tzdata, fetchpatch, replaceVars }:
23stdenv.mkDerivation rec {
4 pname = "howard-hinnant-date";
···22 # Without this patch, this library will drop a `tzdata` directory into
23 # `~/Downloads` if it cannot find `/usr/share/zoneinfo`. Make the path it
24 # searches for `zoneinfo` be the one from the `tzdata` package.
25+ (replaceVars ./make-zoneinfo-available.diff {
026 inherit tzdata;
27 })
28 ];
···13 ninja,
14 pkg-config,
15 python3,
16- substituteAll,
17 systemdMinimal,
18 usbutils,
19 vala,
···44 # Replace references to udevadm with an absolute paths, so programs using
45 # umockdev will just work without having to provide it in their test environment
46 # $PATH.
47- (substituteAll {
48- src = ./substitute-udevadm.patch;
49 udevadm = "${systemdMinimal}/bin/udevadm";
50 })
51 ];
···13 ninja,
14 pkg-config,
15 python3,
16+ replaceVars,
17 systemdMinimal,
18 usbutils,
19 vala,
···44 # Replace references to udevadm with an absolute paths, so programs using
45 # umockdev will just work without having to provide it in their test environment
46 # $PATH.
47+ (replaceVars ./substitute-udevadm.patch {
048 udevadm = "${systemdMinimal}/bin/udevadm";
49 })
50 ];