about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/overlays/tvl.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix
index df21e8819bbe..c6b6e86dc89d 100644
--- a/third_party/overlays/tvl.nix
+++ b/third_party/overlays/tvl.nix
@@ -76,4 +76,14 @@ self: super: {
       outputHash = "19p15gavcjldn1di7yyn80ys6rj4ajaprqk8x34vxslr4y2qychf";
     });
   });
+
+  # TODO(tazjin): determine whether this is the cause of my suspend
+  # bugs, and if so, upstream it to nixpkgs.
+  xsecurelock = super.xsecurelock.overrideAttrs(drv: rec {
+    buildInputs = drv.buildInputs ++ [ self.makeWrapper ];
+    postInstall = ''
+      wrapProgram $out/libexec/xsecurelock/saver_blank \
+        --prefix PATH : ${self.coreutils}/bin
+    '';
+  });
 }