mirror of
https://github.com/nmasur/dotfiles
synced 2026-07-26 07:58:35 +00:00
Compare commits
3
Commits
27917ffede
...
573c0acd33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
573c0acd33 | ||
|
|
eec777c0c1 | ||
|
|
638b112db9 |
@@ -0,0 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-07-20
|
||||
|
||||
- Added `overlays/paho-mqtt.nix` to disable paho-mqtt's flaky, socket-based
|
||||
test suite. Its `checkPhase` hangs in the Nix sandbox and times out with a
|
||||
`KeyboardInterrupt` after ~150s, which was breaking the `flame` rebuild
|
||||
(paho-mqtt is pulled in transitively, e.g. via mealie). The override is
|
||||
applied through `pythonPackagesExtensions` so it covers every Python
|
||||
package set.
|
||||
@@ -0,0 +1,20 @@
|
||||
# Disable paho-mqtt's flaky test suite.
|
||||
#
|
||||
# paho-mqtt's checkPhase runs socket-based integration tests that hang in
|
||||
# the Nix sandbox (they eventually time out with a KeyboardInterrupt after
|
||||
# ~150s, reporting errors and failing the build). This breaks the flame
|
||||
# rebuild, where paho-mqtt is pulled in transitively (e.g. via mealie).
|
||||
#
|
||||
# Applied through pythonPackagesExtensions so it covers every Python
|
||||
# package set (python3Packages, python314Packages, ...).
|
||||
|
||||
_inputs: _final: prev: {
|
||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
||||
(_pyfinal: pyprev: {
|
||||
paho-mqtt = pyprev.paho-mqtt.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -89,6 +89,13 @@ let
|
||||
drf-access-policy
|
||||
# psycopg-binary
|
||||
;
|
||||
# clevercsv's test_encoding_chardet is nondeterministic (chardet
|
||||
# returns None instead of ISO-8859-1/KOI8-R on some platforms),
|
||||
# breaking the build. Skip its test suite.
|
||||
clevercsv = pyprev.clevercsv.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ in
|
||||
cask "notunes" # Don't launch Apple Music with the play button
|
||||
cask "topnotch" # Darkens the menu bar to complete black
|
||||
cask "ghostty" # Terminal application (not buildable on Nix on macOS)
|
||||
cask "discord" # nixpkgs bundle breaks its notarization seal on macOS 26+
|
||||
|
||||
# Mac App Store apps (requires 'mas' CLI, optional)
|
||||
# mas "Tailscale", id: 1475387142
|
||||
|
||||
@@ -56,7 +56,10 @@ in
|
||||
"/System/Applications/Mail.app"
|
||||
"/Applications/zoom.us.app"
|
||||
"${config.programs.ghostty.package}/Applications/Ghostty.app"
|
||||
"${pkgs.discord}/Applications/Discord.app"
|
||||
# Discord comes from Homebrew on macOS: the nixpkgs bundle is
|
||||
# modified in place, breaking its notarization seal, so macOS 26+
|
||||
# refuses to launch it ("damaged"). See presets/programs/homebrew.nix.
|
||||
"/Applications/Discord.app"
|
||||
"${pkgs.obsidian}/Applications/Obsidian.app"
|
||||
"${pkgs.thunderbird}/Applications/Thunderbird.app"
|
||||
];
|
||||
|
||||
@@ -50,7 +50,10 @@ in
|
||||
"/System/Applications/Mail.app"
|
||||
"/Applications/zoom.us.app"
|
||||
"/Applications/Ghostty.app"
|
||||
"${pkgs.discord}/Applications/Discord.app"
|
||||
# Discord comes from Homebrew on macOS: the nixpkgs bundle is modified
|
||||
# in place, breaking its notarization seal, so macOS 26+ refuses to
|
||||
# launch it ("damaged").
|
||||
"/Applications/Discord.app"
|
||||
"${pkgs.obsidian}/Applications/Obsidian.app"
|
||||
"${pkgs.thunderbird}/Applications/Thunderbird.app"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user