From 97a1b5732b1cda2f950fa403c36f4385ca7b21a4 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 5 Mar 2023 03:13:43 +0000 Subject: [PATCH] docs: cross compilation: document the `emptyDirectory` pattern --- hosts/common/cross/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/common/cross/default.nix b/hosts/common/cross/default.nix index eaf3c531..79d59603 100644 --- a/hosts/common/cross/default.nix +++ b/hosts/common/cross/default.nix @@ -14,6 +14,8 @@ # - # - `${stdenv.hostPlatform.emulator buildPackages} ` # - to run code compiled for host platform +# - `override { foo = next.emptyDirectory; }` +# - to populate some dep as a dummy, if you don't really need it # # build a particular package as evaluated here with: # - toplevel: `nix build '.#host-pkgs.moby-cross.xdg-utils'`