mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
build-system/gnu: Fix default name for the "doc" output directory.
* guix/build/gnu-build-system.scm (configure)[package-name]: Drop the prefix corresponding to the hash part of OUT.
This commit is contained in:
parent
5924080dcc
commit
593987671a
1 changed files with 4 additions and 3 deletions
|
@ -109,9 +109,10 @@ (define (package-name)
|
|||
(base (basename out))
|
||||
(dash (string-rindex base #\-)))
|
||||
;; XXX: We'd rather use `package-name->name+version' or similar.
|
||||
(if dash
|
||||
(substring base 0 dash)
|
||||
base)))
|
||||
(string-drop (if dash
|
||||
(substring base 0 dash)
|
||||
base)
|
||||
(+ 1 (string-index base #\-)))))
|
||||
|
||||
(let* ((prefix (assoc-ref outputs "out"))
|
||||
(bindir (assoc-ref outputs "bin"))
|
||||
|
|
Loading…
Reference in a new issue