1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00

fix nixbld user name/uid for macOS

(cherry picked from commit 0431cf6d09)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Travis A. Everett 2021-02-07 15:34:24 -06:00 committed by Domen Kožar
parent dac86f84c3
commit dd50221e8a
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
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" \