Skip to content

Commit

Permalink
pdfsandwich cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wi11dey committed Nov 26, 2023
1 parent fa1ab27 commit 95b90cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/pdfsandwich.scm
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@
(list
#:tests? #f ; No tests included.
#:configure-flags #~(list (string-append "--prefix=" #$output))
#:modules '((guix build ocaml-build-system)
(guix build utils)
(srfi srfi-26))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/pdfsandwich")
`("PATH" ":" prefix
,(map (lambda (input) (string-append input "/bin"))
'(#$ghostscript
#$imagemagick
#$poppler
#$tesseract-ocr
#$unpaper)))))))))))
,(map (compose (cut string-append <> "/bin")
cadr)
'#$(package-inputs this-package)))))))))))

pdfsandwich

0 comments on commit 95b90cf

Please sign in to comment.