Skip to content

Commit

Permalink
Merge pull request #5 from DeterminateSystems/flake-schemas-0.1.4
Browse files Browse the repository at this point in the history
Bump flake-schemas to 0.1.4
  • Loading branch information
lucperkins authored Jul 24, 2024
2 parents e4f6fce + 90d566f commit 7f0275a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: "DeterminateSystems/magic-nix-cache-action@main"
- name: Ensure no flake.lock is committed
run: |
if [ -f flake.lock ]; then
echo "flake.lock found, failing the workflow"
exit 1
fi
- name: Check formatting
if: success() || failure()
run: |
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@

mkChildren = children: { inherit children; };

flakeSchemasFlakePinned = "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.4/0190e653-dd76-70bd-ba6e-a3f5eaf3d415/source.tar.gz?narHash=sha256-efoDF3VaZHpcwFd2Y1axGLqNX/ou9kDL7z9mWNqzv9w%3D";
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.1.3/0190b841-54d3-7b7a-8550-24942bc38caf/source.tar.gz?narHash=sha256-c2AZH9cOnSpPXV8Lwy19%2FI8EgW7G%2BE%2BZh6YQBZZwzxI%3D").schemas;
defaultSchemas = (builtins.getFlake flakeSchemasFlakePinned).schemas;

# Ignore legacyPackages for now, since it's very big and throws uncatchable errors.
schemaOverrides.legacyPackages = {
Expand Down

0 comments on commit 7f0275a

Please sign in to comment.