diff options
author | EuAndreh <eu@euandre.org> | 2023-11-26 18:45:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-26 18:45:17 -0300 |
commit | 2a1df5a8b00ade3c5cdbf12e6dc8e738474213e8 (patch) | |
tree | c13506960fe96c3d003dc5a9f2705528064c42ae /src | |
parent | src/guix/system.scm: Add "moreutils" package (diff) | |
download | asami-2a1df5a8b00ade3c5cdbf12e6dc8e738474213e8.tar.gz asami-2a1df5a8b00ade3c5cdbf12e6dc8e738474213e8.tar.xz |
system.scm: Use "/opt/deploy/current" in prod
Diffstat (limited to 'src')
-rw-r--r-- | src/guix/system.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 5ab88ec..717f721 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -5,6 +5,7 @@ ((org euandre queue) #:prefix queue:) (gnu) (guix build-system trivial) + (guix build utils) (guix packages)) (use-package-modules admin @@ -25,7 +26,9 @@ (define +working-dir+ - (canonicalize-path ".")) + (if (directory-exists? "/opt/deploy/current") + "/opt/deploy/current" + (canonicalize-path "."))) (define (str . rest) (apply string-append rest)) |