1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
flake-parts/modules/legacyPackages.nix

22 lines
522 B
Nix
Raw Permalink Normal View History

2023-05-29 17:52:03 +00:00
{ lib, flake-parts-lib, ... }:
2021-10-27 09:05:52 +00:00
let
inherit (lib)
mkOption
types
;
2022-05-25 14:36:33 +00:00
inherit (flake-parts-lib)
mkTransposedPerSystemModule
2021-11-21 14:47:11 +00:00
;
2021-10-27 09:05:52 +00:00
in
mkTransposedPerSystemModule {
name = "legacyPackages";
option = mkOption {
type = types.lazyAttrsOf types.raw;
default = { };
description = ''
2022-11-11 05:40:37 +00: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 09:05:52 +00:00
};
file = ./legacyPackages.nix;
2021-10-27 09:05:52 +00:00
}