readme: document how to build a host package
This commit is contained in:
parent
78ab7b0b80
commit
d973cb939c
|
@ -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.
|
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.
|
so use the scoped path when you want to be explicit.
|
||||||
|
|
||||||
```
|
```
|
||||||
nix build sane.linux-megous
|
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
|
## using this repo in your own config
|
||||||
|
|
||||||
this should be a pretty "standard" flake. just reference it, and import either
|
this should be a pretty "standard" flake. just reference it, and import either
|
||||||
|
|
Loading…
Reference in New Issue
Block a user