1
0

Compare commits

..

3 Commits

Author SHA1 Message Date
Flake Update Bot
034edf43ed Update from updated-inputs-2024-08-01-01-03 2024-08-01 03:03:05 +02:00
Flake Update Bot
9c17854d0a Update nixpkgs 2024-08-01-01-03 2024-08-01 03:03:03 +02:00
1707de36c2 pkgs/git-diff-word: Add git shortcut to diff by character 2024-07-31 11:55:03 +02:00
4 changed files with 16 additions and 0 deletions

View File

@ -123,6 +123,7 @@
clerie-sops-edit
chromium-incognito
git-checkout-github-pr
git-diff-word
iot-data
nix-remove-result-links
nixfiles-auto-install

View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
pkgs.writeShellApplication {
name = "git-diff-word";
text = builtins.readFile ./git-diff-word.sh;
runtimeInputs = with pkgs; [
git
];
}

View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
git diff --word-diff=color --word-diff-regex="." "$@"

View File

@ -8,6 +8,7 @@ final: prev: {
clerie-update-nixfiles = final.callPackage ./clerie-update-nixfiles/clerie-update-nixfiles.nix {};
chromium-incognito = final.callPackage ./chromium-incognito {};
git-checkout-github-pr = final.callPackage ./git-checkout-github-pr {};
git-diff-word = final.callPackage ./git-diff-word {};
iot-data = final.python3.pkgs.callPackage ./iot-data {};
nix-remove-result-links = final.callPackage ./nix-remove-result-links {};
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};