mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-21 16:11:37 +01:00
fix(nix): pass --config before check in the KDE deny check
The KDE deny check failed with `error: unexpected argument '--config' found`: the flake wrote `cargo deny ... check --config <deny.toml> bans licenses sources`, and in cargo-deny 0.20.2 (the one of the pinned kfde-nixpkgs) --config is an option of `cargo deny` itself, not of `check`. It now goes into cargoDenyExtraArgs, before `check`. Verified: cargo deny 0.20.2 from nixpkgs f05535a0 (the flake's pin) with the flake's --exclude list, `--config komorebi-for-kde/deny.toml check bans licenses sources`: bans ok, licenses ok, sources ok (the clarify entries and the komorebi-bar-core exclusion of the previous fix are enough, also for komorebi-daemon, komorebi-settings and the wgpu stack). Not built in nix.
This commit is contained in:
1 parent
2ba338347c
commit
1fe07c6736
1 file changed
+4
-2
@@ -387,8 +387,10 @@
|
||||
"komorebi-client-macos"
|
||||
"komorebi-bar-macos"
|
||||
"version-macos"
|
||||
];
|
||||
cargoDenyChecks = "--config ${platformDir}/deny.toml bans licenses sources";
|
||||
]
|
||||
# --config is an option of `cargo deny`, not of `check`, in the cargo-deny of this flake's nixpkgs
|
||||
+ " --config ${platformDir}/deny.toml";
|
||||
cargoDenyChecks = "bans licenses sources";
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user