summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2019-03-05 18:32:30 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-05 23:08:53 +0100
commitfbf26cbcf3addebbbf440d4b79bca8a6aecbd257 (patch)
tree5e2c9a65b0ec0ac7a35f62fb246995a9b43abe61 /gnu
parent107b081ef795c856d4c866192d343fb81dc89111 (diff)
gnu: singularity: Patch 'Makefile.in' in a snippet.
* gnu/packages/linux.scm (singularity)[source](snippet, modules): New fields. [arguments]: Remove 'disable-install-hook' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index dd9e19aa370..e4cfc546c0c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr> 3;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
4;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> 4;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
5;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org> 5;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org>
@@ -2656,7 +2656,14 @@ thanks to the use of namespaces.")
2656 "/singularity-" version ".tar.gz")) 2656 "/singularity-" version ".tar.gz"))
2657 (sha256 2657 (sha256
2658 (base32 2658 (base32
2659 "1whx0hqqi1326scgdxxxa1d94vn95mnq0drid6s8wdp84ni4d3gk")))) 2659 "1whx0hqqi1326scgdxxxa1d94vn95mnq0drid6s8wdp84ni4d3gk"))
2660 (modules '((guix build utils)))
2661 (snippet
2662 '(begin
2663 ;; Do not create directories in /var.
2664 (substitute* "Makefile.in"
2665 (("\\$\\(MAKE\\) .*install-data-hook") ""))
2666 #t))))
2660 (build-system gnu-build-system) 2667 (build-system gnu-build-system)
2661 (arguments 2668 (arguments
2662 `(#:configure-flags 2669 `(#:configure-flags
@@ -2664,12 +2671,6 @@ thanks to the use of namespaces.")
2664 "--localstatedir=/var") 2671 "--localstatedir=/var")
2665 #:phases 2672 #:phases
2666 (modify-phases %standard-phases 2673 (modify-phases %standard-phases
2667 ;; Do not create directories in /var.
2668 (add-after 'unpack 'disable-install-hook
2669 (lambda _
2670 (substitute* "Makefile.in"
2671 (("\\$\\(MAKE\\) .*install-data-hook") ""))
2672 #t))
2673 (add-after 'unpack 'patch-reference-to-squashfs-tools 2674 (add-after 'unpack 'patch-reference-to-squashfs-tools
2674 (lambda _ 2675 (lambda _
2675 (substitute* "libexec/cli/build.exec" 2676 (substitute* "libexec/cli/build.exec"