tvl-depot/third_party/nix/misc/upstart/meson.build
p01arst0rm 055139ac6a feat(3p/nix): added meson support
(cherry picked from commit 086a81b7a5bbe1fc022efb5935ff68f6ad71ddaf)
2020-05-17 15:55:13 +01:00

26 lines
645 B
Meson

# ifeq ($(OS), Linux)
# $(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
# endif
# nix systemd build file
#============================================================================
if (sys_name.contains('linux'))
upstart_data = []
upstart_nix_daemon = configuration_data()
upstart_nix_daemon.set('bindir', bindir)
upstart_data += configure_file(
input : 'nix-daemon.conf.in',
output : 'nix-daemon.conf',
configuration : upstart_nix_daemon)
install_data(
upstart_data,
install_dir : join_paths(sysconfdir, 'init'))
endif