Skip to content

Commit

Permalink
ci: use deadnix from nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Jan 24, 2025
1 parent 8ce59d6 commit 6fe7426
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ jobs:
- name: check formatting
run: nix fmt --accept-flake-config -- --check .
- name: check for dead code
run: nix run ./test#deadnix -- .
run: nix develop .# --command deadnix .
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@

devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
deadnix
jq
mdbook
nix-eval-jobs
Expand Down
79 changes: 5 additions & 74 deletions test/flake.lock

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

2 changes: 0 additions & 2 deletions test/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

crane.url = "github:ipetkov/crane";

deadnix.url = "github:astro/deadnix";

fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down

0 comments on commit 6fe7426

Please sign in to comment.