readme: document how to build a host package

This commit is contained in:
Colin 2023-03-01 11:35:37 +00:00
parent 78ab7b0b80
commit d973cb939c

View File

@ -52,11 +52,15 @@ on the other hand the `packages` output contains only my own packages.
in addition, my packages are placed into both the global scope and a `sane` scope.
so use the scoped path when you want to be explicit.
```
nix build sane.linux-megous
```
to build a package precisely how a specific host would see it (in case the host's config customizes it):
```
nix build '.#host-pkgs.moby-cross.xdg-utils'
```
## using this repo in your own config
this should be a pretty "standard" flake. just reference it, and import either