Skip to content

Commit

Permalink
add gc root
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jun 27, 2023
1 parent 28862dd commit fdb5c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flakes-tools/scripts/cache-devshells.fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set t $( nix flake show --json | jq -r --arg cur_sys "$CURRENT_SYSTEM" '.devShel

if test -n "$t"
# build devshells
printf "%s\n" $t | xargs -I {} nix build .#devShells."$CURRENT_SYSTEM".{}
printf "%s\n" $t | xargs -I {} nix build .#devShells."$CURRENT_SYSTEM".{} --print-out-paths | xargs -I {} nix-store --add-root {} --realise
# save profiles for these devshells
printf "%s\n" $t | xargs -I {} nix develop .#{} --profile $PROFILES_FOR_DEVSHELLS/{}
# push profiles for these devshells
Expand Down

0 comments on commit fdb5c74

Please sign in to comment.