git.iko.soy/typeable/nixpkgs
on master help sign in
nixos-help: use writeShellScriptBin and drop custom shebang line
commit3560f0d913a1d1b2c6f0a650d3a4f3ab5419baa2 authorAndreas Rammhold <andreas@rammhold.de> dateThu 5 Nov 2020, 11:47 (6 years ago) parentb02719a
1 file changed+1−2
nixos/modules/misc/documentation.nix+1−2
nixos/modules/misc/documentation.nix+1−2
@@ -40,9 +40,8 @@ let
4040 in scrubbedEval.options;
4141 };
4242
43− helpScript = pkgs.writeScriptBin "nixos-help"
43+ helpScript = pkgs.writeShellScriptBin "nixos-help"
4444 ''
45− #! ${pkgs.runtimeShell} -e
4645 # Finds first executable browser in a colon-separated list.
4746 # (see how xdg-open defines BROWSER)
4847 browser="$(