1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-03-05 16:36:56 +00:00
flake-parts/modules/legacyPackages.nix

22 lines
530 B
Nix
Raw Normal View History

2022-05-25 16:36:33 +02:00
{ config, lib, flake-parts-lib, ... }:
2021-10-27 11:05:52 +02:00
let
inherit (lib)
mkOption
types
;
2022-05-25 16:36:33 +02:00
inherit (flake-parts-lib)
mkTransposedPerSystemModule
2021-11-21 15:47:11 +01:00
;
2021-10-27 11:05:52 +02:00
in
mkTransposedPerSystemModule {
name = "legacyPackages";
option = mkOption {
type = types.lazyAttrsOf types.raw;
default = { };
description = ''
2022-11-11 06:40:37 +01:00
An attribute set of unmergeable values. This is also used by [`nix build .#<attrpath>`](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-build.html).
'';
2021-10-27 11:05:52 +02:00
};
file = ./legacyPackages.nix;
2021-10-27 11:05:52 +02:00
}