mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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 @@
|
||||||
#:use-module (gnu packages haskell-crypto)
|
#:use-module (gnu packages haskell-crypto)
|
||||||
#:use-module (gnu packages haskell-web)
|
#:use-module (gnu packages haskell-web)
|
||||||
#:use-module (gnu packages haskell-xyz)
|
#:use-module (gnu packages haskell-xyz)
|
||||||
|
#:use-module (gnu packages lsof)
|
||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -335,7 +336,11 @@ to @code{cabal repl}).")
|
||||||
;; webapp' runs without making the user also install xdg-utils.
|
;; webapp' runs without making the user also install xdg-utils.
|
||||||
(substitute* '("Assistant/WebApp/DashBoard.hs"
|
(substitute* '("Assistant/WebApp/DashBoard.hs"
|
||||||
"Utility/WebApp.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
|
(add-before 'configure 'factor-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Factor out necessary build logic from the provided
|
;; Factor out necessary build logic from the provided
|
||||||
|
@ -480,6 +485,7 @@ to @code{cabal repl}).")
|
||||||
ghc-yesod-core
|
ghc-yesod-core
|
||||||
ghc-yesod-form
|
ghc-yesod-form
|
||||||
ghc-yesod-static
|
ghc-yesod-static
|
||||||
|
lsof
|
||||||
rsync
|
rsync
|
||||||
xdg-utils))
|
xdg-utils))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue