pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nix: fix config.nix, still needs further fixes.

Module Name:	pkgsrc-wip
Committed By:	nikita <>
Pushed By:	nikita
Date:		Sat Aug 1 21:39:23 2020 +0200
Changeset:	94c07465828e0db3d6a522928f78b430d2a42a88

Modified Files:

Log Message:
nix: fix config.nix, still needs further fixes.

To see a diff of this commit:;a=commitdiff;h=94c07465828e0db3d6a522928f78b430d2a42a88

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 nix/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/nix/Makefile b/nix/Makefile
index 1123bd6cf7..20617b094a 100644
--- a/nix/Makefile
+++ b/nix/Makefile
@@ -76,6 +76,15 @@ SUBST_FILES.docbook2+=	doc/manual/
 SUBST_STAGE.docbook2=	pre-configure
 SUBST_SED.docbook2+=	-e 's,,${PREFIX}/share/xsl/docbook,g'
+# remove workdir references
+SUBST_CLASSES+=			confignix
+SUBST_MESSAGE.confignix=	remove workdir references
+SUBST_FILES.confignix+=		corepkgs/
+SUBST_STAGE.confignix=		post-configure
+SUBST_SED.confignix+=		-e 's,@bash@,${PREFIX}/bin/bash,g'
+SUBST_SED.confignix+=		-e 's,@coreutils@,/bin,g'
+SUBST_SED.confignix+=		-e 's,@tr@,/usr/bin/tr,g'
 BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
 BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl

Home | Main Index | Thread Index | Old Index