···33 sh = pkgs.stdenv.shell;
34 binshDeps = pkgs.writeReferencesToFile sh;
35 in
36- pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; inherit binshDeps; } ''
37 ${optionalString (!isNix20) ''
38- extraPaths=$(for i in $(cat binshDeps); do if test -d $i; then echo $i; fi; done)
39 ''}
40 cat > $out <<END
41 # WARNING: this file is generated from the nix.* options in
···33 sh = pkgs.stdenv.shell;
34 binshDeps = pkgs.writeReferencesToFile sh;
35 in
36+ pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } ''
37 ${optionalString (!isNix20) ''
38+ extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
39 ''}
40 cat > $out <<END
41 # WARNING: this file is generated from the nix.* options in