hooked/flake.nix

18 lines
448 B
Nix
Raw Normal View History

2024-01-17 17:14:52 +00:00
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
};
2024-01-17 17:14:52 +00:00
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
2024-01-17 17:14:52 +00:00
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ (import rust-overlay) ];
pkgs = import nixpkgs { inherit system overlays; };
2024-01-17 17:14:52 +00:00
in
{
devShells.default = import ./shell.nix { inherit pkgs; };
}
);
}