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:
parent
dac86f84c3
commit
dd50221e8a
3 changed files with 52 additions and 2 deletions
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue