You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
899 B
47 lines
899 B
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
|
utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
utils,
|
|
}:
|
|
utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs.outPath {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
RUST_BACKTRACE = "full";
|
|
|
|
buildInputs = with pkgs; [
|
|
git
|
|
|
|
nil
|
|
nixfmt-rfc-style
|
|
|
|
rustc
|
|
cargo
|
|
clippy
|
|
rustfmt
|
|
rust-analyzer
|
|
|
|
nodePackages.prettier
|
|
nodePackages.yaml-language-server
|
|
nodePackages.vscode-langservers-extracted
|
|
markdownlint-cli
|
|
nodePackages.markdown-link-check
|
|
marksman
|
|
taplo
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|
|
|