1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 18:01:16 +02:00

fix nixbld user name/uid for macOS

This commit is contained in:
Travis A. Everett 2021-02-07 15:34:24 -06:00
parent 8127094f76
commit 0431cf6d09
3 changed files with 52 additions and 2 deletions

View file

@ -4,6 +4,8 @@ set -eu
set -o pipefail
readonly PLIST_DEST=/Library/LaunchDaemons/org.nixos.nix-daemon.plist
NIX_FIRST_BUILD_UID="301"
NIX_BUILD_USER_NAME_TEMPLATE="_nixbld%d"
dsclattr() {
/usr/bin/dscl . -read "$1" \