diff --git a/flake.nix b/flake.nix index 1c12f0d..1332c50 100644 --- a/flake.nix +++ b/flake.nix @@ -63,6 +63,11 @@ runHook postInstall ''; + + # Remove any broken symlinks + postFixup = '' + find $out -type l ! -exec test -e {} \; -delete 2>/dev/null || true + ''; }; in pkgs.runCommand "tpanel" {