summaryrefslogtreecommitdiff
path: root/sys-apps/nix/nix-2.2.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/nix/nix-2.2.2.ebuild')
-rw-r--r--sys-apps/nix/nix-2.2.2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/nix/nix-2.2.2.ebuild b/sys-apps/nix/nix-2.2.2.ebuild
index 583f372e75c2..bf8307338008 100644
--- a/sys-apps/nix/nix-2.2.2.ebuild
+++ b/sys-apps/nix/nix-2.2.2.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="
@@ -128,15 +128,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