mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-25 00:48:19 +00:00
b9bbd5fcd7
[no changelog] Co-Authored-By: Martin Milata <martin@martinmilata.cz> |
||
---|---|---|
.. | ||
default.nix | ||
generate-dependencies.sh | ||
node-composition.nix | ||
node-env.nix | ||
node-packages.nix | ||
package.json | ||
README.md |
Updating pyright
-
Update the version number in
package.json
. -
Run
./generate-dependencies.sh
. The script uses node2nix to resolve dependencies and save their hashes tonode-packages.nix
. -
(optional) Check that the package builds by spawning nix-shell in top-level of the repo:
cd ../.. nix-shell
Or check that it builds with your local nixpkgs:
nix-build -E "(import <nixpkgs> {}).callPackage ./default.nix {}"
-
Commit
.nix
files generated in step 2 to git:git add package.json *.nix