From ba24cee2435309ac019b39c8d9517066c75d2239 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Tue, 18 Jun 2024 05:00:03 -0400 Subject: [PATCH] Use `executables` in evaluation to set executables to have in `/bin/`. --- home/packages/binaryobjectscanner/package.nix | 2 ++ home/packages/irdkit/package.nix | 2 ++ home/packages/sabretools/package.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/home/packages/binaryobjectscanner/package.nix b/home/packages/binaryobjectscanner/package.nix index 8aedd0d..89d5234 100644 --- a/home/packages/binaryobjectscanner/package.nix +++ b/home/packages/binaryobjectscanner/package.nix @@ -26,6 +26,8 @@ buildDotnetModule { dotnetBuildFlags = [ "--framework net8.0" ]; dotnetInstallFlags = [ "--framework net8.0" ]; + executables = [ "Test" ]; + preFixup = '' mv $out/bin/Test $out/bin/binaryobjectscanner ''; diff --git a/home/packages/irdkit/package.nix b/home/packages/irdkit/package.nix index 81df3ef..5e285ea 100644 --- a/home/packages/irdkit/package.nix +++ b/home/packages/irdkit/package.nix @@ -27,6 +27,8 @@ buildDotnetModule { dotnetBuildFlags = [ "--framework net8.0" ]; dotnetInstallFlags = [ "--framework net8.0" ]; + executables = [ "irdkit" ]; + meta = { description = "Placeholder :)"; homepage = "https://github.com/Deterous/LibIRD"; diff --git a/home/packages/sabretools/package.nix b/home/packages/sabretools/package.nix index 16344e0..42c928d 100644 --- a/home/packages/sabretools/package.nix +++ b/home/packages/sabretools/package.nix @@ -26,6 +26,8 @@ buildDotnetModule { dotnetBuildFlags = [ "--framework net8.0" ]; dotnetInstallFlags = [ "--framework net8.0" ]; + executables = [ "SabreTools" ]; + postFixup = '' mv $out/bin/SabreTools $out/bin/sabretools '';