remove tarpaulin as it's broken

This commit is contained in:
Cyryl Płotnicki 2023-09-09 07:31:42 +01:00
parent 2c3fb1b133
commit 50d7df08be

View file

@ -9,45 +9,48 @@
}; };
}; };
outputs = { self, nixpkgs, utils, naersk, flake-compat }: outputs = {
utils.lib.eachDefaultSystem (system: self,
let nixpkgs,
pkgs = nixpkgs.legacyPackages."${system}"; utils,
naersk-lib = naersk.lib."${system}"; naersk,
in rec { flake-compat,
# `nix build` }:
packages.bakare = naersk-lib.buildPackage { utils.lib.eachDefaultSystem (system: let
pname = "bakare"; pkgs = nixpkgs.legacyPackages."${system}";
root = ./.; naersk-lib = naersk.lib."${system}";
}; in rec {
defaultPackage = packages.bakare; # `nix build`
packages.bakare = naersk-lib.buildPackage {
pname = "bakare";
root = ./.;
};
defaultPackage = packages.bakare;
# `nix run` # `nix run`
apps.bakare = utils.lib.mkApp { drv = packages.bakare; }; apps.bakare = utils.lib.mkApp {drv = packages.bakare;};
defaultApp = apps.bakare; defaultApp = apps.bakare;
# `nix develop` # `nix develop`
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
cacert cacert
cargo cargo
cargo-edit cargo-edit
cargo-outdated cargo-outdated
cargo-release cargo-release
cargo-tarpaulin cargo-watch
cargo-watch clippy
clippy git
git llvmPackages_13.llvm
llvmPackages_13.llvm nixpkgs-fmt
nixpkgs-fmt openssh
openssh openssl
openssl pkg-config
pkg-config rustc
rustc rustfmt
rustfmt ];
]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
RUST_SRC_PATH = };
"${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; });
};
});
} }