|
|
@ -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; |
|
|
|
}; |
|
|
|
}; |
|
|
|