summaryrefslogtreecommitdiff
path: root/sys-apps/nix/nix-2.3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-25 19:33:39 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-25 19:33:39 +0100
commita5b65c81168c90928784a1e92cda84ed5d6b9eb3 (patch)
tree4aa7483cd0ad7de54338afc8e7971417abe1dd81 /sys-apps/nix/nix-2.3.ebuild
parente8f81810baa21f490d6910e8e2d424546b72a333 (diff)
gentoo resync : 25.09.2019
Diffstat (limited to 'sys-apps/nix/nix-2.3.ebuild')
-rw-r--r--sys-apps/nix/nix-2.3.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/nix/nix-2.3.ebuild b/sys-apps/nix/nix-2.3.ebuild
index 448e5bbc051e..2a368774542b 100644
--- a/sys-apps/nix/nix-2.3.ebuild
+++ b/sys-apps/nix/nix-2.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+etc_profile +gc doc s3 +sodium"
+IUSE="+etc-profile +gc doc s3 +sodium"
# sys-apps/busybox is needed for sandbox mount of /bin/sh
RDEPEND="
@@ -122,15 +122,15 @@ src_install() {
newinitd "${FILESDIR}"/nix-daemon.initd nix-daemon
- if ! use etc_profile; then
+ if ! use etc-profile; then
rm "${ED}"/etc/profile.d/nix.sh || die
rm "${ED}"/etc/profile.d/nix-daemon.sh || die
fi
}
pkg_postinst() {
- if ! use etc_profile; then
- ewarn "${EROOT}/etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
+ if ! use etc-profile; then
+ ewarn "${EROOT}/etc/profile.d/nix.sh was removed (due to USE=-etc-profile)."
fi
readme.gentoo_print_elog