From 83e18d7da492424b4c0b9c105461fc47391ae743 Mon Sep 17 00:00:00 2001 From: bluepython508 <16466646+bluepython508@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:11:47 +0100 Subject: [PATCH] Use raw strings rather than B64, assume paths don't have } --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index b0abfc3..148800e 100644 --- a/default.nix +++ b/default.nix @@ -51,7 +51,7 @@ case "''${1:-}" in assimilate) - run rpc ":ok = \"$(echo -n "$2" | ${pkgs.coreutils}/bin/base64)\" |> Base.decode64!() |> Frajtano.Agent.assimilate()" + run rpc ":ok = ~S{$2} |> Frajtano.Agent.assimilate()" ;; spawn) shift