mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-15 13:07:52 +00:00
22 lines
546 B
Nix
22 lines
546 B
Nix
{ config, lib, flake-parts-lib, ... }:
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
types
|
|
;
|
|
inherit (flake-parts-lib)
|
|
mkTransposedPerSystemModule
|
|
;
|
|
in
|
|
mkTransposedPerSystemModule {
|
|
name = "devShells";
|
|
option = mkOption {
|
|
type = types.lazyAttrsOf types.package;
|
|
default = { };
|
|
description = ''
|
|
An attribute set of packages to be built by <literal>nix develop .#<name></literal>.
|
|
<literal>nix build .#<name></literal> will run <literal>devShells.<name></literal>.
|
|
'';
|
|
};
|
|
file = ./devShells.nix;
|
|
}
|