diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm index 1d0a5d6c4..7c0ab6e95 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -138,7 +138,7 @@ performance measurement opportunites across the hardware and software stack.") version ".tar.gz")) (sha256 (base32 "1lyaqhdfaqm1kd23yk71g71vkscw83s7m57j017y768h8sh8xlwa")))) (native-inputs `(("python" ,python))) - (outputs '("doc" ; 18MB + (outputs '("doc" ; 18MB "lib" "out")) (build-system gnu-build-system) @@ -147,16 +147,15 @@ performance measurement opportunites across the hardware and software stack.") #:phases (modify-phases %standard-phases (add-after 'install 'licence - (lambda _ - (for-each - (lambda (op) - (let ((doc (string-append (assoc-ref %outputs op) "/share/doc"))) - (mkdir-p doc) - (install-file "COPYING" doc))) - '("lib" "doc")) + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (output) + (let ((doc (string-append (assoc-ref outputs output) + "/share/doc/otf2"))) + (install-file "COPYING" doc))) + '("lib" "doc")) #t))))) (home-page "http://www.vi-hps.org/projects/score-p/") (synopsis "Open Trace Format 2 library") - (description "The Open Trace Format 2 (OTF2) is a highly scalable, memory efficient event -trace data format plus support library.") + (description "The Open Trace Format 2 (OTF2) is a scalable, memory +efficient event trace data format plus support library.") (license license:bsd-3)))