1
0
nixfiles/pkgs/print-afra/default.nix

12 lines
175 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
pkgs.writeShellApplication {
name = "print-afra";
text = ''
cat "$@" | nc -N 172.23.42.215 9100
'';
runtimeInputs = with pkgs; [
netcat
];
}