about summary refs log tree commit diff
path: root/third_party/overlays/tvl.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-16T08·18+0300
committertazjin <tazjin@tvl.su>2023-11-22T07·39+0000
commita8d48d4d9c2c4f1f4c97007271c1bfc36d989c74 (patch)
tree129b215ab56c2e7de66677738b97fd7ccb201572 /third_party/overlays/tvl.nix
parenta834966efd64c1b2306241c3ef20f4258f6b9c4e (diff)
fix(3p/exwm): fix EXWM build with depot sources r/7044
Something changed in the machinery and broke the overriding. I didn't
notice this, as a I was temporarily using an unpatched EXWM.

Change-Id: I1a4e8ea63bd116d86a430e680c2b631474e9a0fe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10047
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/overlays/tvl.nix')
-rw-r--r--third_party/overlays/tvl.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix
index fd060214cfaf..2920fac103f5 100644
--- a/third_party/overlays/tvl.nix
+++ b/third_party/overlays/tvl.nix
@@ -78,9 +78,7 @@ depot.nix.readTree.drvTargets {
       notmuch = super.notmuch.emacs;
 
       # Build EXWM with the depot sources instead.
-      depotExwm = esuper.exwm.overrideAttrs (_: {
-        src = depot.path.origSrc + "/third_party/exwm";
-      });
+      depotExwm = eself.callPackage depot.third_party.exwm.override { };
 
       # Workaround for magit checking the git version at load time
       magit = esuper.magit.overrideAttrs (_: {