guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Revert "gnu: linux-libre: Move info manual to doc


From: guix-commits
Subject: branch master updated: Revert "gnu: linux-libre: Move info manual to doc output."
Date: Thu, 01 Dec 2022 21:42:09 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4781f0458d Revert "gnu: linux-libre: Move info manual to doc output."
4781f0458d is described below

commit 4781f0458de7419606b71bdf0fe56bca83ace910
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Dec 1 21:33:48 2022 -0500

    Revert "gnu: linux-libre: Move info manual to doc output."
    
    This reverts commit 748ec628826cea3faa3679074d87fae9bc810080.  It broke the
    linux-libre-module-builder like so:
    
       builder for
       
`/gnu/store/293jxydym9z7ck7afmrjqhiw3xpfs4i1-linux-libre-module-builder-6.0.10.drv'
       failed to produce output path
       
`/gnu/store/ghmp1q5w6r1s9364rz53jd42152wgz2v-linux-libre-module-builder-6.0.10-doc'
    
    for reasons difficult to understand.
---
 gnu/packages/linux.scm             | 15 ++++-----------
 guix/build-system/linux-module.scm |  1 -
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1bff1ccaee..8c417fb600 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -836,7 +836,6 @@ for ARCH and optionally VARIANT, or #f if there is no such 
configuration."
     (version version)
     (source source)
     (supported-systems supported-systems)
-    (outputs `("out" ,@(if build-doc? '("doc") '())))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -863,16 +862,10 @@ for ARCH and optionally VARIANT, or #f if there is no 
such configuration."
                         (invoke "make" "infodocs")))
                     (add-after 'build-doc 'install-doc
                       (lambda _
-                        (let* ((info-dir (string-append #$output:doc
-                                                        "/share/info"))
-                               (info (string-append
-                                      info-dir "/TheLinuxKernel.info.gz")))
-                          (with-directory-excursion "Documentation/output"
-                            (invoke "make" "-C" "texinfo" "install-info"
-                                    (string-append "infodir=" info-dir)))
-                          ;; Create a symlink, for convenience.
-                          (symlink info (string-append info-dir
-                                                       "/linux.info.gz"))))))
+                        (with-directory-excursion "Documentation/output"
+                          (invoke "make" "-C" "texinfo" "install-info"
+                                  (string-append "infodir=" #$output
+                                                 "/share/info"))))))
                  #~())
           (add-before 'configure 'set-environment
             (lambda* (#:key target #:allow-other-keys)
diff --git a/guix/build-system/linux-module.scm 
b/guix/build-system/linux-module.scm
index 29c3485023..c1ddeaea10 100644
--- a/guix/build-system/linux-module.scm
+++ b/guix/build-system/linux-module.scm
@@ -59,7 +59,6 @@
     (name (string-append (package-name linux) "-module-builder"))
     (inputs
      `(("linux" ,linux)))
-    (outputs (delete "doc" (package-outputs linux)))
     (arguments
      (substitute-keyword-arguments (package-arguments linux)
        ((#:phases phases)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]