Skip to content

Commit

Permalink
sys-apps/nix: redirect /dummy to /tmp/dummy
Browse files Browse the repository at this point in the history
Without the change the buidl fails on sandbox violations as:

     F: mkdir
     S: deny
     P: /dummy/profiles
     A: /dummy/profiles
     R: /dummy/profiles
     C: src/nix/nix __dump-cli

Issue: #54
  • Loading branch information
trofi committed Nov 28, 2024
1 parent 0787839 commit 04e8ee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys-apps/nix/nix-2.24.10-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ src_prepare() {

# inject rapidcheck extra includes
export CXXFLAGS="${CXXFLAGS} -I${EPREFIX}/usr/include/rapidcheck/extras/gtest/include"

# Avoid sandbox failures accessing /dummy/profiles
sed -e "s@=/dummy@=${T}/dummy@g" -i doc/manual/local.mk || die
}

src_configure() {
Expand Down

0 comments on commit 04e8ee8

Please sign in to comment.