module(just): Add dead-nix to check unused nix code

This commit is contained in:
ulic-youthlic 2025-06-24 21:42:12 +08:00
parent 1cc0ef82f6
commit 66ecfc7644
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
35 changed files with 26 additions and 41 deletions

View file

@ -6,13 +6,11 @@
};
};
outputs = {
self,
flake-utils,
nixpkgs,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
inherit (pkgs) lib;
pkgs = import nixpkgs {
inherit system;
};

View file

@ -12,7 +12,6 @@
...
}:
flake-utils.lib.eachDefaultSystem (system: let
inherit (pkgs) lib;
pkgs = import nixpkgs {
inherit system;
};

View file

@ -6,7 +6,6 @@
};
};
outputs = {
self,
flake-utils,
nixpkgs,
...

View file

@ -40,7 +40,7 @@
inherit system;
overlays = [
(import rust-overlay)
(final: prev: {
(_final: prev: {
lib = prev.lib // (import ./nix/lib.nix prev.lib);
})
];