-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: StabilityMatrix #336340
Comments
For future visitors, I was also interested in this program, it seemed to work fairly well with a simple app image wrapper as per the wiki, but encounter some shared library errors during runtime with one of the crypt libraries, there was an easy solution for that I posted about here: |
I am also interested in StabilityMatrix and decided to try to package it. I got pretty far, but I'm unfamiliar with dotnet. I got the following, which currently fails with:
{
fetchFromGitHub,
buildDotnetModule,
lib,
git,
musl,
libxcrypt-legacy,
dotnetCorePackages,
}:
buildDotnetModule rec {
pname = "StabilityMatrix";
version = "2.13.0";
src = fetchFromGitHub {
owner = "LykosAI";
repo = pname;
rev = "v${version}";
hash = "sha256-GYp1Wg7jbF6FGi+MLemLXKx3otAH8E0zQriMp9fFUAI=";
leaveDotGit = true; # the build needs the git dir for whatever reason
};
projectFile = "StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj";
dotnet-sdk = with dotnetCorePackages;
combinePackages [
sdk_8_0
sdk_9_0
];
dotnet-runtime = dotnetCorePackages.runtime_9_0;
nativeBuildInputs = [
git
];
nugetDeps = ./deps.json;
runtimeDeps = [
libxcrypt-legacy
];
autoPatchelfIgnoreMissingDeps = [
"libc.musl-x86_64.so.1" # this does not work
];
meta = with lib; {
homepage = "https://github.com/LykosAI/StabilityMatrix";
description = "Multi-Platform Package Manager for Stable Diffusion";
license = licenses.gpl3;
};
} Inspired by AUR https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=stabilitymatrix The only issue similar to this is the following: #350147 @AlienJust you helped in the other issue, the @NixOS/dotnet mentioned in the docs that should be tagged for help does not exist. Can you help or do you know who to tag that can help? |
I tried using the AppImage, which runs with the linked nix-shell, but also throws some errors when launching the installed web UI. |
Multi-Platform Package Manager for Stable Diffusion. There is an AUR package.
Source: https://github.com/LykosAI/StabilityMatrix
License: AGPL-3.0
Platforms: linux, windows, macos
The text was updated successfully, but these errors were encountered: