Skip to content

chore: update nix flake to include sqlc v1.18.0 #8226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Jun 27, 2023

Right now, I'm unable to develop Coder on Mac (which is my primary environment), as it fails due to lack of sqlc.embed:

$ make gen
generate
# package database
queries/provisionerjobs.sql:51:1: function "sqlc.embed" does not exist
make: *** [Makefile:490: coderd/database/querier.go] Error 1

sqlc v1.18.0 was added to nixpkgs on May 3rd.

Steps:

nix flake --extra-experimental-features nix-command --extra-experimental-features flakes update

@mtojek mtojek self-assigned this Jun 27, 2023
@mtojek mtojek requested review from kylecarbs and johnstcn June 27, 2023 10:46
@mtojek mtojek marked this pull request as ready for review June 27, 2023 10:46
@mtojek mtojek merged commit b83cdfe into main Jun 27, 2023
@mtojek mtojek deleted the chore-sqlc-flake branch June 27, 2023 10:50
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants