Emily
b6893e7f6d
eval-config: remove lib.mdDoc
...
The temporarily pinned nixpkgs version already has this version,
and where we're going, we don't need backports.
This reverts commit 737cfdec9c
.
2023-06-24 06:33:18 +01:00
Emily
737cfdec9c
eval-config.nix: readd lib.mdDoc
temporarily
...
Fixes : #701
2023-06-21 22:55:32 +01:00
zimbatm
74a0e71ff2
eval-config: make lib overridable
...
This enables using flake lib.darwinSystem function with your custom
lib.
2022-09-19 13:45:59 +01:00
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
John Soo
cb1b24cff1
eval-config: Add check parameter for compatibility with nixpkgs.
2022-01-04 16:39:46 -07:00
Robert Hensing
0937f9c060
eval-config.nix: Fix args warning
2022-01-02 12:45:39 +01:00
Daiderd Jordan
44da835ac4
add forward compatibility for literalExample deprecation
...
Fixes #367
2021-10-23 15:06:42 +02:00
Drew Hess
9f7e95887f
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.
2021-09-08 13:05:18 +01:00
Daiderd Jordan
c4bc63d2b9
add flake and split evalConfig
2020-10-21 18:30:56 +02:00