Skip to content

Commit

Permalink
re-add shallow
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Mar 2, 2024
1 parent fb3b962 commit c16be06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

PACKAGE_PATH="$1"

# there must be a hash: workaround for https://github.com/NixOS/nix/pull/10125
nix build "git+file://$(pwd)/.?submodules=1#${PACKAGE_PATH:-default}" --print-build-logs
# shallow + there must be a hash: workaround for https://github.com/NixOS/nix/pull/10125
nix build "git+file://$(pwd)/.?shallow=1&submodules=1#${PACKAGE_PATH:-default}" --print-build-logs

0 comments on commit c16be06

Please sign in to comment.