From 3058ad7fb45c858a412a2b7f7016dc07d3a06481 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Thu, 10 Oct 2024 19:40:18 -0300 Subject: [PATCH] refactor: move makeWrapper to nativeBuildInputs in betterfox-generator - Moved makeWrapper to nativeBuildInputs as it is only needed during the build process and not at runtime. --- generator/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generator/default.nix b/generator/default.nix index 638e0ff..677b285 100644 --- a/generator/default.nix +++ b/generator/default.nix @@ -17,13 +17,17 @@ in stdenv.mkDerivation { pname = "betterfox-generator"; version = "1.0"; + src = script; + dontUnpack = true; + + nativeBuildInputs = [ makeWrapper ]; buildInputs = [ pythonEnv betterfox-extractor - makeWrapper ]; + installPhase = '' mkdir -p $out/bin cp $src/bin/betterfox-generator $out/bin