From 3560f0d913a1d1b2c6f0a650d3a4f3ab5419baa2 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Thu, 5 Nov 2020 11:47:14 +0100 Subject: [PATCH] nixos-help: use writeShellScriptBin and drop custom shebang line --- nixos/modules/misc/documentation.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index 906e9f05063e..0a8b1a313efb 100644 --- a/nixos/modules/misc/documentation.nix +++ b/nixos/modules/misc/documentation.nix @@ -40,9 +40,8 @@ let in scrubbedEval.options; }; - helpScript = pkgs.writeScriptBin "nixos-help" + helpScript = pkgs.writeShellScriptBin "nixos-help" '' - #! ${pkgs.runtimeShell} -e # Finds first executable browser in a colon-separated list. # (see how xdg-open defines BROWSER) browser="$(