Browse Source

pedantry

jade/pedantry
Jade Lovelace 11 months ago
parent
commit
fa324fbf26
  1. 4
      flake.nix

4
flake.nix

@ -12,14 +12,14 @@
naersk-lib = pkgs.callPackage naersk { }; naersk-lib = pkgs.callPackage naersk { };
in in
{ {
defaultPackage = naersk-lib.buildPackage { packages.default = naersk-lib.buildPackage {
pname = "f3"; pname = "f3";
src = ./.; src = ./.;
nativeBuildInputs = with pkgs; [ pkg-config ]; nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl ]; buildInputs = with pkgs; [ openssl ];
}; };
devShell = with pkgs; mkShell { devShells.default = with pkgs; mkShell {
buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy ]; buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy ];
RUST_SRC_PATH = rustPlatform.rustLibSrc; RUST_SRC_PATH = rustPlatform.rustLibSrc;
}; };

Loading…
Cancel
Save