inject nix conf in daemon
This commit is contained in:
parent
52587ae44a
commit
1e5e0c5764
4 changed files with 4 additions and 4 deletions
|
@ -100,6 +100,7 @@ job "builder" {
|
||||||
command = "nix-daemon"
|
command = "nix-daemon"
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/cache/albatros/nix:/nix",
|
"/var/cache/albatros/nix:/nix",
|
||||||
|
"local/nix.conf:/etc/nix/nix.conf",
|
||||||
"local/pin.sh:/usr/local/bin/pin.sh"
|
"local/pin.sh:/usr/local/bin/pin.sh"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDS
|
||||||
max-jobs = auto
|
max-jobs = auto
|
||||||
cores = 0
|
cores = 0
|
||||||
log-lines = 200
|
log-lines = 200
|
||||||
filter-syscalls = false
|
filter-syscalls = true
|
||||||
sandbox = false
|
sandbox = true
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
post-build-hook = /usr/local/bin/pin.sh
|
post-build-hook = /usr/local/bin/pin.sh
|
||||||
|
|
|
@ -2,4 +2,3 @@
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
echo "hook on $DRV_PATH"
|
echo "hook on $DRV_PATH"
|
||||||
echo "hook on $DRV_PATH" 1>&2
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -15,7 +15,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Albatros
|
// Albatros CI
|
||||||
|
|
||||||
type GitUser struct {
|
type GitUser struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
|
Loading…
Reference in a new issue