@@ -15,12 +15,12 @@ rec {
1515 name = last (builtins.split "/" nameOrPath);
1616 in
1717
18− pkgs.runCommandLocal name (if (types.str.check content) then {
19− inherit content interpreter;
20− passAsFile = [ "content" ];
21− } else {
18+ pkgs.runCommandLocal name (if types.path.check content then {
2219 inherit interpreter;
2320 contentPath = content;
21+ } else {
22+ inherit content interpreter;
23+ passAsFile = [ "content" ];
2424 }) ''
2525 # On darwin a script cannot be used as an interpreter in a shebang but
2626 # there doesn't seem to be a limit to the size of shebang and multiple