best so far but urgh

This commit is contained in:
twoneis 2025-03-15 19:25:01 +01:00
parent ff6c8e2ace
commit 0afc458787

View file

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