gnu: daemontools: Don't assume sources match NAME.

* gnu/packages/admin.scm (daemontools)[source, argumenst]: Hard-code
name.
master
Tobias Geerinckx-Rice 2018-12-23 10:16:05 +01:00
parent 16572d0e02
commit 213114a7b1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 3 deletions

View File

@ -219,8 +219,8 @@ interface and is based on GNU Guile.")
(source (origin
(method url-fetch)
(uri (string-append
"https://cr.yp.to/" name "/"
name "-" version ".tar.gz"))
"https://cr.yp.to/daemontools/"
"daemontools-" version ".tar.gz"))
(sha256
(base32
"07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))))
@ -231,7 +231,7 @@ interface and is based on GNU Guile.")
(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir ,(string-append name "-" version))
(chdir ,(string-append "daemontools-" version))
#t))
(delete 'configure)
(add-before 'build 'patch