|
|
@ -12,14 +12,14 @@ |
|
|
|
naersk-lib = pkgs.callPackage naersk { }; |
|
|
|
naersk-lib = pkgs.callPackage naersk { }; |
|
|
|
in |
|
|
|
in |
|
|
|
{ |
|
|
|
{ |
|
|
|
packages.default = naersk-lib.buildPackage { |
|
|
|
defaultPackage = 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 ]; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
devShells.default = with pkgs; mkShell { |
|
|
|
devShell = 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; |
|
|
|
}; |
|
|
|
}; |
|
|
|