Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: ffinkdevs <[email protected]>
  • Loading branch information
Mic92 and ffinkdevs authored Dec 17, 2018
1 parent a21de12 commit 9e293b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/tools/backup/duplicacy/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "duplicacy-${version}";
pname = "duplicacy";
version = "2.1.2";

goPackagePath = "github.com/gilbertchen/duplicacy/";
Expand All @@ -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; {
Expand Down

0 comments on commit 9e293b3

Please sign in to comment.