Skip to content

Commit

Permalink
--stdin flag for nix copy does not always exists (#36)
Browse files Browse the repository at this point in the history
it is safer to use xargs
  • Loading branch information
garbas authored Nov 13, 2023
1 parent 87fe820 commit 014d965
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
push:
branches:
- "fix-macos-cache"
- "main"
- "releases/*"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion scripts/push-new-nix-store-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ fi
echo "$NEW_STORE_PATHS_FILE_COUNT new paths will be pushed";

# Allow pushing to fail.
cat "$NEW_STORE_PATHS_FILE" | tr '\n' ' ' | nix copy --extra-experimental-features nix-command --to "$FLOX_SUBSTITUTER" --stdin -vv ||:;
cat "$NEW_STORE_PATHS_FILE" | xargs -r nix copy --extra-experimental-features nix-command --to "$FLOX_SUBSTITUTER" -vv||:;

0 comments on commit 014d965

Please sign in to comment.