This commit is contained in:
Robin Appelman 2022-08-21 15:23:10 +02:00
commit 9beb6c3627
4 changed files with 95 additions and 0 deletions

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
inputs = {
utils.url = "github:numtide/flake-utils";
naersk.url = "github:nix-community/naersk";
};
outputs = {
self,
nixpkgs,
utils,
naersk,
}:
utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages."${system}";
naersk-lib = naersk.lib."${system}";
in rec {
devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [rustc cargo bacon pkg-config];
buildInputs = with pkgs; [ openssl ];
};
});
}