Display version numbers

This commit is contained in:
Oliver Davies 2025-06-22 21:51:10 +01:00
parent 799be25e4d
commit 16355d8cde
4 changed files with 29 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ pkgs }:
{ lib, pkgs }:
pkgs.mkShell {
packages = with pkgs; [
@ -9,4 +9,8 @@ pkgs.mkShell {
nodePackages.yarn
prettier
];
shellHook = ''
echo "nodejs $(${lib.getExe pkgs.nodejs} --version)"
'';
}

View file

@ -1,4 +1,9 @@
{ commonPhpPackages, pkgs, ... }:
{
commonPhpPackages,
lib,
pkgs,
...
}:
pkgs.mkShell {
packages =
@ -8,4 +13,8 @@ pkgs.mkShell {
php82Packages.composer
]
++ commonPhpPackages;
shellHook = ''
${lib.getExe pkgs.php82} --version
'';
}

View file

@ -1,4 +1,8 @@
{ commonPhpPackages, pkgs }:
{
commonPhpPackages,
lib,
pkgs,
}:
pkgs.mkShell {
packages =
@ -8,4 +12,8 @@ pkgs.mkShell {
php83Packages.composer
]
++ commonPhpPackages;
shellHook = ''
${lib.getExe pkgs.php83} --version
'';
}

View file

@ -1,4 +1,4 @@
{ pkgs }:
{ lib, pkgs }:
pkgs.mkShell {
packages = with pkgs; [
@ -6,4 +6,8 @@ pkgs.mkShell {
tailwindcss_4
watchman
];
shellHook = ''
${lib.getExe pkgs.tailwindcss_4} --help
'';
}