From 621b6b823c88093eb07ba5836e68f612b0fff84a Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 31 Jul 2022 20:35:02 +0200 Subject: [PATCH] packages/ghost: drop --- packages/dream2nix-overrides/nodejs/default.nix | 15 --------------- packages/projects.nix | 13 ------------- packages/system-filter.nix | 1 - 3 files changed, 29 deletions(-) diff --git a/packages/dream2nix-overrides/nodejs/default.nix b/packages/dream2nix-overrides/nodejs/default.nix index cf897f4..1b9b1f9 100644 --- a/packages/dream2nix-overrides/nodejs/default.nix +++ b/packages/dream2nix-overrides/nodejs/default.nix @@ -24,21 +24,6 @@ in vips ]; }; - ghost.build = { - # zip comes pre-built - runBuild = ""; - - nativeBuildInputs = [ - pkgs.makeWrapper - ]; - - postInstall = '' - makeWrapper $(command -v node) $out/bin/ghost \ - --add-flags "index.js" \ - --run "cd $out/lib/node_modules/ghost" \ - --set NODE_PATH "$out/lib/node_modules/ghost/node_modules" - ''; - }; puppeteer.dummy-build = { # HACK: doesn't build, but we don't need it anywhere diff --git a/packages/projects.nix b/packages/projects.nix index 3221493..26085b6 100644 --- a/packages/projects.nix +++ b/packages/projects.nix @@ -28,19 +28,6 @@ ./websites/landing/project.nix ]; packages = filters.doFilter filters.packages rec { - ghost = let - version = "4.41.3"; - dream = dream2nix.makeOutputs { - source = pkgs.fetchzip { - url = "https://github.com/TryGhost/Ghost/releases/download/v${version}/Ghost-${version}.zip"; - sha256 = "sha256-mqN43LSkd9MHoIHyGS1VsPvpqWqX4Bx5KHcp3KOHw5A="; - stripRoot = false; - }; - }; - inherit (dream.packages) ghost; - in - ghost; - uptime-kuma = let dream = dream2nix.makeOutputs { source = pins.uptime-kuma; diff --git a/packages/system-filter.nix b/packages/system-filter.nix index 0fb100e..1000277 100644 --- a/packages/system-filter.nix +++ b/packages/system-filter.nix @@ -1,6 +1,5 @@ { packages = { - ghost = [ "x86_64-linux" ]; uptime-kuma = [ "x86_64-linux" ]; }; checks = {