You've already forked guix-tribes
Fix Tribes shepherd wiring and Elixir source fetch
This commit is contained in:
@@ -48,14 +48,15 @@
|
||||
(version "1.19.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/elixir-lang/elixir")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/elixir-lang/elixir/archive/refs/tags/v"
|
||||
version
|
||||
".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1i10a5d7mlcrav47k7qirqvrqn2kbl5265fbcp8fzavr86xz67m6"))
|
||||
"0dlflwcdx0da09grndgsj2c9k1ix7vq6vaxg4lgaq42bsy5hnx8h"))
|
||||
(patches (search-patches "elixir-path-length.patch"))))
|
||||
(inputs
|
||||
`(("bash-minimal" ,bash-minimal)
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
(stop #~(make-kill-destructor))
|
||||
(respawn? #f)))))
|
||||
|
||||
(define (tribes-root-shepherd-services config)
|
||||
(append (tribes-migrations-shepherd-service config)
|
||||
(tribes-shepherd-service config)))
|
||||
|
||||
(define (tribes-profile-packages config)
|
||||
(match (tribes-configuration-package config)
|
||||
(#f '())
|
||||
@@ -261,9 +265,7 @@
|
||||
(service-extension activation-service-type
|
||||
tribes-activation)
|
||||
(service-extension shepherd-root-service-type
|
||||
tribes-migrations-shepherd-service)
|
||||
(service-extension shepherd-root-service-type
|
||||
tribes-shepherd-service)
|
||||
tribes-root-shepherd-services)
|
||||
(service-extension profile-service-type
|
||||
tribes-profile-packages)))
|
||||
(default-value (tribes-configuration))
|
||||
|
||||
Reference in New Issue
Block a user