mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
isc-cron: fix substituteAll usage
This commit is contained in:
parent
ed8c856ebf
commit
8a9b8cd39e
@ -35,10 +35,10 @@ diff -Naur cron-old/pathnames.h cron-new/pathnames.h
|
||||
+#define _PATH_SENDMAIL "@sendmailPath@"
|
||||
+
|
||||
+#undef _PATH_VI
|
||||
+#define _PATH_VI "@VIPATH@"
|
||||
+#define _PATH_VI "@viPath@"
|
||||
+
|
||||
+#undef _PATH_DEFPATH
|
||||
+#define _PATH_DEFPATH "@DEFPATH@"
|
||||
+#define _PATH_DEFPATH "@defPath@"
|
||||
+
|
||||
+/* Nixpkgs-specific patch end */
|
||||
+
|
||||
|
@ -20,8 +20,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(substituteAll {
|
||||
src = ./0000-nixpkgs-specific.diff;
|
||||
inherit sendmailPath;
|
||||
VIPATH = lib.getExe' vim "vim";
|
||||
DEFPATH = lib.concatStringsSep ":" [
|
||||
viPath = lib.getExe' vim "vim";
|
||||
defPath = lib.concatStringsSep ":" [
|
||||
"/run/wrappers/bin"
|
||||
"/nix/var/nix/profiles/default/bin"
|
||||
"/run/current-system/sw/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user