ci: debug
All checks were successful
Flake checks / Check (pull_request) Successful in 8m37s

This commit is contained in:
teutat3s 2024-05-14 23:45:07 +02:00
parent 0458c346bc
commit 35f2ea8926
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -68,9 +68,9 @@ jobs:
# Add GC roots for flake inputs, too
# https://github.com/NixOS/nix/issues/4250#issuecomment-1146878407
mkdir --parents "$NIX_USER_PROFILE_DIR"
gc_root_prefix="$NIX_USER_PROFILE_DIR"/infra-flake-
echo "Adding gcroots flake inputs with prefix $gc_root_prefix ..."
nix flake archive --json 2>/dev/null | jq --raw-output '.inputs | to_entries[] | "ln --force --symbolic --no-target-directory "+.value.path+" \"'"$gc_root_prefix"'"+.key+"\""' | while read -r line; do
eval "$line"
done
#mkdir --parents "$NIX_USER_PROFILE_DIR"
#gc_root_prefix="$NIX_USER_PROFILE_DIR"/infra-flake-
#echo "Adding gcroots flake inputs with prefix $gc_root_prefix ..."
#nix flake archive --json 2>/dev/null | jq --raw-output '.inputs | to_entries[] | "ln --force --symbolic --no-target-directory "+.value.path+" \"'"$gc_root_prefix"'"+.key+"\""' | while read -r line; do
# eval "$line"
#done