nix: remove /etc/init, only required by upstart.

This commit is contained in:
Juan RP 2015-12-19 21:25:39 +01:00
parent 32a7ac1030
commit be3553599c
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nix'
pkgname=nix
version=1.10
revision=1
revision=2
build_style=gnu-configure
# Use /nix/var as suggested by the official Manual.
configure_args="--localstatedir=/nix/var"
@ -43,7 +43,7 @@ pre_configure() {
post_install() {
vmkdir etc/nix
# Remove unused stuff.
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/nix
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/nix ${DESTDIR}/etc/init
# Let users interact with the nix-daemon by default.
vmkdir etc/profile.d
echo 'export NIX_REMOTE=daemon' > ${DESTDIR}/etc/profile.d/nix-daemon.sh