inject nix conf in daemon

This commit is contained in:
Quentin 2023-03-24 15:58:28 +01:00
parent 52587ae44a
commit 1e5e0c5764
Signed by: quentin
GPG Key ID: E9602264D639FF68
4 changed files with 4 additions and 4 deletions

View File

@ -100,6 +100,7 @@ job "builder" {
command = "nix-daemon"
volumes = [
"/var/cache/albatros/nix:/nix",
"local/nix.conf:/etc/nix/nix.conf",
"local/pin.sh:/usr/local/bin/pin.sh"
]
}

View File

@ -3,7 +3,7 @@ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDS
max-jobs = auto
cores = 0
log-lines = 200
filter-syscalls = false
sandbox = false
filter-syscalls = true
sandbox = true
experimental-features = nix-command flakes
post-build-hook = /usr/local/bin/pin.sh

View File

@ -2,4 +2,3 @@
set -euxo pipefail
echo "hook on $DRV_PATH"
echo "hook on $DRV_PATH" 1>&2

View File

@ -15,7 +15,7 @@ import (
"strings"
)
// Albatros
// Albatros CI
type GitUser struct {
Name string `json:"name"`