1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
nix-darwin/modules/nix
Michael Hoang 5528b36698 eval-config: Support passing in pkgs
This is useful for flake users as they will usually already have an
instantiated Nixpkgs e.g.

    let
      pkgs = import nixpkgs {
        config.allowUnfree = true;
        overlays = [ ... ];
      }
    in darwin.lib.darwinSystem {
      inherit pkgs;
    }

This change makes `nix-darwin` match the behaviour of NixOS and
`home-manager`.
2022-02-04 21:32:40 +11:00
..
default.nix nix: extend nix.conf content whitelist 2022-01-02 11:50:09 +01:00
nix-darwin.nix darwin-rebuild: add jq to path for flakes 2020-11-15 15:42:39 +01:00
nix-info.nix whitespace 2017-10-20 22:29:26 +02:00
nixpkgs.nix eval-config: Support passing in pkgs 2022-02-04 21:32:40 +11:00