Skip to content

Commit

Permalink
refactor: move makeWrapper to nativeBuildInputs in betterfox-generator
Browse files Browse the repository at this point in the history
- Moved makeWrapper to nativeBuildInputs as it is only needed during the build process and not at runtime.
  • Loading branch information
HeitorAugustoLN committed Oct 10, 2024
1 parent e5e393b commit 3058ad7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3058ad7

Please sign in to comment.