From 0f744ff0713a5524a4299525b9f99e916bf97f5c Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 1 Apr 2022 16:24:21 +0200 Subject: [PATCH] packages/ghost: limit to x86_64-linux --- packages/projects.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/packages/projects.nix b/packages/projects.nix index 32d8675..9480ce5 100644 --- a/packages/projects.nix +++ b/packages/projects.nix @@ -1,6 +1,6 @@ { pkgs, inputs, ... }@args: let - inherit (pkgs) system; + inherit (pkgs) lib system; dream2nix = inputs.dream2nix.lib2.init { systems = [ system ]; config = { @@ -16,13 +16,18 @@ let in { packages = { - ghost = (let version = "4.39.0"; in dream2nix.makeFlakeOutputs { - source = pkgs.fetchzip { - url = "https://github.com/TryGhost/Ghost/releases/download/v${version}/Ghost-${version}.zip"; - sha256 = "sha256-9XZCe1nd+jeinJHEAbZfLWAiEZK4QqdRxgE2byBkuAc="; - stripRoot = false; + ghost = let + version = "4.39.0"; + dream = dream2nix.makeFlakeOutputs { + source = pkgs.fetchzip { + url = "https://github.com/TryGhost/Ghost/releases/download/v${version}/Ghost-${version}.zip"; + sha256 = "sha256-9XZCe1nd+jeinJHEAbZfLWAiEZK4QqdRxgE2byBkuAc="; + stripRoot = false; + }; }; - }).packages.${system}.ghost; + inherit (dream.packages.${system}) ghost; + in + lib.recursiveUpdate ghost { meta.platforms = [ "x86_64-linux" ]; }; hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; };