aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-18 17:53:49 -0300
committerEuAndreh <eu@euandre.org>2024-08-18 17:53:49 -0300
commita5a7a8d05f4cc4f8646f216f824e2fb770913787 (patch)
tree553f2b345baa2d3e19dc1e8e1f78c4ee6a3f7177
parentsystem.scm: Stop including packages:server in system profile (diff)
downloadtoph-a5a7a8d05f4cc4f8646f216f824e2fb770913787.tar.gz
toph-a5a7a8d05f4cc4f8646f216f824e2fb770913787.tar.xz
system.scm: use (current-filename) for setting working-dir
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show a5a7a8d05f4cc4f8646f216f824e2fb770913787 git notes --ref=refs/notes/ci-data show a5a7a8d05f4cc4f8646f216f824e2fb770913787 Exit status: 128 Duration: 0
-rw-r--r--src/guix/system.scm9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm
index 476d772..b0c1a77 100644
--- a/src/guix/system.scm
+++ b/src/guix/system.scm
@@ -36,14 +36,7 @@
(define working-dir
- (if (directory-exists? "/opt/deploy/current")
- "/opt/deploy/current"
- (canonicalize-path ".")))
-
-(add-to-load-path
- (string-append working-dir "/src/infrastructure/guix"))
-(use-modules
- ((packages) #:prefix packages:))
+ (dirname (dirname (dirname (current-filename)))))
(define (str . rest)