Skip to content

Commit

Permalink
Adds check for mcrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkadutskyi committed Jul 11, 2024
1 parent 50a1466 commit 6f0b609
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ let
drv = { php, ... }: php;
};

mcrypt = {
description = "Build Mcrypt extension";
enabled = { php, lib, ... }: lib.versionOlder php.version "7";
drv = { php, ... }: php.extensions.mcrypt;
};

imagick = {
description = "Build Imagick extension";
drv = { php, ... }: php.extensions.imagick;
Expand Down

0 comments on commit 6f0b609

Please sign in to comment.