1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-30 21:05:02 +01:00

firefox: use -unwrapped derivation on Darwin

The wrapped version is not currently supported for the platform.
This commit is contained in:
Ihar Hrachyshka 2025-01-10 18:16:46 -05:00
parent b37a19ab7b
commit 1bf958e154

View file

@ -18,7 +18,7 @@ let
supportedPlatforms = flatten (attrVals (attrNames platforms) lib.platforms); supportedPlatforms = flatten (attrVals (attrNames platforms) lib.platforms);
isWrapped = versionAtLeast config.home.stateVersion "19.09" isWrapped = versionAtLeast config.home.stateVersion "19.09"
&& wrappedPackageName != null; && wrappedPackageName != null && !isDarwin;
defaultPackageName = defaultPackageName =
if isWrapped then wrappedPackageName else unwrappedPackageName; if isWrapped then wrappedPackageName else unwrappedPackageName;