Skip to content

Commit 4770304

Browse files
committed
fix: Conditionally include terminal-notifier in devenv.nix for macOS
1 parent eef485d commit 4770304

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

devenv.nix

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@
1616
})
1717
];
1818

19-
packages = [
20-
pkgs.git
21-
pkgs.terminal-notifier
22-
pkgs.python312Packages.setuptools
23-
];
19+
packages =
20+
[
21+
pkgs.git
22+
pkgs.python312Packages.setuptools
23+
]
24+
++ lib.optionals pkgs.stdenv.isDarwin [
25+
pkgs.terminal-notifier
26+
];
2427

2528
languages.python.enable = true;
2629
languages.python.uv.enable = true;

0 commit comments

Comments
 (0)