Skip to content

Commit d4d1449

Browse files
committed
fix
1 parent cf0c6f5 commit d4d1449

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

home-manager/flake.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
pkgs-unstable = import nixpkgs-unstable {
2525
inherit system;
2626
config.allowUnfree = true;
27+
overlays = [
28+
# Disable direnv's checkPhase globally; it hangs on macOS.
29+
# This also unifies direnv into a single derivation so that
30+
# downstream build inputs (e.g. mise) reuse the same one
31+
# and avoid a duplicate rebuild.
32+
(final: prev: {
33+
direnv = prev.direnv.overrideAttrs (_: { doCheck = false; });
34+
})
35+
];
2736
};
2837
lib = pkgs.lib;
2938

home-manager/packages/common.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
pkgs-unstable.codex
1414
pkgs.curl
1515
pkgs.delta
16-
(pkgs-unstable.direnv.overrideAttrs (_: { doCheck = false; }))
16+
pkgs-unstable.direnv
1717
pkgs.fac
1818
pkgs.fd
1919
pkgs.fswatch

0 commit comments

Comments
 (0)