Skip to content

Commit

Permalink
Merge pull request #1283 from emilazy/push-nynpmzrmmozu
Browse files Browse the repository at this point in the history
checks: remove `runLink`
  • Loading branch information
emilazy authored Jan 22, 2025
2 parents 46d0fa4 + c3954c5 commit 65cc1fa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/system/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ let
fi
'';

runLink = ''
if [[ ! -e /run ]]; then
printf >&2 'error: directory /run does not exist, aborting activation\n'
exit 1
fi
'';


oldBuildUsers = ''
if dscl . -list /Users | grep -q '^nixbld'; then
echo "error: Detected old style nixbld users, aborting activation" >&2
Expand Down Expand Up @@ -378,7 +370,6 @@ in
system.checks.text = mkMerge [
darwinChanges
(mkIf cfg.verifyMacOSVersion macOSVersion)
runLink
(mkIf (cfg.verifyBuildUsers && !config.nix.configureBuildUsers) oldBuildUsers)
(mkIf cfg.verifyBuildUsers buildUsers)
(mkIf cfg.verifyBuildUsers preSequoiaBuildUsers)
Expand Down

0 comments on commit 65cc1fa

Please sign in to comment.