2
0
派生 0

Cleanup README

Remove sections on building depot and make targets as it is no
longer valid.
这个提交包含在:
Emery Hemingway 2020-12-30 17:39:01 +01:00
父节点 5d4fee3bf2
当前提交 085ce919d3
共有 1 个文件被更改,包括 2 次插入17 次删除

查看文件

@ -56,7 +56,7 @@ instructions for enabling: https://app.cachix.org/cache/genodepkgs
```sh
$ git clone https://git.sr.ht/~ehmry/genodepkgs
$ cd genodepkgs
$ nix build .#checks.x86_64-linux.nova-x86
$ nix build -L .#checks.x86_64-linux.nova-x86
# View the log if the result is already cached:
$ nix log .#checks.x86_64-linux.nova-x86
@ -94,25 +94,10 @@ x86_64-unknown-genode-clang++ -v
# Tips and tricks
## How to build a Genode make target?
```nix
let flake = builtins.getFlake "genodepkgs";
in flake.packages.x86_64-linux-x86_64-genode.genodeSources.make "app/ping"
```
## How to build a Genode depot package?
```nix
let flake = builtins.getFlake "genodepkgs";
in flake.packages.x86_64-linux-x86_64-genode.genodeSources.depot "wifi_drv"
```
## How to add missing ports to a depot package?
The missing ports as indicated by a depot build failure must be added to
[targets.nix](./overlay/genode/targets.nix). To continue from the previous
example, this would be sufficient:
[targets.nix](./overlay/genode/targets.nix). For example:
```nix
{