Skip to content

Commit

Permalink
chore: Add example for node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
lx-wnk committed Jan 19, 2024
1 parent c0945f7 commit d1c13ff
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

# Devenv
/.devenv*
/.direnv
devenv.local.nix
/examples/**/.devenv*
/examples/**/.direnv
/examples/**/devenv.lock
/examples/**/.devenv.flake.nix

3 changes: 3 additions & 0 deletions examples/sw6-node16/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/v0.6.3/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0="

use devenv
13 changes: 13 additions & 0 deletions examples/sw6-node16/devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ pkgs, config, inputs, lib, ... }:

{
kellerkinder.phpVersion = "php81";
kellerkinder.additionalPhpConfig = ''
memory_limit = 512M
'';
kellerkinder.additionalPhpExtensions = [ "mailparse" ];
kellerkinder.enableRabbitMq = true;
kellerkinder.enableElasticsearch = true;

languages.javascript.package = pkgs.nodejs-16_x;
}
19 changes: 19 additions & 0 deletions examples/sw6-node16/devenv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
allowUnfree: true
imports:
- kellerkinder
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.05
kellerkinder:
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0
flake: false
froshpkgs:
url: github:FriendsOfShopware/nur-packages
inputs:
nixpkgs:
follows: "nixpkgs"
phps:
url: github:fossar/nix-phps
inputs:
nixpkgs:
follows: nixpkgs

0 comments on commit d1c13ff

Please sign in to comment.