fix nixbld user name/uid for macOS

This commit is contained in:
Travis A. Everett
2021-03-11 10:16:34 -06:00
parent 8127094f76
commit 0431cf6d09
3 changed files with 52 additions and 2 deletions
+2
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" \