guix-commits
[Top][All Lists]
Advanced

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

branch master updated: website: the-big-change: Clean up whitespace.


From: Ludovic Courtès
Subject: branch master updated: website: the-big-change: Clean up whitespace.
Date: Tue, 14 Dec 2021 08:39:32 -0500

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

civodul pushed a commit to branch master
in repository guix-artwork.

The following commit(s) were added to refs/heads/master by this push:
     new c9deafa  website: the-big-change: Clean up whitespace.
c9deafa is described below

commit c9deafaa52fee1645649a6f613bf71e60859f051
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Dec 14 14:39:11 2021 +0100

    website: the-big-change: Clean up whitespace.
    
    * website/drafts/the-big-change.md: M-x whitespace-cleanup.
---
 website/drafts/the-big-change.md | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/website/drafts/the-big-change.md b/website/drafts/the-big-change.md
index 9cf7e00..654e2e1 100644
--- a/website/drafts/the-big-change.md
+++ b/website/drafts/the-big-change.md
@@ -76,7 +76,7 @@ dependencies like so:
 ```scheme
 (inputs `(("gawk" ,gawk)
           ("gettext" ,gnu-gettext)
-                 ("pkg-config" ,pkg-config)))
+          ("pkg-config" ,pkg-config)))
 ```
 
 Quite a bit of boilerplate.  Unless you’re into Lisp, this probably
@@ -166,8 +166,8 @@ 
idiom](https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.
 (define hello-variant
   (package
     (inherit hello)
-       (name "hello-variant")
-       (inputs `(("gawk" ,gawk-4.0)))))
+    (name "hello-variant")
+    (inputs `(("gawk" ,gawk-4.0)))))
 ```
 
 Here the intent is to create a package that depends on a different
@@ -191,13 +191,13 @@ field:
 ```scheme
 (define hello
   (package
-       (name "hello")
-       ;; …
-       (arguments
-        (list #:configure-flags
-                  #~(list (string-append "--with-gawk="
+    (name "hello")
+    ;; …
+    (arguments
+     (list #:configure-flags
+           #~(list (string-append "--with-gawk="
                                   #$(this-package-input "gawk")))))
-       (inputs `(("gawk" ,gawk)))))
+    (inputs `(("gawk" ,gawk)))))
 ```
 
 With this in place, we can take advantage of gexps in package
@@ -222,7 +222,7 @@ Input labels are pervasive; they’re visible in three 
contexts:
      phases](https://guix.gnu.org/manual/devel/en/html_node/Build-Phases.html);
   3. in the Scheme programming interface since `package-inputs` and
      related functions are expected to return a list of labeled inputs.
-        
+
 We’re brave but not completely crazy, so we chose to focus on #1 for
 now—it’s also the most visible of all three—, with an plan to
 incrementally address #2, leaving #3 for later.
@@ -241,9 +241,9 @@ our example above can now be written like this:
 ```scheme
 (define hello
   (package
-       (name "hello")
-       ;; …
-       (inputs (list gawk))))
+    (name "hello")
+    ;; …
+    (inputs (list gawk))))
 ```
 
 Much nicer, no?  The effect is even more pleasant for packages with a



reply via email to

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