use per-derivation sandbox profiles

This commit is contained in:
Jude Taylor
2015-11-19 11:31:06 -08:00
parent 914e9baefe
commit df80090d09
21 changed files with 209 additions and 50 deletions
@@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
];
};
__sandboxProfile = stdenv.lib.sandbox.allowFileRead "/dev/ptmx";
# To fix the trouble in vim73, that it cannot cross-build with this patch
# to bypass a configure script check that cannot be done cross-building.
# http://groups.google.com/group/vim_dev/browse_thread/thread/66c02efd1523554b?pli=1