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
28 lines
887 B
Bash
28 lines
887 B
Bash
# shellcheck shell=bash
|
|
|
|
udevCheckHook() {
|
|
runHook preUdevCheck
|
|
echo Executing udevCheckPhase
|
|
|
|
# as per nixos/modules/services/hardware/udev.nix:
|
|
# - both /lib and /etc is valid paths for udev rules
|
|
# - udev rules are expected to be part of the $bin output
|
|
# However, not all udev rules are actually in $bin (some are in $lib or $out).
|
|
# This means we have to actually check all outputs here.
|
|
for output in $(getAllOutputNames); do
|
|
for path in etc lib ; do
|
|
if [ -d "${!output}/$path/udev/rules.d" ]; then
|
|
@udevadm@ verify --resolve-names=never --no-style "${!output}/$path/udev/rules.d"
|
|
fi
|
|
done
|
|
done
|
|
|
|
runHook postUdevCheck
|
|
echo Finished udevCheckPhase
|
|
}
|
|
|
|
if [[ -z "${dontUdevCheck-}" && -n "@udevadm@" ]]; then
|
|
echo "Using udevCheckHook"
|
|
preInstallCheckHooks+=(udevCheckHook)
|
|
fi
|