[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: hplip: Fix scanner model detection.
From: |
guix-commits |
Subject: |
branch master updated: gnu: hplip: Fix scanner model detection. |
Date: |
Thu, 09 Jan 2020 18:30:12 -0500 |
This is an automated email from the git hooks/post-receive script.
dannym pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new afc7882 gnu: hplip: Fix scanner model detection.
afc7882 is described below
commit afc7882f2d7765954c255922a39e20400c540376
Author: Danny Milosavljevic <address@hidden>
AuthorDate: Fri Jan 10 00:25:50 2020 +0100
gnu: hplip: Fix scanner model detection.
* gnu/packages/cups.scm (hplip)[arguments]<#:phases>[install-models-dat]:
New
phase.
---
gnu/packages/cups.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 8f3cdf6..0adca9a 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -537,6 +537,13 @@ should only be used as part of the Guix cups-pk-helper
service.")
"/lib/systemd/system"))
(("/etc/sane.d")
(string-append out "/etc/sane.d"))))))
+ (add-after 'install 'install-models-dat
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (models-dir (string-append out
+ "/share/hplip/data/models")))
+ (install-file "data/models/models.dat" models-dir))
+ #t))
(add-after 'install 'wrap-binaries
;; Scripts in /bin are all symlinks to .py files in /share/hplip.
;; Symlinks are immune to the Python build system's 'WRAP phase,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: hplip: Fix scanner model detection.,
guix-commits <=