Skip to content

Commit

Permalink
feat: add command to fetch latest Nixpkgs revision
Browse files Browse the repository at this point in the history
Generated-by: aiautocommit
  • Loading branch information
iloveitaly committed Nov 20, 2024
1 parent b3b69f7 commit 41d72c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ debug-single:

cargo run -- build $(TEST_TARGET) --out $(TEST_TARGET)
build_debug_cmd="$(shell sed 's/docker build/BUILDX_EXPERIMENTAL=1 docker buildx debug --invoke bash build/' $(TEST_TARGET)/.nixpacks/build.sh)" && \
eval "$$build_debug_cmd"
eval "$$build_debug_cmd"

# for updating the various `*_NIXPKGS_ARCHIVE` constants
latest-nixpkgs-revision:
@curl -s https://api.github.com/repos/NixOS/nixpkgs/commits/master | jq -r '.sha'

0 comments on commit 41d72c4

Please sign in to comment.