Skip to content

Commit

Permalink
chore: Add example for node 16
Browse files Browse the repository at this point in the history
- Change ref type
  • Loading branch information
lx-wnk committed Jan 19, 2024
1 parent c0945f7 commit 83831ce
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 4 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

2 changes: 1 addition & 1 deletion examples/sw5/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ imports:
- kellerkinder
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.11
url: github:NixOS/nixpkgs?ref=nixos-23.11
kellerkinder:
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0
flake: false
Expand Down
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?ref=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
2 changes: 1 addition & 1 deletion examples/sw6/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ imports:
- kellerkinder
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.11
url: github:NixOS/nixpkgs?ref=nixos-23.11
kellerkinder:
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0
flake: false
Expand Down

0 comments on commit 83831ce

Please sign in to comment.