[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
279/376: Add a launchd configuration file to run nix-daemon
From: |
Ludovic Courtès |
Subject: |
279/376: Add a launchd configuration file to run nix-daemon |
Date: |
Wed, 28 Jan 2015 22:05:36 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit bbf294cceb58182333faf0c62b57f0f5dece46e9
Author: Eelco Dolstra <address@hidden>
Date: Tue Nov 4 10:14:18 2014 +0100
Add a launchd configuration file to run nix-daemon
---
Makefile | 1 +
misc/launchd/local.mk | 5 +++++
misc/launchd/org.nixos.nix-daemon.plist.in | 16 ++++++++++++++++
3 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index b41a820..08e4012 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ makefiles = \
scripts/local.mk \
corepkgs/local.mk \
misc/systemd/local.mk \
+ misc/launchd/local.mk \
misc/upstart/local.mk \
misc/emacs/local.mk \
doc/manual/local.mk \
diff --git a/misc/launchd/local.mk b/misc/launchd/local.mk
new file mode 100644
index 0000000..0ba722e
--- /dev/null
+++ b/misc/launchd/local.mk
@@ -0,0 +1,5 @@
+ifeq ($(OS), Darwin)
+
+ $(eval $(call install-data-in, $(d)/org.nixos.nix-daemon.plist,
$(prefix)/Library/LaunchDaemons))
+
+endif
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in
b/misc/launchd/org.nixos.nix-daemon.plist.in
new file mode 100644
index 0000000..2e76947
--- /dev/null
+++ b/misc/launchd/org.nixos.nix-daemon.plist.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>org.nixos.nix-daemon</string>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>Program</key>
+ <string>@bindir@/nix-daemon</string>
+ <key>StandardErrorPath</key>
+ <string>/var/log/nix-daemin.log</string>
+ <key>StandardOutPath</key>
+ <string>/dev/null</string>
+ </dict>
+</plist>
- 300/376: import derivation: cleanup, (continued)
- 300/376: import derivation: cleanup, Ludovic Courtès, 2015/01/28
- 264/376: Temporarily disable darwin builds while hydra's darwin is borked, Ludovic Courtès, 2015/01/28
- 291/376: Fix message, Ludovic Courtès, 2015/01/28
- 273/376: Fix more warnings, Ludovic Courtès, 2015/01/28
- 258/376: Fix nix-copy-closure --from, Ludovic Courtès, 2015/01/28
- 260/376: Drop support for pre-c++11 compilers., Ludovic Courtès, 2015/01/28
- 262/376: Revert "Drop support for pre-c++11 compilers.", Ludovic Courtès, 2015/01/28
- 263/376: Fix build on gcc < 4.7, Ludovic Courtès, 2015/01/28
- 244/376: Show total allocations, Ludovic Courtès, 2015/01/28
- 293/376: Remove Hydra build product, Ludovic Courtès, 2015/01/28
- 279/376: Add a launchd configuration file to run nix-daemon,
Ludovic Courtès <=
- 251/376: nix-channel --add: Validate URL / channel ID, Ludovic Courtès, 2015/01/28
- 252/376: Remove redundant space in usage errors, Ludovic Courtès, 2015/01/28
- 290/376: realiseContext: Handle all context types, Ludovic Courtès, 2015/01/28
- 276/376: Improve error message if the daemon worker fails to start, Ludovic Courtès, 2015/01/28
- 267/376: Remove comments claiming we use a private PID namespace, Ludovic Courtès, 2015/01/28
- 237/376: Don't recompile the same regex over and over, Ludovic Courtès, 2015/01/28
- 297/376: Build Ubuntu 14.10 package, Ludovic Courtès, 2015/01/28
- 268/376: Document some primops, Ludovic Courtès, 2015/01/28
- 272/376: Shut up a clang warning, Ludovic Courtès, 2015/01/28
- 257/376: Revert "binary download: Use $NIX_CURL_FLAGS", Ludovic Courtès, 2015/01/28