Cleanup

Changed files
+2 -2
nixos
modules
services
+2 -2
nixos/modules/services/misc/nix-daemon.nix
···
sh = pkgs.stdenv.shell;
binshDeps = pkgs.writeReferencesToFile sh;
in
-
pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; inherit binshDeps; } ''
${optionalString (!isNix20) ''
-
extraPaths=$(for i in $(cat binshDeps); do if test -d $i; then echo $i; fi; done)
''}
cat > $out <<END
# WARNING: this file is generated from the nix.* options in
···
sh = pkgs.stdenv.shell;
binshDeps = pkgs.writeReferencesToFile sh;
in
+
pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } ''
${optionalString (!isNix20) ''
+
extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
''}
cat > $out <<END
# WARNING: this file is generated from the nix.* options in