nixos-config/modules/dev/perl.nix
Gabriel Arazas b9785fed44 Go back to using stable channels and add unstable channel as a separate channel
NixOS 20.09 is just around the corner anyways so the packages will be updated soonish.
2020-08-20 02:36:05 +08:00

23 lines
440 B
Nix

# The language for portable shell scripting.
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.dev.perl = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.dev.perl.enable {
my.packages = with pkgs; [
perl
perlPackages.ModernPerl
perlPackages.ModuleBuild
perlPackages.ModuleInfo
perlPackages.ModuleInstall
];
};
}