diff options
author | tv <tv@krebsco.de> | 2022-12-12 16:06:38 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-12 16:06:38 +0100 |
commit | 09c6cc17f02c810cebc790d637c12a9c692b3829 (patch) | |
tree | 786c3c23fa231aa39b08594b1c53d3b86b827f61 /pkgs | |
parent | 7b142389841afba5321f93fc8035758da0a9b15a (diff) |
writeDeno: use writeTextFile3.6.1
This fixes writeDenoText, as toFile doesn't like slashes.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 2 |
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 \ |