trying more stuff

This commit is contained in:
twoneis 2025-03-15 12:07:41 +01:00
parent e8c92c9d3c
commit 2e3ac4cb0c
2 changed files with 25 additions and 6 deletions

View file

@ -37,7 +37,6 @@ in {
base = web-domain;
};
email = "akkoma@${email-domain}";
iceshrimp.enable = false;
};
matrix = {

View file

@ -1,10 +1,11 @@
{
buildDotnetModule,
stdenv,
dotnetCorePackages,
dotnet-sdk_9,
}: let
version = "v2025.1-beta5.patch2.security1";
in
buildDotnetModule {
stdenv.mkDerivation {
pname = "iceshrimp";
version = "2025.1";
@ -14,10 +15,23 @@ in
rev = "aac23cce7b577e6ed58ec9bf1fde4f04c26ff624";
};
dotnet-sdk = dotnetCorePackages.sdk_9_0;
dotnet-runtime = dotnetCorePackages.runtime_9_0;
nativeBuildInputs = [
dotnet-sdk_9
dotnetCorePackages.sdk_9_0
dotnetCorePackages.runtime_9_0
];
buildInputs = [
dotnetCorePackages.runtime_9_0
];
projectFile = "Iceshrimp.NET.sln";
configurePhase = ''
runHook preConfigure
cd Iceshrimp.Backend
dotnet workload install wasm-tools
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
@ -26,4 +40,10 @@ in
runHook postBuild
'';
installPhase = ''
echo Install Phase
ls
exit 1
'';
}