Skip to content

Commit

Permalink
stop using deprecated flake attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed May 30, 2024
1 parent 1747913 commit 2e44f5c
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,26 @@

nativeBuildInputs = with pkgs; [ pkg-config ];
};
};

defaultPackage = packages.crystal2nix;
default = crystal2nix;
};

checks = flake-utils.lib.flattenTree rec {
checks = flake-utils.lib.flattenTree {
specs = packages.crystal2nix;
};

devShell = pkgs.mkShell {
buildInputs = with pkgs; [
openssl
];

nativeBuildInputs = with pkgs; [
pkgconfig
crystal
shards
];
devShells = flake-utils.lib.flattenTree {
default = pkgs.mkShell {
buildInputs = with pkgs; [
openssl
];

nativeBuildInputs = with pkgs; [
pkg-config
crystal
shards
];
};
};
});
}

0 comments on commit 2e44f5c

Please sign in to comment.