packages/ghost: limit to x86_64-linux

This commit is contained in:
Max Headroom 2022-04-01 16:24:21 +02:00
parent 604e380d43
commit 0f744ff071

View file

@ -1,6 +1,6 @@
{ pkgs, inputs, ... }@args: { pkgs, inputs, ... }@args:
let let
inherit (pkgs) system; inherit (pkgs) lib system;
dream2nix = inputs.dream2nix.lib2.init { dream2nix = inputs.dream2nix.lib2.init {
systems = [ system ]; systems = [ system ];
config = { config = {
@ -16,13 +16,18 @@ let
in in
{ {
packages = { packages = {
ghost = (let version = "4.39.0"; in dream2nix.makeFlakeOutputs { ghost = let
source = pkgs.fetchzip { version = "4.39.0";
url = "https://github.com/TryGhost/Ghost/releases/download/v${version}/Ghost-${version}.zip"; dream = dream2nix.makeFlakeOutputs {
sha256 = "sha256-9XZCe1nd+jeinJHEAbZfLWAiEZK4QqdRxgE2byBkuAc="; source = pkgs.fetchzip {
stripRoot = false; 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; }; hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; };