summaryrefslogtreecommitdiff
path: root/nixos/profiles/common/nixpkgs/overlays.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-27 06:46:43 +0200
committerMartin Fischer <martin@push-f.com>2025-06-28 17:36:44 +0200
commit41665a5b2f8050e70acaf1e19730ed101e128764 (patch)
treeecc7fd8b5644482e0da12e7c40d1131c83ec4967 /nixos/profiles/common/nixpkgs/overlays.nix
parentb9a706b7c720ca2b75a19e765655f6544ed8cfa4 (diff)
tweak(workstation): switch from tokei to scc
tokei is pretty much unmaintained (a bug fix for a crash hasn't been merged in half a year[1]) and since there's other things that are bothering me (e.g. the format flag being named `-o` and `-o json` outputting the counts for every single file), I'm switching to scc, which is very actively maintained. [1]: https://github.com/XAMPPRocky/tokei/pull/1209
Diffstat (limited to 'nixos/profiles/common/nixpkgs/overlays.nix')
-rw-r--r--nixos/profiles/common/nixpkgs/overlays.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/profiles/common/nixpkgs/overlays.nix b/nixos/profiles/common/nixpkgs/overlays.nix
index 63e9de9..2834325 100644
--- a/nixos/profiles/common/nixpkgs/overlays.nix
+++ b/nixos/profiles/common/nixpkgs/overlays.nix
@@ -3,6 +3,17 @@
[
# features
(final: prev: {
+ scc = prev.scc.overrideAttrs (old: {
+ # https://github.com/boyter/scc/pull/622
+ src = pkgs.fetchFromGitHub {
+ owner = "boyter";
+ repo = "scc";
+ rev = "b73ea06bdc5890821d03502a2cfc4224b19a9b67";
+ hash = "sha256-vcuoKrvludBE0KpXVLkKzB38n0mZJWVB8bYrgJDHKfY=";
+ };
+ });
+ })
+ (final: prev: {
skim = prev.skim.overrideAttrs (old: {
patches = old.patches ++ [
# https://github.com/skim-rs/skim/issues/803