aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-12 16:06:38 +0100
committertv <tv@krebsco.de>2022-12-12 16:06:38 +0100
commit09c6cc17f02c810cebc790d637c12a9c692b3829 (patch)
tree786c3c23fa231aa39b08594b1c53d3b86b827f61
parent7b142389841afba5321f93fc8035758da0a9b15a (diff)
writeDeno: use writeTextFile3.6.1
This fixes writeDenoText, as toFile doesn't like slashes.
-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 \