mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-09 04:42:01 +01:00
gnu: sugar-datastore: Patch reference to md5sum.
* gnu/packages/sugar.scm (sugar-datastore)[inputs]: Add coreutils. [arguments]: Rename phase 'patch-reference-to-du to 'patch-tool-references and patch reference to md5sum.
This commit is contained in:
parent
21f9edb051
commit
a4fca7884c
1 changed files with 9 additions and 3 deletions
|
@ -262,10 +262,15 @@ activities and other Sugar components.")
|
||||||
(substitute* "autogen.sh"
|
(substitute* "autogen.sh"
|
||||||
(("^\"\\$srcdir/configure" m)
|
(("^\"\\$srcdir/configure" m)
|
||||||
(string-append "#" m)))))
|
(string-append "#" m)))))
|
||||||
(add-after 'unpack 'patch-reference-to-du
|
(add-after 'unpack 'patch-tool-references
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/carquinyol/datastore.py"
|
(substitute* "src/carquinyol/datastore.py"
|
||||||
(("/usr/bin/du") (which "du")))))
|
(("/usr/bin/du") (which "du")))
|
||||||
|
(substitute* "src/carquinyol/optimizer.py"
|
||||||
|
(("'md5sum'")
|
||||||
|
(string-append "'"
|
||||||
|
(search-input-file inputs "/bin/md5sum")
|
||||||
|
"'")))))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(for-each
|
(for-each
|
||||||
|
@ -279,6 +284,7 @@ activities and other Sugar components.")
|
||||||
(search-input-file outputs "bin/datastore-service"))))))))
|
(search-input-file outputs "bin/datastore-service"))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
|
coreutils
|
||||||
python
|
python
|
||||||
sugar-toolkit-gtk3))
|
sugar-toolkit-gtk3))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Reference in a new issue