;; To use this file to build HEAD of gn-guile: ;; ;; guix build -f guix.scm ;; ;; To get a development container ;; ;; guix shell -C -D -f guix.scm ;; (define-module (gn-guile) #:use-module ((gn packages guile) #:select (gn-guile) #:prefix gn:) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix git-download)) (define %source-dir (dirname (dirname (current-source-directory)))) (define vcs-file? (or (git-predicate %source-dir) (const #t))) (define-public gn-guile (package (inherit gn:gn-guile) (source (local-file "../.." "gn-guile-checkout" #:recursive? #t #:select? vcs-file?)))) ;; Add definition for tests should you need it, here. gn-guile