File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 708
708
description = ''
709
709
Applications to install from Mac App Store using {command}`mas`.
710
710
711
- When this option is used, `"mas"` is automatically added to
712
- [](#opt-homebrew.brews).
713
-
714
711
Note that you need to be signed into the Mac App Store for {command}`mas` to
715
712
successfully install and upgrade applications, and that unfortunately apps removed from this
716
713
option will not be uninstalled automatically even if
768
765
] ;
769
766
770
767
homebrew . brews =
771
- optional ( cfg . masApps != { } ) "mas"
772
- ++ optional ( cfg . whalebrews != [ ] ) "whalebrew" ;
768
+ optional ( cfg . whalebrews != [ ] ) "whalebrew" ;
773
769
774
770
homebrew . brewfile =
775
771
"# Created by `nix-darwin`'s `homebrew` module\n \n "
789
785
# Homebrew Bundle
790
786
echo >&2 "Homebrew bundle..."
791
787
if [ -f "${ cfg . brewPrefix } /brew" ]; then
792
- PATH="${ cfg . brewPrefix } ":$PATH ${ cfg . onActivation . brewBundleCmd }
788
+ PATH="${ cfg . brewPrefix } :${ lib . makeBinPath [ pkgs . mas ] } :$PATH" \
789
+ ${ cfg . onActivation . brewBundleCmd }
793
790
else
794
791
echo -e "\e[1;31merror: Homebrew is not installed, skipping...\e[0m" >&2
795
792
fi
You can’t perform that action at this time.
0 commit comments