diff --git a/home/packages/sabretools/TargetName_lowercase.diff b/home/packages/sabretools/TargetName_lowercase.diff
new file mode 100644
index 0000000..544016e
--- /dev/null
+++ b/home/packages/sabretools/TargetName_lowercase.diff
@@ -0,0 +1,12 @@
+diff --git a/SabreTools/SabreTools.csproj b/SabreTools/SabreTools.csproj
+index 9adc4c7a..cb15305b 100644
+--- a/SabreTools/SabreTools.csproj
++++ b/SabreTools/SabreTools.csproj
+@@ -10,6 +10,7 @@
+ latest
+ enable
+ true
++ sabretools
+ true
+ 1.1.2
+
diff --git a/home/packages/sabretools/package.nix b/home/packages/sabretools/package.nix
index 9a2d820..16344e0 100644
--- a/home/packages/sabretools/package.nix
+++ b/home/packages/sabretools/package.nix
@@ -1,4 +1,5 @@
-{ lib,
+{
+ lib,
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub
@@ -20,11 +21,15 @@ buildDotnetModule {
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
nugetDeps = ./deps.nix;
- projectFile = "SabreTools.sln";
- # projectFile = "SabreTools/SabreTools.csproj";
+ # projectFile = "SabreTools.sln";
+ projectFile = "SabreTools/SabreTools.csproj";
dotnetBuildFlags = [ "--framework net8.0" ];
dotnetInstallFlags = [ "--framework net8.0" ];
+ postFixup = ''
+ mv $out/bin/SabreTools $out/bin/sabretools
+ '';
+
meta = {
description = "DAT management tool with advanced editing and sorting features";
homepage = "https://github.com/SabreTools/SabreTools";