diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-06-07 14:22:38 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-06-07 14:22:38 +0300 |
commit | 3d8664ee42d43218bdec1cc9b1075998ad66082f (patch) | |
tree | 48be3969c4d129b17b08aa0683237e7eb916d92c /pkgs | |
parent | 3e90b00c1081dc878a2b9ab195c9bb136104f3cd (diff) | |
download | nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar.gz nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar.bz2 nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar.lz nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar.xz nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.tar.zst nixpkgs-3d8664ee42d43218bdec1cc9b1075998ad66082f.zip |
buildFHSUserEnv: mark CHROOTENV_EXTRA_BINDS as discussed for deprecation
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/build-support/build-fhs-userenv/chroot-user.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhs-userenv/chroot-user.rb b/pkgs/build-support/build-fhs-userenv/chroot-user.rb index 2fb3b0954b3..e3b268d57af 100755 --- a/pkgs/build-support/build-fhs-userenv/chroot-user.rb +++ b/pkgs/build-support/build-fhs-userenv/chroot-user.rb @@ -66,6 +66,10 @@ execp = ARGV # Populate extra mounts if not ENV["CHROOTENV_EXTRA_BINDS"].nil? + $stderr.puts "CHROOTENV_EXTRA_BINDS is discussed for deprecation." + $stderr.puts "If you have a usecase, please drop a note in issue #16030." + $stderr.puts "Notice that we now bind-mount host FS to '/host' and symlink all directories from it to '/' by default." + for extra in ENV["CHROOTENV_EXTRA_BINDS"].split(':') paths = extra.split('=') if not paths.empty? |