fix: nix-darwin deprecations of useractivationscripts

This commit is contained in:
Noah Masur
2025-07-02 18:48:23 -06:00
parent d16ed6a4fc
commit 6b5a01262e
6 changed files with 8 additions and 6 deletions

View File

@ -9,8 +9,8 @@
# Homebrew - Mac-specific packages that aren't in Nix
config = lib.mkIf pkgs.stdenv.isDarwin {
# Requires Homebrew to be installed
system.activationScripts.preUserActivation.text = ''
# # Requires Homebrew to be installed
system.activationScripts.preActivation.text = ''
if ! xcode-select --version 2>/dev/null; then
$DRY_RUN_CMD xcode-select --install
fi