This commit is contained in:
parent
0458c346bc
commit
35f2ea8926
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue