Files
sydnix/scripts/port-tools/default.nix
Madeleine Sydney cf8b6e7ba1 feat: port-tools
Very unfinished, but it's useful as-is!
2025-03-02 18:54:32 -07:00

8 lines
164 B
Nix

{ pkgs ? import <nixpkgs> {}
}:
pkgs.writeShellScriptBin "ports" ''
${pkgs.babashka}/bin/bb --init "${./ports}" -m port-tools -- "$@" || exit=$?
exit $exit
''