gnu: git-annex: Patch 'git-annex webapp' to use hardcoded lsof.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Substitute "lsof" in 'patch-webapp' phase. [inputs]: Add lsof.
This commit is contained in:
parent
8bf8b59101
commit
323d868ceb
1 changed files with 7 additions and 1 deletions
|
@ -50,6 +50,7 @@ (define-module (gnu packages haskell-apps)
|
|||
#:use-module (gnu packages haskell-crypto)
|
||||
#:use-module (gnu packages haskell-web)
|
||||
#:use-module (gnu packages haskell-xyz)
|
||||
#:use-module (gnu packages lsof)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
|
@ -335,7 +336,11 @@ (define-public git-annex
|
|||
;; webapp' runs without making the user also install xdg-utils.
|
||||
(substitute* '("Assistant/WebApp/DashBoard.hs"
|
||||
"Utility/WebApp.hs")
|
||||
(("xdg-open") (which "xdg-open")))))
|
||||
(("xdg-open") (which "xdg-open")))
|
||||
;; Also replace loose references to lsof.
|
||||
(substitute* "Assistant/Threads/Watcher.hs"
|
||||
(("\"lsof\"")
|
||||
(string-append "\"" (which "lsof") "\"")))))
|
||||
(add-before 'configure 'factor-setup
|
||||
(lambda _
|
||||
;; Factor out necessary build logic from the provided
|
||||
|
@ -480,6 +485,7 @@ (define-public git-annex
|
|||
ghc-yesod-core
|
||||
ghc-yesod-form
|
||||
ghc-yesod-static
|
||||
lsof
|
||||
rsync
|
||||
xdg-utils))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue