From 50d7df08be4a52f7a31d423d84930c79dc20880c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 9 Sep 2023 07:31:42 +0100 Subject: [PATCH] remove tarpaulin as it's broken --- flake.nix | 81 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/flake.nix b/flake.nix index 2d3ae08..daebcc5 100644 --- a/flake.nix +++ b/flake.nix @@ -9,45 +9,48 @@ }; }; - outputs = { self, nixpkgs, utils, naersk, flake-compat }: - utils.lib.eachDefaultSystem (system: - let - pkgs = nixpkgs.legacyPackages."${system}"; - naersk-lib = naersk.lib."${system}"; - in rec { - # `nix build` - packages.bakare = naersk-lib.buildPackage { - pname = "bakare"; - root = ./.; - }; - defaultPackage = packages.bakare; + outputs = { + self, + nixpkgs, + utils, + naersk, + flake-compat, + }: + utils.lib.eachDefaultSystem (system: let + pkgs = nixpkgs.legacyPackages."${system}"; + naersk-lib = naersk.lib."${system}"; + in rec { + # `nix build` + packages.bakare = naersk-lib.buildPackage { + pname = "bakare"; + root = ./.; + }; + defaultPackage = packages.bakare; - # `nix run` - apps.bakare = utils.lib.mkApp { drv = packages.bakare; }; - defaultApp = apps.bakare; + # `nix run` + apps.bakare = utils.lib.mkApp {drv = packages.bakare;}; + defaultApp = apps.bakare; - # `nix develop` - devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - cacert - cargo - cargo-edit - cargo-outdated - cargo-release - cargo-tarpaulin - cargo-watch - clippy - git - llvmPackages_13.llvm - nixpkgs-fmt - openssh - openssl - pkg-config - rustc - rustfmt - ]; - RUST_SRC_PATH = - "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; - }; - }); + # `nix develop` + devShell = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + cacert + cargo + cargo-edit + cargo-outdated + cargo-release + cargo-watch + clippy + git + llvmPackages_13.llvm + nixpkgs-fmt + openssh + openssl + pkg-config + rustc + rustfmt + ]; + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; + }; + }); }