From e693617f559f49d1d2606dd5ad997e444b9ad1b5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 20 Dec 2020 16:06:49 +0100 Subject: gnu: PostgreSQL: Do not embed references to build tools. Fixes . * gnu/packages/databases.scm (postgresql-13)[arguments]: In #:configure-flags, provide non-absolute references to the build tools. --- gnu/packages/databases.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8c0da1b666..733c8c4ef5 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1187,7 +1187,12 @@ developed in C/C++ to MariaDB and MySQL databases.") (patches (search-patches "postgresql-disable-resolve_symlinks.patch")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl") + `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl" + ;; PostgreSQL installs its own Makefile (should it?). + ;; Prevent it from retaining needless references to + ;; the build tools in order to save size. + "MKDIR_P=mkdir -p" "INSTALL_BIN=install -c" + "LD=ld" "TAR=tar") #:phases (modify-phases %standard-phases (add-before 'configure 'patch-/bin/sh -- cgit v1.2.3