guix-commits
[Top][All Lists]
Advanced

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

02/04: hydra: Remove unused variable from frontend services.


From: Andreas Enge
Subject: 02/04: hydra: Remove unused variable from frontend services.
Date: Tue, 9 Apr 2019 17:01:53 -0400 (EDT)

andreas pushed a commit to branch wip-bayfront
in repository maintenance.

commit 121e4f7426a749e6bb560dc2abb4091709388fcf
Author: Andreas Enge <address@hidden>
Date:   Tue Apr 9 22:09:42 2019 +0200

    hydra: Remove unused variable from frontend services.
    
    * hydra/modules/sysadmin/services.scm (%nginx-config): Remove variable.
---
 hydra/modules/sysadmin/services.scm | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/hydra/modules/sysadmin/services.scm 
b/hydra/modules/sysadmin/services.scm
index e7fd19a..95b7cc0 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -176,25 +176,6 @@
 ;;; NGINX.
 ;;;
 
-(define %nginx-config
-  ;; Our nginx configuration directory.  It expects 'guix publish' to be
-  ;; running on port 3000.
-  (computed-file "nginx-config"
-                 (with-imported-modules '((guix build utils))
-                   #~(begin
-                       (use-modules (guix build utils))
-
-                       (mkdir #$output)
-                       (chdir #$output)
-                       (symlink #$(local-file "nginx/berlin.conf")
-                                "berlin.conf")
-                       (copy-file #$(local-file
-                                     "nginx/bayfront-locations.conf")
-                                  "berlin-locations.conf")
-                       (substitute* "berlin-locations.conf"
-                         (("@WWWROOT@")
-                          #$(local-file "nginx/html/berlin" #:recursive? 
#t)))))))
-
 (define %nginx-cache-activation
   ;; Make sure /var/cache/nginx exists on the first run.
   (simple-service 'nginx-/var/cache/nginx



reply via email to

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