aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw-container.scm
diff options
context:
space:
mode:
authorEfraim Flashner2020-02-17 02:03:44 -0600
committerEfraim Flashner2020-02-17 02:03:44 -0600
commit9a16a60554a798a805ec27cfaaa2aa23c50483dd (patch)
treed81ded7792f0fef0c94e8151bd524c07bd7a9674 /gn/services/bnw-container.scm
parent0bd3232df5340a9882c88804af6b4029f6c613c9 (diff)
downloadguix-bioinformatics-9a16a60554a798a805ec27cfaaa2aa23c50483dd.tar.gz
gn: Run BNW entirely inside a container
Diffstat (limited to 'gn/services/bnw-container.scm')
-rw-r--r--gn/services/bnw-container.scm4
1 files changed, 0 insertions, 4 deletions
diff --git a/gn/services/bnw-container.scm b/gn/services/bnw-container.scm
index 8463a75..39da38d 100644
--- a/gn/services/bnw-container.scm
+++ b/gn/services/bnw-container.scm
@@ -21,10 +21,6 @@
(match-lambda
(($ <bnw-configuration> package deploy-directory port)
#~(begin
- (use-modules (guix build utils))
- (when (directory-exists? #$deploy-directory)
- ;; Not 'delete-file-recursively' because the directory might be empty.
- (system* "rm" "-r" #$(string-append deploy-directory "/*")))
(mkdir-p #$deploy-directory)
(copy-recursively #$package #$deploy-directory)
(invoke #$(file-append coreutils "/bin/chmod") "a+w"