about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/default.nix3
-rw-r--r--third_party/pounce/default.nix17
2 files changed, 19 insertions, 1 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index d7b3d4f517d7..5bd96581c9d8 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -40,6 +40,7 @@ let
       emacsPackagesNgGen
       fetchFromGitHub
       fetchurl
+      fetchzip
       fira
       fira-code
       fira-mono
@@ -110,7 +111,7 @@ in exposed // {
 
   # Packages to be overridden
   originals = {
-    inherit (nixpkgs) git guile notmuch;
+    inherit (nixpkgs) git guile notmuch pounce;
   };
 
   # Make NixOS available
diff --git a/third_party/pounce/default.nix b/third_party/pounce/default.nix
new file mode 100644
index 000000000000..1aab276b7436
--- /dev/null
+++ b/third_party/pounce/default.nix
@@ -0,0 +1,17 @@
+# Applies the changes from nixpkgs#88e4258df to the pounce derivation.
+#
+# TODO(tazjin): Remove this once the change has propagated to
+# nixos-unstable.
+{ pkgs, ... }:
+
+with pkgs.third_party;
+
+originals.pounce.overrideAttrs(old: rec {
+  version = "1.1";
+  src = fetchzip {
+    url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz";
+    sha256 = "07iyh6ikrlf7y57k462jcr00db6aijk9b2s7n7l7i49hk7kmm6wq";
+  };
+
+  patches = [];
+})