This commit is contained in:
kalmenn 2025-07-07 13:52:45 +02:00
parent 6fbd9b2a6c
commit 9c273a6a84
Signed by: kalmenn
GPG key ID: F500055C44BC3834
6 changed files with 162 additions and 59 deletions

5
packages/composer.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs>, php ? null }:
let
php = if php == null then pkgs.php else php;
in php.packages.composer.override {php = phpWithExtensions;};

View file

@ -1,12 +1,12 @@
{ pkgs }:
{ pkgs ? import <nixpkgs> }:
pkgs.php83.buildEnv {
extensions = { enabled, all, }: enabled ++ (with all; [
redis
# xdebug
xdebug
]);
# extraConfig = ''
# xdebug.mode=debug
# '';
extraConfig = ''
xdebug.mode=debug
'';
}

View file

@ -1,9 +1,9 @@
{ pkgs }:
{ pkgs ? import <nixpkgs> }:
let
version = "1.11.11";
in pkgs.fetchzip {
url = "https://github.com/pterodactyl/panel/releases/download/v${ version }/panel.tar.gz";
url = https://github.com/pterodactyl/panel/releases/download/v${version}/panel.tar.gz;
hash = "sha256-0nOHtReVUVXYQY/glS4x0gkbhetoXSWg4rRwOJlkcM8=";
stripRoot = false;
}

View file

@ -1,4 +1,4 @@
{ pkgs }:
{ pkgs ? import <nixpkgs> }:
let
version = "1.11.13";