Loading pkgs/applications/misc/ArchiSteamFarm/default.nix +19 −0 Original line number Diff line number Diff line { lib , stdenv , buildDotnetModule , fetchFromGitHub , dotnetCorePackages Loading Loading @@ -27,11 +28,20 @@ buildDotnetModule rec { projectFile = "ArchiSteamFarm.sln"; executables = [ "ArchiSteamFarm" ]; dotnetFlags = [ "-p:PublishSingleFile=true" "-p:PublishTrimmed=true" ]; selfContainedBuild = true; runtimeDeps = [ libkrb5 zlib openssl ]; doCheck = true; preBuild = '' export projectFile=(ArchiSteamFarm) ''; preInstall = '' # A mutable path, with this directory tree must be set. By default, this would point at the nix store causing errors. makeWrapperArgs+=( Loading @@ -40,6 +50,15 @@ buildDotnetModule rec { ) ''; postInstall = '' buildPlugin() { dotnet publish $1 -p:ContinuousIntegrationBuild=true -p:Deterministic=true \ --output $out/lib/${pname}/plugins/$1 --configuration Release \ -p:TargetLatestRuntimePatch=false -p:UseAppHost=false --no-restore } buildPlugin ArchiSteamFarm.OfficialPlugins.SteamTokenDumper ''; passthru = { updateScript = ./update.sh; ui = callPackage ./web-ui { }; Loading Loading
pkgs/applications/misc/ArchiSteamFarm/default.nix +19 −0 Original line number Diff line number Diff line { lib , stdenv , buildDotnetModule , fetchFromGitHub , dotnetCorePackages Loading Loading @@ -27,11 +28,20 @@ buildDotnetModule rec { projectFile = "ArchiSteamFarm.sln"; executables = [ "ArchiSteamFarm" ]; dotnetFlags = [ "-p:PublishSingleFile=true" "-p:PublishTrimmed=true" ]; selfContainedBuild = true; runtimeDeps = [ libkrb5 zlib openssl ]; doCheck = true; preBuild = '' export projectFile=(ArchiSteamFarm) ''; preInstall = '' # A mutable path, with this directory tree must be set. By default, this would point at the nix store causing errors. makeWrapperArgs+=( Loading @@ -40,6 +50,15 @@ buildDotnetModule rec { ) ''; postInstall = '' buildPlugin() { dotnet publish $1 -p:ContinuousIntegrationBuild=true -p:Deterministic=true \ --output $out/lib/${pname}/plugins/$1 --configuration Release \ -p:TargetLatestRuntimePatch=false -p:UseAppHost=false --no-restore } buildPlugin ArchiSteamFarm.OfficialPlugins.SteamTokenDumper ''; passthru = { updateScript = ./update.sh; ui = callPackage ./web-ui { }; Loading