Skip to content

Commit

Permalink
[doc] update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
unlsycn committed Sep 28, 2024
1 parent 06f5a75 commit d6379a5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,29 @@ To format the Scala code, developers can run:
nix develop -c bash -c 'mill -i gcd.reformat && mill -i elaborator.reformat'
```

### Bump dependencies

To bump nixpkgs, run:

```bash
nix flake update
```

To bump Chisel and other dependencies fetched by nvfetcher, run:

```bash
cd nix/pkgs/dependencies
nix run '.#nvfetcher'
```

To bump mill dependencies, run:

```bash
nix build '.#gcd.gcd-compiled.millDeps' --rebuild
```

and Then update `millDepsHash` in `nix/gcd/gcd.nix`

### Use the fetchMillDeps function

Fetch project dependencies for later offline usage.
Expand Down

0 comments on commit d6379a5

Please sign in to comment.