{ pkgs, naersk, ... }: naersk.lib."${pkgs.system}".buildPackage { src = builtins.filterSource (path: type: type != "directory" || builtins.baseNameOf path != "target") ./.; nativeBuildInputs = with pkgs; [ pkg-config ]; buildInputs = with pkgs; [ openssl ]; remapPathPrefix = true; doCheck = true; copyLibs = true; }