~ruther/guix-local

593987671af63984632ae54eab13f9a47d471ea5 — Ludovic Courtès 13 years ago 5924080
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.
1 files changed, 4 insertions(+), 3 deletions(-)

M guix/build/gnu-build-system.scm
M guix/build/gnu-build-system.scm => guix/build/gnu-build-system.scm +4 -3
@@ 109,9 109,10 @@ makefiles."
           (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"))