···3333 sh = pkgs.stdenv.shell;
3434 binshDeps = pkgs.writeReferencesToFile sh;
3535 in
3636- pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; inherit binshDeps; } ''
3636+ pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } ''
3737 ${optionalString (!isNix20) ''
3838- extraPaths=$(for i in $(cat binshDeps); do if test -d $i; then echo $i; fi; done)
3838+ extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
3939 ''}
4040 cat > $out <<END
4141 # WARNING: this file is generated from the nix.* options in