diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-11-08 22:44:08 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-11-10 18:49:48 +0100 |
commit | 3f62fa2b8180afd8dafd9e38cc34bcba9beab871 (patch) | |
tree | 17e128b1595622d5d6813178afddce0710f9f803 /gnu/packages/inkscape.scm | |
parent | 65d2f396f72fec26a3b40b22495e6fd372424932 (diff) | |
download | guix-3f62fa2b8180afd8dafd9e38cc34bcba9beab871.tar guix-3f62fa2b8180afd8dafd9e38cc34bcba9beab871.tar.gz |
gnu: inkscape: Use modify-phases syntax.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Use modify-phases
syntax.
Diffstat (limited to 'gnu/packages/inkscape.scm')
-rw-r--r-- | gnu/packages/inkscape.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm index 16f83fc474..d98a4cd7a9 100644 --- a/gnu/packages/inkscape.scm +++ b/gnu/packages/inkscape.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 John Darrington <jmd@gnu.org> ;;; Copyright © 2014, 2016 Mark H Weaver <mhw@netris.org> +;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -80,13 +81,13 @@ `(;; Add '-std=c++11', required by recent versions of GLibmm & co. ;; Use '-g0' to reduce disk usage during the build. #:configure-flags '("CXXFLAGS=-g0 -O2 -fopenmp -std=c++11") - - #:phases (alist-cons-after - 'unpack 'fix-test-includes - (lambda _ - (substitute* "src/cxxtests.cpp" - (("\\.\\./\\.\\./src") "../src"))) - %standard-phases))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-test-includes + (lambda _ + (substitute* "src/cxxtests.cpp" + (("\\.\\./\\.\\./src") "../src")) + #t))))) (home-page "http://inkscape.org/") (synopsis "Vector graphics editor") (description "Inkscape is a vector graphics editor. What sets Inkscape |