From d973cb939c0046dd5256639a7db55730f035ca51 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 1 Mar 2023 11:35:37 +0000 Subject: [PATCH] readme: document how to build a host package --- readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 3ea55454..367ceef3 100644 --- a/readme.md +++ b/readme.md @@ -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