From b6c94907d7bb541f161151ee85ddff6ca95246c4 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 13 Oct 2025 19:35:08 +0200 Subject: [PATCH] Update --- .guix/modules/debugging-module.scm | 4 ++++ debugging.scm | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 debugging.scm diff --git a/.guix/modules/debugging-module.scm b/.guix/modules/debugging-module.scm index c188344712b70174f0e295a8d79bf7d20eb0f1de..85e5ceb48d53b1b0d048bdc44783ec4395804b98 100644 --- a/.guix/modules/debugging-module.scm +++ b/.guix/modules/debugging-module.scm @@ -1,4 +1,5 @@ (define-module (debugging-module) + #:use-module (guix gexp) #:use-module (guix utils)) (define-public debugging-module-location @@ -9,3 +10,6 @@ (define-public debugging-hello-world (local-file "../../hello-world")) + +(define-public two-folders-back + (canonicalize-path (string-append debugging-module-location "../../"))) diff --git a/debugging.scm b/debugging.scm new file mode 100644 index 0000000000000000000000000000000000000000..863746e162802278835b56a1f9afb3aabc08bfea --- /dev/null +++ b/debugging.scm @@ -0,0 +1,13 @@ +#!/usr/bin/env guile + +(use-modules + (debugging-module) + (guix store) + (guix gexp)) + +(display debugging-module-location) +(display debugging-module-filename) + +(with-store store + (run-with-store store + (gexp->derivation debugging-hello-world)))