2024-12-27 13:12:45 -05:00
|
|
|
{
|
|
|
|
|
description = "A very basic flake";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
|
let
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
|
|
|
buildInputs = with pkgs; [
|
2024-12-27 14:20:50 -05:00
|
|
|
cargo rustc rust-analyzer clippy
|
2024-12-28 14:01:35 -05:00
|
|
|
pkg-config
|
|
|
|
|
openssl
|
2024-12-27 13:12:45 -05:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|