Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit e31ad42

Browse files
committed
Add firefox only on non-darwin systems.
pkgs.firefox's metadata list darwin in badPlatforms. See: https://github.com/NixOS/nixpkgs/blob/d89f18a17e51532ed5f4d45297b0ddf11e46b9c8/pkgs/applications/networking/browsers/firefox/packages.nix#L21 This applies to firefox-119 and may change
1 parent 2fee185 commit e31ad42

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@
3030
pkgs.clang
3131
pkgs.corepack_20
3232
pkgs.nodejs_20
33+
] ++ pkgs.lib.optionals (!pkgs.stdenv.isDarwin) [
34+
# Add firefox deps only on non-darwin.
35+
# darwin is listed in badPlatforms in pkgs.firefox's meta.
3336
pkgs.firefox
3437
pkgs.geckodriver
35-
];
38+
];
3639
in
3740
{
3841
defaultPackage = pkgs.rustPlatform.buildRustPackage {

0 commit comments

Comments
 (0)