Fix whitespace

Julien LepillerSat Aug 22 00:51:20+0200 2020

759c9e5

Fix whitespace

systems/xana.scm

2424
(use-modules (config certbot) (config cuirass) (config network) (config os))
2525
(use-modules (guix gexp))
2626
(use-package-modules base compression gettext guile guile-xyz linux version-control
27-
		     wget)
27+
                     wget)
2828
2929
(define (makefile-job directory target packages env)
3030
  #~(lambda ()

3333
          (map (lambda (p) (string-append p "/bin")) (list #$@packages))
3434
          ":"))
3535
      (define (get-path dir)
36-
	(string-join
37-
	  (map (lambda (p) (string-append p "/" path) (list #$@packages)))
38-
	  ":"))
36+
        (string-join
37+
          (map (lambda (p) (string-append p "/" path) (list #$@packages)))
38+
          ":"))
3939
      (setenv "PATH" path)
4040
      (setenv "GIT_SSL_CAINFO" "/etc/ssl/certs/ca-certificates.crt")
4141
      (setenv "SSL_CERT_DIR" "/etc/ssl/certs")
4242
      (setenv "SSL_CERT_FILE" "/etc/ssl/certs/ca-certificates.crt")
4343
      (setenv "LANG" "en_US.UTF-8")
4444
      (for-each
45-
	(lambda (env)
46-
	 (setenv (car env) (get-path (cdr env))))
47-
	(quote #$env))
45+
        (lambda (env)
46+
         (setenv (car env) (get-path (cdr env))))
47+
        (quote #$env))
4848
      (execl #$(file-append gnu-make "/bin/make") "make" "-C" #$directory #$target)))
4949
5050
(define i18n-download-job
5151
  #~(job '(next-minute-from (next-hour '(05)) '(51))
5252
         #$(makefile-job "/srv/http/i18n" "fdroid-update"
5353
                         (list gnu-make coreutils findutils git)
54-
			 '())))
54+
                         '())))
5555
5656
(define i18n-compile-job
5757
  #~(job '(next-minute-from (next-hour '(06)) '(21))
5858
         #$(makefile-job "/srv/http/i18n" "all"
5959
                         (list gnu-make coreutils findutils git grep util-linux)
60-
			 '())))
60+
                         '())))
6161
6262
(define nani-download-job
6363
  #~(job '(next-minute-from (next-hour-from (next-day (range 1 31 5)) '(02)) '(12))
6464
         #$(makefile-job "/srv/http/nani" "download"
6565
                         (list gnu-make coreutils findutils grep gzip libiconv
66-
			       sed tar unzip util-linux wget xz)
67-
			 '())))
66+
                               sed tar unzip util-linux wget xz)
67+
                         '())))
6868
6969
(define nani-update-job
7070
  #~(job '(next-minute-from (next-hour-from (next-day (range 1 31 5)) '(03)) '(12))
7171
         #$(makefile-job "/srv/http/nani" "all"
7272
                         (list gnu-make coreutils findutils gnu-gettext grep guile-3.0
73-
			       haunt sed)
74-
			 '(("GUILE_LOAD_PATH" . "share/guile/site/3.0")
75-
			   ("GUILE_LOAD_COMPILED_PATH" . "share/guile/site/3.0")))))
73+
                               haunt sed)
74+
                         '(("GUILE_LOAD_PATH" . "share/guile/site/3.0")
75+
                           ("GUILE_LOAD_COMPILED_PATH" . "share/guile/site/3.0")))))
7676
7777
(operating-system
7878
  (inherit (tyreunom-os "xana"))

9696
                nani-download-job nani-update-job))
9797
        (certbot-service `(("xana.lepiller.eu")
9898
                           ("nani.lepiller.eu")
99-
			   ("i18n.lepiller.eu")))
99+
                           ("i18n.lepiller.eu")))
100100
        (simple-service 'nani-http-server nginx-service-type
101101
          (list (nginx-server-configuration
102102
                  (ssl-certificate