gnu: fish: Remove bundled code.

* gnu/packages/shells.scm (fish)[source]: Add snippet to remove bundled
pcre2 source.
This commit is contained in:
Efraim Flashner 2020-07-12 21:53:02 +03:00
parent 437af9e26c
commit 5c33e79ada
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15,6 +15,7 @@
;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -107,7 +108,11 @@ (define-public fish
"releases/download/" version "/" "releases/download/" version "/"
"fish-" version ".tar.gz")) "fish-" version ".tar.gz"))
(sha256 (sha256
(base32 "1vblmb3x2k2cb0db5jdyflppnlqsm7i6jjaidyhmvaaw7ch2gffm")))) (base32 "1vblmb3x2k2cb0db5jdyflppnlqsm7i6jjaidyhmvaaw7ch2gffm"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "pcre2-10.32") #t))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("fish-foreign-env" ,fish-foreign-env) `(("fish-foreign-env" ,fish-foreign-env)