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-yarn.sh

6 lines
129 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p yarn2nix
SOURCE=$1
WRITE_PATH=$2
yarn2nix --lockfile $1/yarn.lock > $WRITE_PATH