Samuel Shuert
f86634ca37
This is the first commit for the Aux Secrets project Change-Id: Ifad1e4638aa8e30d5a1f4a9acdf0cf21350ecdde
43 lines
939 B
Nix
43 lines
939 B
Nix
{
|
|
description = "The Auxolotl Secrets project";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
inputs.fenix = {
|
|
url = "github:nix-community/fenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
outputs =
|
|
{
|
|
nixpkgs,
|
|
flake-utils,
|
|
fenix,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [ fenix.overlays.default ];
|
|
};
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [
|
|
(pkgs.fenix.stable.withComponents [
|
|
"cargo"
|
|
"clippy"
|
|
"rust-src"
|
|
"rustc"
|
|
"rustfmt"
|
|
"rust-analyzer"
|
|
])
|
|
pkgs.bacon
|
|
];
|
|
};
|
|
formatter = pkgs.nixfmt-rfc-style;
|
|
}
|
|
);
|
|
}
|