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 bd3dad4e22
commit cdcd180527
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
36 changed files with 30 additions and 47 deletions

View file

@ -11,7 +11,7 @@
}: let
inherit (srcs.cliphist) src date version;
in
cliphist.overrideAttrs (final: prev: {
cliphist.overrideAttrs (_final: prev: {
inherit src;
version =
if prev.version != "0.6.1"

View file

@ -5,7 +5,7 @@
}: let
source = srcs.noto-sans-cjk;
in
stdenvNoCC.mkDerivation (finalAttrs: {
stdenvNoCC.mkDerivation (_finalAttrs: {
pname = "noto-sans-cjk";
version = source.version;

View file

@ -5,7 +5,7 @@
}: let
source = srcs.noto-serif-cjk;
in
stdenvNoCC.mkDerivation (finalAttrs: {
stdenvNoCC.mkDerivation (_finalAttrs: {
pname = "noto-serif-cjk";
version = source.version;

View file

@ -7,7 +7,7 @@
srcs,
}: let
inherit (srcs) spotx;
spotifyx = spotify.overrideAttrs (final: prev: {
spotifyx = spotify.overrideAttrs (_final: prev: {
nativeBuildInputs =
prev.nativeBuildInputs
++ [

View file

@ -4,7 +4,7 @@
}: let
inherit (srcs) wshowkeys-mao;
in
wshowkeys.overrideAttrs (final: prev: {
wshowkeys.overrideAttrs (_final: _prev: {
inherit (wshowkeys-mao) src;
pname = "wshowkeys-mao";
version = wshowkeys-mao.date + "-" + wshowkeys-mao.version;