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:
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 {
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; };