mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
16 lines
352 B
Nix
16 lines
352 B
Nix
{ 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
|
|
''
|