Update from updated-inputs-2024-08-01-01-03
This commit is contained in:
commit
034edf43ed
@ -123,6 +123,7 @@
|
|||||||
clerie-sops-edit
|
clerie-sops-edit
|
||||||
chromium-incognito
|
chromium-incognito
|
||||||
git-checkout-github-pr
|
git-checkout-github-pr
|
||||||
|
git-diff-word
|
||||||
iot-data
|
iot-data
|
||||||
nix-remove-result-links
|
nix-remove-result-links
|
||||||
nixfiles-auto-install
|
nixfiles-auto-install
|
||||||
|
9
pkgs/git-diff-word/default.nix
Normal file
9
pkgs/git-diff-word/default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
pkgs.writeShellApplication {
|
||||||
|
name = "git-diff-word";
|
||||||
|
text = builtins.readFile ./git-diff-word.sh;
|
||||||
|
runtimeInputs = with pkgs; [
|
||||||
|
git
|
||||||
|
];
|
||||||
|
}
|
5
pkgs/git-diff-word/git-diff-word.sh
Executable file
5
pkgs/git-diff-word/git-diff-word.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
git diff --word-diff=color --word-diff-regex="." "$@"
|
@ -8,6 +8,7 @@ final: prev: {
|
|||||||
clerie-update-nixfiles = final.callPackage ./clerie-update-nixfiles/clerie-update-nixfiles.nix {};
|
clerie-update-nixfiles = final.callPackage ./clerie-update-nixfiles/clerie-update-nixfiles.nix {};
|
||||||
chromium-incognito = final.callPackage ./chromium-incognito {};
|
chromium-incognito = final.callPackage ./chromium-incognito {};
|
||||||
git-checkout-github-pr = final.callPackage ./git-checkout-github-pr {};
|
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 {};
|
iot-data = final.python3.pkgs.callPackage ./iot-data {};
|
||||||
nix-remove-result-links = final.callPackage ./nix-remove-result-links {};
|
nix-remove-result-links = final.callPackage ./nix-remove-result-links {};
|
||||||
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};
|
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};
|
||||||
|
Loading…
Reference in New Issue
Block a user