diff options
author | Jude Taylor <me@jude.bio> | 2015-11-12 18:59:17 -0800 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-11-19 11:31:06 -0800 |
commit | df80090d092a9dec4393060bb1ab8f278aba11f2 (patch) | |
tree | 1b2ed9ef2eaf22cebad63c3114ae9282a211349e /pkgs/applications/editors/vim/default.nix | |
parent | 914e9baefe9b606ed331ba427af50c41715f973d (diff) | |
download | nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar.gz nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar.bz2 nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar.lz nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar.xz nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.tar.zst nixlib-df80090d092a9dec4393060bb1ab8f278aba11f2.zip |
use per-derivation sandbox profiles
Diffstat (limited to 'pkgs/applications/editors/vim/default.nix')
-rw-r--r-- | pkgs/applications/editors/vim/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix index ab7b08d8186a..08e0e05590f3 100644 --- a/pkgs/applications/editors/vim/default.nix +++ b/pkgs/applications/editors/vim/default.nix @@ -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 |