nix: remove /etc/init, only required by upstart.
This commit is contained in:
parent
32a7ac1030
commit
be3553599c
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nix'
|
# Template file for 'nix'
|
||||||
pkgname=nix
|
pkgname=nix
|
||||||
version=1.10
|
version=1.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# Use /nix/var as suggested by the official Manual.
|
# Use /nix/var as suggested by the official Manual.
|
||||||
configure_args="--localstatedir=/nix/var"
|
configure_args="--localstatedir=/nix/var"
|
||||||
|
@ -43,7 +43,7 @@ pre_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir etc/nix
|
vmkdir etc/nix
|
||||||
# Remove unused stuff.
|
# 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.
|
# Let users interact with the nix-daemon by default.
|
||||||
vmkdir etc/profile.d
|
vmkdir etc/profile.d
|
||||||
echo 'export NIX_REMOTE=daemon' > ${DESTDIR}/etc/profile.d/nix-daemon.sh
|
echo 'export NIX_REMOTE=daemon' > ${DESTDIR}/etc/profile.d/nix-daemon.sh
|
||||||
|
|
Loading…
Reference in New Issue