diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-21 16:33:46 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-22 00:18:42 +0200 |
commit | a19958f89f8da0c795057cd3295af58b7f8831ea (patch) | |
tree | f66cda21d692411ead44290e11ceeb292c0df258 | |
parent | Flake: Remove dotfiles input (diff) | |
download | nixos-config-a19958f89f8da0c795057cd3295af58b7f8831ea.tar.gz nixos-config-a19958f89f8da0c795057cd3295af58b7f8831ea.tar.bz2 nixos-config-a19958f89f8da0c795057cd3295af58b7f8831ea.zip |
Overlays: Base: Add database arg patch to comma
-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="; + }); + }); + } |