diff options
-rw-r--r-- | hosts/home.nix | 1 | ||||
-rw-r--r-- | overlays/base/default.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/hosts/home.nix b/hosts/home.nix index dc77595..7b1990f 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -223,6 +223,7 @@ vim = "nvim"; q = "exit"; c = "clear"; + "," = ", --database '/etc/nix-index'"; extract = '' () { if [ -f $1 ] ; then diff --git a/overlays/base/default.nix b/overlays/base/default.nix index 63b13a8..e313db4 100644 --- a/overlays/base/default.nix +++ b/overlays/base/default.nix @@ -83,4 +83,17 @@ final: prev: }; }); + comma = prev.comma.overrideAttrs (old: rec { + src = prev.fetchFromGitHub { + owner = "baitinq"; + repo = "comma"; + rev = "1eeccb3c60323a292ddb44647f603d3a54005350"; + sha256 = "sha256-yT9eZSSSlAty9QcUtxVG4J3rWi5rxQMHAxbSGe9FQi0="; + }; + cargoDeps = old.cargoDeps.overrideAttrs (prev.lib.const { + inherit src; + outputHash = "sha256-nXzsqLPiO6Esv8l0Vom2i+HKIUEr1dPNVa2zkv1ovCE="; + }); + }); + } |