2024-01-17 17:14:52 +00:00
|
|
|
{
|
2024-01-19 13:00:02 +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
|
|
|
|
2024-01-19 13:00:02 +00:00
|
|
|
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
|
2024-01-17 17:14:52 +00:00
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
2024-01-19 13:00:02 +00:00
|
|
|
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; };
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|