Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
63 lines
1.1 KiB
Bash
Executable File
63 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p coreutils jq
|
|
|
|
set -eu -o pipefail
|
|
|
|
pkgdir=$(dirname "$(dirname "$(realpath "$0")")")
|
|
|
|
echo '{}' > "$pkgdir/metadata/apple-oss-lockfile.json"
|
|
|
|
declare -a versions
|
|
readarray -t versions < <(jq -r '.[].version' "$pkgdir/metadata/versions.json")
|
|
|
|
declare -a packages=(
|
|
CarbonHeaders
|
|
CommonCrypto
|
|
IOAudioFamily
|
|
IOFireWireFamily
|
|
IOFWDVComponents
|
|
IOFireWireAVC
|
|
IOFireWireSBP2
|
|
IOFireWireSerialBusProtocolTransport
|
|
IOGraphics
|
|
IOHIDFamily
|
|
IONetworkingFamily
|
|
IOSerialFamily
|
|
IOStorageFamily
|
|
IOBDStorageFamily
|
|
IOCDStorageFamily
|
|
IODVDStorageFamily
|
|
IOUSBFamily
|
|
IOKitUser
|
|
Libc
|
|
Libinfo
|
|
Libm
|
|
Libnotify
|
|
Librpcsvc
|
|
Libsystem
|
|
OpenDirectory
|
|
Security
|
|
architecture
|
|
configd
|
|
copyfile
|
|
dtrace
|
|
dyld
|
|
eap8021x
|
|
hfs
|
|
launchd
|
|
libclosure
|
|
libdispatch
|
|
libmalloc
|
|
libplatform
|
|
libpthread
|
|
mDNSResponder
|
|
objc4
|
|
ppp
|
|
removefile
|
|
xnu
|
|
)
|
|
|
|
for version in "${versions[@]}"; do
|
|
"$pkgdir/scripts/lock-sdk-deps.sh" "$version" "${packages[@]}"
|
|
done
|