~ruther/debugging-channel

7b01a64c6dc5fc5018d2c239dfff3e015eb43cf8 — Rutherther 2 months ago
Initial commit
5 files changed, 23 insertions(+), 0 deletions(-)

A .guix-channel
A .guix/modules/debugging-module.scm
A .project
A channels.scm
A hello-world
A  => .guix-channel +3 -0
@@ 1,3 @@
(channel
  (version 0)
  (directory ".guix/modules"))
\ No newline at end of file

A  => .guix/modules/debugging-module.scm +11 -0
@@ 1,11 @@
(define-module (debugging-module)
  #:use-module (guix utils))

(define-public debugging-module-location
  (current-source-directory))

(define-public debugging-module-filename
  (current-filename))

(define-public debugging-hello-world
  (local-file "../../hello-world"))

A  => .project +0 -0
A  => channels.scm +8 -0
@@ 1,8 @@
(use-modules
 (guix utils))

(cons*
 (channel
  (name 'debugging)
  (url (string-append "file://" (current-source-directory))))
 %default-channels)

A  => hello-world +1 -0
@@ 1,1 @@
Hello world!
\ No newline at end of file