1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules
Emily 7c72c013b1 nixpkgs: make config.nixpkgs.{buildPlatform,hostPlatform} write only
The description for options.nixpkgs.system already hints at this:

  Neither ${opt.system} nor any other option in nixpkgs.* is meant
  to be read by modules and configurations.
  Use pkgs.stdenv.hostPlatform instead.

We can support this goal by not elaborating the systems anymore, forcing
users to go via pkgs.stdenv.

This will prevent problems when making the top-level package sets
composable in the next commit. For this to work, you should pass a fully
elaborated system to nixpkgs' localSystem or crossSystem options.

Backport of Nixpkgs commit 0a19371146130c0e2a402fd0c35f8283b0e81910.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-02-03 20:54:01 +00:00
..
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
examples {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc module: add prometheus-node-exporter service 2024-10-31 02:08:34 +01:00
networking system: tweak ShellCheck settings 2025-01-18 19:34:21 +00:00
nix nixpkgs: make config.nixpkgs.{buildPlatform,hostPlatform} write only 2025-02-03 20:54:01 +00:00
power power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
programs Merge pull request #1233 from adamcstephens/fish/package 2024-12-29 10:04:09 +11:00
security treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
services Revert "{activation-scripts,activate-system}: purify environment" 2025-01-28 02:31:59 +00:00
system checks: fix sw_vers parameter for macOSVersion (--productVersion, not -productVersion) 2025-01-30 12:46:25 -03:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users system: tweak ShellCheck settings 2025-01-18 19:34:21 +00:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix Add --ignore-dependencies option for casks 2025-01-05 10:29:12 -03:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix openssh: init module 2025-01-10 10:23:09 +11:00