Merge pull request #44 from zhaofengli/brew-4.4.5

brew-src: 4.3.24 -> 4.4.5
This commit is contained in:
Zhaofeng Li
2024-11-15 07:59:59 -07:00
committed by GitHub
3 changed files with 20 additions and 5 deletions
Generated
+4 -4
View File
@@ -3,16 +3,16 @@
"brew-src": {
"flake": false,
"locked": {
"lastModified": 1727016223,
"narHash": "sha256-iZqd91Cp4O02BU6/eBZ0UZgJN8AlwH+0geQUpqF176E=",
"lastModified": 1731323744,
"narHash": "sha256-SxUQm4cTHcaoPQHoXe26ZV8cZiMWBGow8MjE4L+MckM=",
"owner": "Homebrew",
"repo": "brew",
"rev": "916044581862c32fc2365e8e9ff0b1507a98925e",
"rev": "254bf3fe9d8fa2e1b2fb55dbcf535b2d870180c4",
"type": "github"
},
"original": {
"owner": "Homebrew",
"ref": "4.3.24",
"ref": "4.4.5",
"repo": "brew",
"type": "github"
}
+1 -1
View File
@@ -6,7 +6,7 @@
nix-darwin.url = "github:LnL7/nix-darwin";
flake-utils.url = "github:numtide/flake-utils";
brew-src = {
url = "github:Homebrew/brew/4.3.24";
url = "github:Homebrew/brew/4.4.5";
flake = false;
};
};
+15
View File
@@ -83,9 +83,12 @@ USED_BY_HOMEBREW_VARS=(
RBENV_ROOT
SSH_TTY
SUDO_USER
TMPDIR
TMUX
XDG_CACHE_HOME
XDG_DATA_DIRS
XDG_RUNTIME_DIR
ZDOTDIR
)
for VAR in "${USED_BY_HOMEBREW_VARS[@]}"
do
@@ -156,6 +159,18 @@ then
FILTERED_ENV+=("${VAR}=${!VAR}")
done
fi
if [[ -n "${HOMEBREW_RDBG:-}" ]]
then
for VAR in "${!RUBY_DEBUG_@}"
do
# Skip if variable value is empty.
[[ -z "${!VAR:-}" ]] && continue
FILTERED_ENV+=("${VAR}=${!VAR}")
done
fi
unset VAR ENV_VAR_NAMES
exec /usr/bin/env -i "${FILTERED_ENV[@]}" /bin/bash -p "${HOMEBREW_LIBRARY}/Homebrew/brew.sh" "$@"