You've already forked guix-tribes
36 lines
956 B
Scheme
36 lines
956 B
Scheme
(define-module (manifests substitutes tribes-node)
|
|
#:use-module (gnu packages)
|
|
#:use-module (guix profiles)
|
|
#:use-module (tribes packages otp)
|
|
#:use-module (tribes packages source)
|
|
#:use-module (tribes packages terminals))
|
|
|
|
(define %tribes-node-specifications
|
|
'("nss-certs"
|
|
"openssh"
|
|
"postgresql"
|
|
"rsync"
|
|
"ripgrep"
|
|
"fd"
|
|
"tmux"
|
|
"neovim"
|
|
"btop"))
|
|
|
|
(define (make-tribes-node-manifest)
|
|
(let ((source-directory (getenv "TRIBES_SOURCE_DIRECTORY")))
|
|
(packages->manifest
|
|
(append
|
|
(map specification->package %tribes-node-specifications)
|
|
(list erlang-28
|
|
elixir-otp28
|
|
elixir-hex-otp28
|
|
ghostty-terminfo)
|
|
(if source-directory
|
|
(list
|
|
(tribes-source-package
|
|
(tribes-source-directory->local-file source-directory)
|
|
#:version (or (getenv "TRIBES_RELEASE_VERSION") "dev")))
|
|
'())))))
|
|
|
|
(make-tribes-node-manifest)
|