[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/376: Install systemd and Upstart stuff only on Linux
From: |
Ludovic Courtès |
Subject: |
59/376: Install systemd and Upstart stuff only on Linux |
Date: |
Wed, 28 Jan 2015 22:04:02 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit de8be7c3e06b52c313e0b452b641ad5f90dca2fe
Author: Eelco Dolstra <address@hidden>
Date: Wed Jul 16 11:16:54 2014 +0200
Install systemd and Upstart stuff only on Linux
---
misc/systemd/local.mk | 6 +++++-
misc/upstart/local.mk | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/misc/systemd/local.mk b/misc/systemd/local.mk
index 5555818..004549f 100644
--- a/misc/systemd/local.mk
+++ b/misc/systemd/local.mk
@@ -1 +1,5 @@
-$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call
install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
+ifeq ($(OS), Linux)
+
+ $(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call
install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
+
+endif
diff --git a/misc/upstart/local.mk b/misc/upstart/local.mk
index 249262d..a73dc06 100644
--- a/misc/upstart/local.mk
+++ b/misc/upstart/local.mk
@@ -1 +1,5 @@
-$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n),
$(sysconfdir)/init, 0644)))
+ifeq ($(OS), Linux)
+
+ $(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n),
$(sysconfdir)/init, 0644)))
+
+endif
- 58/376: Pass *_proxy vars to bootstrap fetchurl, (continued)
- 58/376: Pass *_proxy vars to bootstrap fetchurl, Ludovic Courtès, 2015/01/28
- 51/376: build-remote.pl: Use ‘nix-store --serve’ on the remote side, Ludovic Courtès, 2015/01/28
- 50/376: Fix closure size display, Ludovic Courtès, 2015/01/28
- 63/376: Get rid of a compiler warning, Ludovic Courtès, 2015/01/28
- 43/376: Remove tabs, Ludovic Courtès, 2015/01/28
- 64/376: nix-daemon: Fix compat with older clients, Ludovic Courtès, 2015/01/28
- 57/376: Manual: Typo, Ludovic Courtès, 2015/01/28
- 53/376: build-remote.pl: Fix build log, Ludovic Courtès, 2015/01/28
- 61/376: Handle case collisions on case-insensitive systems, Ludovic Courtès, 2015/01/28
- 66/376: nix-daemon: Show name of connecting user, Ludovic Courtès, 2015/01/28
- 59/376: Install systemd and Upstart stuff only on Linux,
Ludovic Courtès <=
- 60/376: Make dev-shell script work on Darwin, Ludovic Courtès, 2015/01/28
- 68/376: Ugly hack to fix building on old Darwin, Ludovic Courtès, 2015/01/28
- 75/376: nix-store --serve: Monitor for client disconnects, Ludovic Courtès, 2015/01/28
- 70/376: Better fix for strcasecmp on Darwin, Ludovic Courtès, 2015/01/28
- 73/376: startProcess: Make writing error messages from the child more robust, Ludovic Courtès, 2015/01/28
- 67/376: nix-daemon: Add trusted-users and allowed-users options, Ludovic Courtès, 2015/01/28
- 56/376: Remove cruft, Ludovic Courtès, 2015/01/28
- 76/376: nix-daemon: Simplify stderr handling, Ludovic Courtès, 2015/01/28
- 71/376: Revert old useBuildHook behaviour, Ludovic Courtès, 2015/01/28
- 65/376: nix-daemon: Only print connection info if we have SO_PEERCRED, Ludovic Courtès, 2015/01/28