about summary refs log tree commit diff
path: root/nixpkgs-overlays
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs-overlays')
-rw-r--r--nixpkgs-overlays/patches/default.nix2
-rw-r--r--nixpkgs-overlays/patches/direnv/default.nix14
2 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs-overlays/patches/default.nix b/nixpkgs-overlays/patches/default.nix
index 54a8071c687f..12bc1ccb67d5 100644
--- a/nixpkgs-overlays/patches/default.nix
+++ b/nixpkgs-overlays/patches/default.nix
@@ -1,6 +1,8 @@
 self: super: {
   bemenu = self.callPackage ./bemenu { inherit (super) bemenu; };
 
+  direnv = self.callPackage ./direnv { inherit (super) direnv; };
+
   firefoxPackages = self.callPackage ./firefox/packages.nix {
     inherit (super) firefoxPackages;
   };
diff --git a/nixpkgs-overlays/patches/direnv/default.nix b/nixpkgs-overlays/patches/direnv/default.nix
new file mode 100644
index 000000000000..9dba1e162aa0
--- /dev/null
+++ b/nixpkgs-overlays/patches/direnv/default.nix
@@ -0,0 +1,14 @@
+{ direnv, lib, fetchpatch }:
+
+direnv.overrideAttrs ({ patches ? [], ... }: {
+  patches = patches ++ [
+    (fetchpatch {
+      url = "https://github.com/direnv/direnv/commit/4765b021415013a2c1c98296a959e40cdff196c9.patch";
+      sha256 = "0vvaq6jdzxh1068xxd9a88ggw75haifi2l08xz3h129lq3nfpp89";
+    })
+    (fetchpatch {
+      url = "https://github.com/direnv/direnv/commit/c483b3aaa338de9857f8dbaef75cd3f6fcb1465e.patch";
+      sha256 = "14lqq1h2lwi5bx0w8xa5q3l332sp92c780f2ifkzv83ilk70r1n4";
+    })
+  ];
+})