diff options
Diffstat (limited to 'pkgs/development/node-packages/package-tests/tailwindcss.nix')
-rw-r--r-- | pkgs/development/node-packages/package-tests/tailwindcss.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/node-packages/package-tests/tailwindcss.nix b/pkgs/development/node-packages/package-tests/tailwindcss.nix new file mode 100644 index 0000000000000..d5c9fdeff36af --- /dev/null +++ b/pkgs/development/node-packages/package-tests/tailwindcss.nix @@ -0,0 +1,15 @@ +{ runCommand, tailwindcss }: + +let + inherit (tailwindcss) packageName version; +in + +runCommand "${packageName}-tests" { meta.timeout = 60; } + '' + # Ensure CLI runs + ${tailwindcss}/bin/tailwind --help > /dev/null + ${tailwindcss}/bin/tailwindcss --help > /dev/null + + # Needed for Nix to register the command as successful + touch $out + '' |