diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-03-30 11:03:08 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-03-30 11:04:33 +0300 |
commit | 9098745b181b3022587a35afd255f7ff1d41ac86 (patch) | |
tree | f2124f5dd5153e7fab50596c76e5eaccbf5cb9f9 /gnu/packages/compression.scm | |
parent | d978c1cfeb3dbb09c3921e56ed0616ad8ea6e85e (diff) | |
download | guix-9098745b181b3022587a35afd255f7ff1d41ac86.tar.gz |
gnu: zziplib/fixed: Add missing library symlinks.
Fixes <https://bugs.gnu.org/47212>, <https://bugs.gnu.org/47448>, <https://bugs.gnu.org/47492>. * gnu/packages/compression.scm (zziplib/fixed)[arguments]: Add new phase to create missing library symlinks.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 5ed4b4ce98..37a7d230fe 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015 Jeff Mickey <j@codemac.net> -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr> @@ -1786,7 +1786,20 @@ timestamps in the file header with a fixed time (1 January 2008). (sha256 (base32 "0i6bpa2b13z19alm6ig80364dnin1w28cvif18k6wkkb0w3dzp8y")))) - (arguments `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-compatibility-symlinks + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion + (string-append (assoc-ref outputs "out") "/lib") + (map (lambda (lib new-symlink) + (symlink lib new-symlink)) + (list "libzzip.so.13" "libzzipfseeko.so.13" + "libzzipmmapped.so.13" "libzzipwrap.so.13") + (list "libzzip-0.so.13" "libzzipfseeko-0.so.13" + "libzzipmmapped-0.so.13" "libzzipwrap-0.so.13"))) + #t))))) (native-inputs `(("python" ,python) ,@(alist-delete "python" |