flakelight/builtinModules/moduleArgs.nix
Archit Gupta 82f9fe67c3 Improve performance of per-system attributes
Using `perSystem` to implement per-system attributes ties all the
per-system attributes together; all the `perSystem` functions must run
to determine output attrs. By generating them separately, the generation
can be done lazily.
2024-01-11 17:35:01 -08:00

21 lines
317 B
Nix

# flakelight -- Framework for simplifying flake setup
# Copyright (C) 2023 Archit Gupta <archit@accelbread.com>
# SPDX-License-Identifier: MIT
{ config
, options
, src
, lib
, flakelight
, inputs
, outputs
, pkgsFor
, genSystems
, specialArgs
, modulesPath
, moduleArgs
}@args:
{
_module.args.moduleArgs = args;
}