about summary refs log tree commit diff
path: root/pkgs/tools/security/yarGen
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-04-23 08:02:53 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-04-22 23:32:02 -0700
commit081c81209f9602d1ce5153ae175ad5d707195ac7 (patch)
tree0aab6b3d80531241f281fd956f792029a88d9470 /pkgs/tools/security/yarGen
parente18a2ee062c68e6e883abae6ad2fe6069b34bf38 (diff)
yarGen: improve installPhase
Diffstat (limited to 'pkgs/tools/security/yarGen')
-rw-r--r--pkgs/tools/security/yarGen/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix
index 1beb68e0bd700..e00dc5f1ddba4 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
   '';