Skip to content
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

Update to handle the new schema format #72

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Conversation

edolstra
Copy link
Contributor

leaf is gone, some attributes have been renamed, and there is a new what field.

in

rec {

allSchemas = (flake.outputs.schemas or defaultSchemas) // schemaOverrides;

# FIXME: make this configurable
defaultSchemas = (builtins.getFlake "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.0.6+rev-8b320d78bfbc47515f3366b43e1a29c69519f36a/0189d657-3901-716b-9cde-7ec5aacc7cf8/source.tar.gz?narHash=sha256-3H1AXsE4SRqT1tZDb2gxdSwf3JInOgS1F8nq2QsXmHg=").schemas;
defaultSchemas = (builtins.getFlake "github:DeterminateSystems/flake-schemas/25fcca8e8baa402de593a3854fcc50581f4e912a").schemas;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to swap to a flakehub URL before merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't do that right now because we can't publish an updated flake-schemas : https://github.com/DeterminateSystems/flake-schemas/actions/runs/6023875150/job/16341456708

So we should merge this, publish a new version, and then update the URL.

@grahamc grahamc merged commit 9e89e82 into main Aug 30, 2023
5 checks passed
@grahamc grahamc deleted the edolstra/fix-meta-schema branch August 30, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants