nix: adopted; get rid of useless quoting

This commit is contained in:
Juan RP 2019-12-29 09:13:22 +01:00
parent a5fea8c6fa
commit f88509da76
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -11,7 +11,7 @@ makedepends="boost-devel brotli-devel bzip2-devel gc-devel libcurl-devel
libseccomp-devel editline-devel"
depends="curl tar xz"
short_desc="Purely functional package manager"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://nixos.org/nix/"
changelog="https://nixos.org/releases/${pkgname}/${pkgname}-${version}/manual/#sec-relnotes"
@ -66,11 +66,11 @@ post_install() {
rm -rf ${DESTDIR}/usr/lib/systemd ${DESTDIR}/usr/lib/pkgconfig
# 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
echo 'export NIX_REMOTE=daemon' > ${DESTDIR}/etc/profile.d/nix-daemon.sh
# Setup build users.
echo 'build-users-group = nixbld' > "${DESTDIR}"/etc/nix/nix.conf
echo 'build-users-group = nixbld' > ${DESTDIR}/etc/nix/nix.conf
# Install our profile.d/nix for multi-user by default.
vinstall "${FILESDIR}"/nix.sh 644 etc/profile.d
vinstall ${FILESDIR}/nix.sh 644 etc/profile.d
# runit service
vsv nix-daemon
}