{
nixpkgs ? <nixpkgs>,
system ? builtins.currentSystem,
pkgs ? import nixpkgs { inherit system; },
pimalaya ? import (fetchTarball "https://github.com/pimalaya/nix/archive/master.tar.gz"),
fenix ? import (fetchTarball "https://github.com/nix-community/fenix/archive/monthly.tar.gz") { },
}:
let
inherit (pkgs)
pkg-config
cargo-deny
cargo-llvm-cov
cargo-tarpaulin
;
shell = pimalaya.mkShell {
inherit
nixpkgs
system
pkgs
fenix
;
};
in
shell.overrideAttrs (prev: {
nativeBuildInputs = (prev.nativeBuildInputs or [ ]) ++ [
pkg-config
];
buildInputs = (prev.buildInputs or [ ]) ++ [
cargo-deny
cargo-llvm-cov
cargo-tarpaulin
];
})