aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r--pkgs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 210d8ce..e92e1d8 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -236,7 +236,7 @@ pkgs: oldpkgs: {
pkgs.writeDash "/bin/${name}";
writeDeno = name: text: let
- script = builtins.toFile "${name}.deno" text;
+ script = pkgs.writeTextFile { name = "${name}.deno"; inherit text; };
in
pkgs.writeDash name ''
exec ${pkgs.deno}/bin/deno run \