From be13e1b4043e79649cadfb58540fed3806c6506f Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 12 Sep 2024 07:58:28 +0300 Subject: [PATCH] expand-response-params: Fix windows build and add `mainProgram` --- pkgs/build-support/expand-response-params/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/expand-response-params/default.nix b/pkgs/build-support/expand-response-params/default.nix index 6868ab97d896..83972f6ed97a 100644 --- a/pkgs/build-support/expand-response-params/default.nix +++ b/pkgs/build-support/expand-response-params/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation { ''; installPhase = '' mkdir -p $prefix/bin - mv expand-response-params $prefix/bin/ + mv expand-response-params${stdenv.hostPlatform.extensions.executable} $prefix/bin/ ''; meta = { @@ -38,5 +38,6 @@ stdenv.mkDerivation { ''; license = lib.licenses.mit; platforms = lib.platforms.all; + mainProgram = "expand-response-params${stdenv.hostPlatform.extensions.executable}"; }; }