The guix style command reformats a package or a file to use the code
style used by Guix.

This commits sync the cflags definitions with the output produced by
guix style.

This commit should contain no functional changes.

Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 scripts/guix.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index cc21571..8e1f0a3 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -107,15 +107,13 @@
     (string-split local-modules #\ )))
 
 (define %common-strict-cflags
-  (let* ((port (open-input-pipe
-                "./strict-cflags.sh"))
-         (str  (read-line port)))
+  (let* ((port (open-input-pipe "./strict-cflags.sh"))
+         (str (read-line port)))
     (close-pipe port)
     (string-append "CFLAGS=" str)))
 
 (define %clang-strict-cflags
-  (string-append
-   "-Werror=non-virtual-dtor"))
+  (string-append "-Werror=non-virtual-dtor"))
 
 (define %commit
   (let* ((port (open-input-pipe
-- 
2.39.1

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to