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