testing
This commit is contained in:
parent
6fbd9b2a6c
commit
20e99d60a3
6 changed files with 157 additions and 58 deletions
5
packages/composer.nix
Normal file
5
packages/composer.nix
Normal 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;};
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs }:
|
||||
{ pkgs ? import <nixpkgs> }:
|
||||
|
||||
let
|
||||
version = "1.11.13";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue