From 9e293b3bdb8f767ce41db74e285c240571f61c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 17 Dec 2018 12:34:39 +0100 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: ffinkdevs --- pkgs/tools/backup/duplicacy/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/backup/duplicacy/default.nix b/pkgs/tools/backup/duplicacy/default.nix index b7b1541761c4a..d217864e93e64 100644 --- a/pkgs/tools/backup/duplicacy/default.nix +++ b/pkgs/tools/backup/duplicacy/default.nix @@ -1,7 +1,7 @@ { lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { - name = "duplicacy-${version}"; + pname = "duplicacy"; version = "2.1.2"; goPackagePath = "github.com/gilbertchen/duplicacy/"; @@ -19,8 +19,7 @@ buildGoPackage rec { ''; installPhase = '' - mkdir -p $bin/bin - cp duplicacy_main $bin/bin/duplicacy + install -D duplicacy_main $bin/bin/duplicacy ''; meta = with lib; {