perSystem: functionTo -> deferredModule
This commit is contained in:
parent
d5370c0774
commit
3ee82a16d6
9 changed files with 58 additions and 17 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
];
|
||||
systems = [ "x86_64-linux" "aarch64-darwin" ];
|
||||
perSystem = system: { config, self', inputs', pkgs, ... }: {
|
||||
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
||||
# Per-system attributes can be defined here. The self' and inputs'
|
||||
# module parameters provide easy access to attributes of the same
|
||||
# system.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
./hello/flake-module.nix
|
||||
];
|
||||
systems = [ "x86_64-linux" "aarch64-darwin" ];
|
||||
perSystem = system: { config, self', inputs', ... }: {
|
||||
perSystem = { config, self', inputs', ... }: {
|
||||
# Per-system attributes can be defined here. The self' and inputs'
|
||||
# module parameters provide easy access to attributes of the same
|
||||
# system.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Definitions can be imported from a separate file like this one
|
||||
|
||||
{ self, ... }: {
|
||||
perSystem = system: { config, self', inputs', pkgs, ... }: {
|
||||
perSystem = { config, self', inputs', pkgs, ... }: {
|
||||
# Definitions like this are entirely equivalent to the ones
|
||||
# you may have directly in flake.nix.
|
||||
packages.hello = pkgs.hello;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue