An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: remove nixpkgarchive from ui
Andras Bacsaibe306511727f
diff --git a/app/Http/Livewire/Project/Application/General.php b/app/Http/Livewire/Project/Application/General.phpindex 0f68a8a2c3..bd0006b233 100644--- a/app/Http/Livewire/Project/Application/General.php+++ b/app/Http/Livewire/Project/Application/General.php@@ -48,7 +48,6 @@ class General extends Component'application.ports_exposes' => 'required','application.ports_mappings' => 'nullable','application.dockerfile' => 'nullable',- 'application.nixpkgsarchive' => 'nullable',];protected $validationAttributes = ['application.name' => 'name',@@ -67,7 +66,6 @@ class General extends Component'application.ports_exposes' => 'Ports exposes','application.ports_mappings' => 'Ports mappings','application.dockerfile' => 'Dockerfile',- 'application.nixpkgsarchive' => 'Nixpkgs archive',];public function instantSave()diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 7a61029e08..a92bf49394 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -413,7 +413,6 @@ class ApplicationDeploymentJob implements ShouldQueueprivate function generate_nixpacks_confs(){- ray('nixpkgsarchive', $this->application->nixpkgsarchive);$this->execute_remote_command(["echo -n 'Generating nixpacks configuration.'",@@ -422,13 +421,6 @@ class ApplicationDeploymentJob implements ShouldQueue[$this->execute_in_builder("cp {$this->workdir}/.nixpacks/Dockerfile {$this->workdir}/Dockerfile")],[$this->execute_in_builder("rm -f {$this->workdir}/.nixpacks/Dockerfile")]);-- // if ($this->application->nixpkgsarchive) {- // $this->execute_remote_command([- // $this->execute_in_builder("cat {$this->workdir}/nixpacks.toml"), "hidden" => true, "save" => 'nixpacks_toml'- // ]);-- // }}private function nixpacks_build_cmd()diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex 768f19d7ed..a893e519d7 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -32,10 +32,6 @@<option value="dockerfile">Dockerfile</option><option disabled value="compose">Compose</option></x-forms.select>- {{-- @if ($application->build_pack === 'nixpacks')- <x-forms.input id="application.nixpkgsarchive" label="NixPackages Archive (nixpkgsArchive)"- helper="You can customize the NixPackages archive to use."> </x-forms.input>- @endif --}}</div>@if ($application->settings->is_static)<x-forms.select id="application.static_image" label="Static Image" required>