mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 21:36:36 +00:00
chore(nix/package/docker/aio/env-processor): allow service selection at runtime
This commit is contained in:
20
nix/docker/all_in_one/init/s6-services/default.nix
Normal file
20
nix/docker/all_in_one/init/s6-services/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "s6-services";
|
||||
|
||||
phases = [
|
||||
"installPhase"
|
||||
"fixupPhase"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/etc
|
||||
cp -r ${./configs} $out/etc/s6-confs
|
||||
|
||||
mkdir -p $out/share/s6
|
||||
cp -r ${./services} $out/share/s6/services
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user