blob: 588f0b3d9d6b1f9df57b39354132924411c73d12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# nix systemd build file
#============================================================================
if (sys_name.contains('linux'))
systemd_data = []
systemd_nix_daemon = configuration_data()
systemd_nix_daemon.set('bindir', bindir)
systemd_nix_daemon.set('storedir', nixstoredir)
systemd_nix_daemon.set('localstatedir', localstatedir)
systemd_data += configure_file(
input : 'nix-daemon.socket.in',
output : 'nix-daemon.socket',
configuration : systemd_nix_daemon)
systemd_data += configure_file(
input : 'nix-daemon.service.in',
output : 'nix-daemon.service',
configuration : systemd_nix_daemon)
install_data(
systemd_data,
install_dir : join_paths(prefix, 'lib/systemd/system'))
endif
|