Merge pull request #16 from nix-community/zimbatm-patch-1

Update configure.sh
This commit is contained in:
Graham Christensen 2018-11-07 08:48:46 +01:00 committed by GitHub
commit 68e9f6dd79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,7 @@ fi
nix-store --add-root "$DIR/gcroot" --indirect --realize "$PLIST" nix-store --add-root "$DIR/gcroot" --indirect --realize "$PLIST"
mkdir -p ~/Library/LaunchAgents
launchctl unload ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true launchctl unload ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
chmod 0640 ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true chmod 0640 ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
cp "$PLIST" ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist cp "$PLIST" ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist