remove tarpaulin as it's broken
This commit is contained in:
parent
2c3fb1b133
commit
50d7df08be
1 changed files with 42 additions and 39 deletions
81
flake.nix
81
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}";
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue