mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
a765ceb02c
Example: ``` error: `self` (without `'`) is not a `perSystem` module argument, but a module argument of the top level config. The following is an example usage of `self`. Note that its binding is in the `top` parameter list, which is declared by the top level module rather than the `perSystem` module. top@{ config, lib, self, ... }: { perSystem = { config, self', ... }: { # in scope here: # - self # - self' # - config (of perSystem) # - top.config (note the `top@` pattern) }; } ``` |
||
---|---|---|
.. | ||
apps.nix | ||
checks.nix | ||
debug.nix | ||
devShells.nix | ||
flake.nix | ||
formatter.nix | ||
legacyPackages.nix | ||
moduleWithSystem.nix | ||
nixosConfigurations.nix | ||
nixosModules.nix | ||
nixpkgs.nix | ||
overlays.nix | ||
packages.nix | ||
perSystem.nix | ||
transposition.nix | ||
withSystem.nix |