tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
isc-cron: fix substituteAll usage
K900
1 year ago
8a9b8cd3
ed8c856e
+4
-4
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
is
isc-cron
0000-nixpkgs-specific.diff
package.nix
+2
-2
pkgs/by-name/is/isc-cron/0000-nixpkgs-specific.diff
···
35
35
+#define _PATH_SENDMAIL "@sendmailPath@"
36
36
+
37
37
+#undef _PATH_VI
38
38
-
+#define _PATH_VI "@VIPATH@"
38
38
+
+#define _PATH_VI "@viPath@"
39
39
+
40
40
+#undef _PATH_DEFPATH
41
41
-
+#define _PATH_DEFPATH "@DEFPATH@"
41
41
+
+#define _PATH_DEFPATH "@defPath@"
42
42
+
43
43
+/* Nixpkgs-specific patch end */
44
44
+
+2
-2
pkgs/by-name/is/isc-cron/package.nix
···
20
20
(substituteAll {
21
21
src = ./0000-nixpkgs-specific.diff;
22
22
inherit sendmailPath;
23
23
-
VIPATH = lib.getExe' vim "vim";
24
24
-
DEFPATH = lib.concatStringsSep ":" [
23
23
+
viPath = lib.getExe' vim "vim";
24
24
+
defPath = lib.concatStringsSep ":" [
25
25
"/run/wrappers/bin"
26
26
"/nix/var/nix/profiles/default/bin"
27
27
"/run/current-system/sw/bin"