From 081c81209f9602d1ce5153ae175ad5d707195ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 23 Apr 2021 08:02:53 +0200 Subject: [PATCH] yarGen: improve installPhase --- pkgs/tools/security/yarGen/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix index 1beb68e0bd7..e00dc5f1ddb 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 '';