Skip to content

Commit

Permalink
Merge pull request #121 from DeterminateSystems/flake-schemas
Browse files Browse the repository at this point in the history
Add flake schemas
  • Loading branch information
lucperkins authored Jul 8, 2024
2 parents 5b7e079 + 8ee7790 commit adf3b75
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
15 changes: 15 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.514192.tar.gz";

flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.0.1.tar.gz";

fenix = {
url = "https://flakehub.com/f/nix-community/fenix/0.1.1565.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -15,6 +13,9 @@
url = "https://flakehub.com/f/nix-community/naersk/0.1.335.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};

flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.0.1.tar.gz";
flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*.tar.gz";
};

outputs = { self, ... }@inputs:
Expand Down Expand Up @@ -45,6 +46,10 @@

in
{
schemas = {
inherit (inputs.flake-schemas.schemas) devShells overlays packages;
};

overlays.default = final: prev: rec {
fh =
let
Expand Down

0 comments on commit adf3b75

Please sign in to comment.