We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colmena eval --raw
❯ colmena eval -E '{ nodes, ... }: let cfg = nodes.fpindia-chat.config.deployment; in "${cfg.targetUser}@${cfg.targetHost}"' [INFO ] Using flake: git+file:///Users/srid/code/fpindia-chat "[email protected]"
A --raw that removes those wrapping quotes in the output would be nice.
--raw
This would allow me to remove the tr -d '"' in the following script (used, incidentally, to ssh to the remote node):
tr -d '"'
pkgs.writeShellScriptBin "ssh-to-remote" '' ADDR=''$(${lib.getExe pkgs.colmena} eval -E '{ nodes, ... }: let cfg = nodes.myserver.config.deployment; in "''${cfg.targetUser}@''${cfg.targetHost}"' | tr -d '"' ) set -x ssh $ADDR '';
Real-world usage: fpindia/fpindia-chat@1e3fc47
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A
--raw
that removes those wrapping quotes in the output would be nice.This would allow me to remove the
tr -d '"'
in the following script (used, incidentally, to ssh to the remote node):Real-world usage: fpindia/fpindia-chat@1e3fc47
The text was updated successfully, but these errors were encountered: