This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/scripts/update-go.sh
2023-08-31 16:26:37 +01:00

5 lines
133 B
Bash
Executable file

#!/usr/bin/env bash
SOURCE=$1
WRITE_PATH=$(realpath $2)
nix run github:darkkirb/gomod2nix -vL -- --dir $SOURCE --outdir $WRITE_PATH