{ description = "flake for the thingy that deploys my thingies"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; fenix = { url = "github:nix-community/fenix"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, fenix }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; fe_pkgs = fenix.packages.${system}; librarys = with pkgs; [ openssl ]; in { devShells.${system}.default = pkgs.mkShell { buildInputs = with pkgs; [ (fe_pkgs.complete.withComponents [ "cargo" "clippy" "rust-src" "rustc" "rustfmt" "rust-analyzer" ]) clang pkg-config cargo-tarpaulin ] ++ librarys; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath librarys}"; }; }; }