diff options
| author | Drew Hess <src@drewhess.com> | 2021-04-05 14:05:02 +0100 |
|---|---|---|
| committer | Drew Hess <src@drewhess.com> | 2021-09-08 13:05:18 +0100 |
| commit | 9f7e95887f62086c3af7362ed2b664c7f181cadf (patch) | |
| tree | e7d8bde1c6436ca2dce6ced119cbebf85b20b526 /modules/examples | |
| parent | 007d700e644ac588ad6668e6439950a5b6e2ff64 (diff) | |
Pass system to darwinSystem rather than eval-config.
This allows us to specify what kind of darwinSystem we want to build,
rather than determining it at evaluation time.
Diffstat (limited to 'modules/examples')
| -rw-r--r-- | modules/examples/flake.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/examples/flake.nix b/modules/examples/flake.nix index dcce379..9191cd8 100644 --- a/modules/examples/flake.nix +++ b/modules/examples/flake.nix @@ -21,6 +21,7 @@ # $ darwin-rebuild build --flake ./modules/examples#darwinConfigurations.simple.system \ # --override-input darwin . darwinConfigurations."simple" = darwin.lib.darwinSystem { + system = "x86_64-darwin"; modules = [ configuration darwin.darwinModules.simple ]; }; |
