diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix index 1beb68e0bd70..e00dc5f1ddba 100644 --- a/pkgs/tools/security/yarGen/default.nix +++ b/pkgs/tools/security/yarGen/default.nix @@ -17,9 +17,7 @@ python3.pkgs.buildPythonApplication rec { installPhase = '' runHook preInstall - mkdir -p $out/bin - chmod +x yarGen.py - mv yarGen.py $out/bin/yargen + install -Dt "$out/bin" yarGen.py runHook postInstall '';