Skip to content

Commit

Permalink
chore(flake): bump nci input
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jan 8, 2025
1 parent 51a08c6 commit fc9fad9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 39 deletions.
13 changes: 6 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

# TODO: unpin once upstream issue with clippy is resolved.
# nci.url = "github:yusdacra/nix-cargo-integration";
nci.url = "github:yusdacra/nix-cargo-integration/9f7e28da21e6e62006588c9486256e2064fdb8f5";
nci.url = "github:yusdacra/nix-cargo-integration";
nci.inputs.nixpkgs.follows = "nixpkgs";
nci.inputs.parts.follows = "flake-parts";
nci.inputs.treefmt.follows = "treefmt-nix";
Expand Down
15 changes: 1 addition & 14 deletions modules/api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,7 @@
packages.api = config.nci.outputs.pr-tracker-api.packages.release;
checks = {
"packages/api" = self'.packages.api;
"packages/api/clippy" =
(config.nci.outputs.pr-tracker-api.clippy.extendModules {
modules = [
{
rust-crane = {
buildFlags = [
"--all-targets"
"--all-features"
];
depsDrv.mkDerivation.buildPhase = ":";
};
}
];
}).config.public;
"packages/api/clippy" = config.nci.outputs.pr-tracker-api.clippy;
};
};
}
15 changes: 1 addition & 14 deletions modules/fetcher/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,7 @@
packages.fetcher = config.nci.outputs.pr-tracker-fetcher.packages.release;
checks = {
"packages/fetcher" = self'.packages.fetcher;
"packages/fetcher/clippy" =
(config.nci.outputs.pr-tracker-fetcher.clippy.extendModules {
modules = [
{
rust-crane = {
buildFlags = [
"--all-targets"
"--all-features"
];
depsDrv.mkDerivation.buildPhase = ":";
};
}
];
}).config.public;
"packages/fetcher/clippy" = config.nci.outputs.pr-tracker-fetcher.clippy;
};
};
}

0 comments on commit fc9fad9

Please sign in to comment.