From 802307fe6f6ce5cb89addc9ab25b5e488c443575 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 7 Oct 2021 14:54:08 -0400 Subject: gnu: meson: Patch to allow installing to independent prefixes. Meson goes to lengths at preventing installation to directories outside of the main installation prefix. This isn't convenient or desirable in Guix; patch it out using a patch maintained by Nix. * gnu/packages/patches/meson-allow-dirs-outside-of-prefix.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/build-tools.scm (meson): Use it. --- gnu/packages/build-tools.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/build-tools.scm') diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index c92fe0b0c0..a02d1a7d80 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -272,7 +272,9 @@ files and generates build instructions for the Ninja build system.") version ".tar.gz")) (sha256 (base32 - "0v9m0bazhj48kwc8x3gkxg5c3kcvknvqfjlq22z6pm2h2r2nln6v")))) + "0v9m0bazhj48kwc8x3gkxg5c3kcvknvqfjlq22z6pm2h2r2nln6v")) + (patches (search-patches + "meson-allow-dirs-outside-of-prefix.patch")))) (build-system python-build-system) (arguments `(;; FIXME: Tests require many additional inputs and patching many -- cgit 1.4.1