dev.fron.io rc / master rc.scm
master

Tree @master (Download .tar.gz)

rc.scm @masterraw · history · blame

(define-module (rc)
  #:use-module (srfi srfi-1)
  #:export (%channel-root))

(define %channel-root
  (find (lambda (path)
          (and
            (file-exists? (string-append path "/.guix-channel"))
            (file-exists? (string-append path "/rc"))
            (file-exists? (string-append path "/rc.scm"))))
        %load-path))