tmsu: use $out instead of $bin (#87564)

Because of https://github.com/NixOS/nixpkgs/pull/85535
gstqt5
zowoq 2020-05-11 15:42:46 +10:00 committed by GitHub
parent b970793dbf
commit a133193538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchgit, fetchFromGitHub, go, fuse, installShellFiles }:
{ stdenv, buildGoPackage, fetchFromGitHub, fuse, installShellFiles }:
buildGoPackage rec {
pname = "tmsu";
@ -24,8 +24,8 @@ buildGoPackage rec {
'';
postInstall = ''
mv $bin/bin/{TMSU,tmsu}
cp src/misc/bin/* $bin/bin/
mv $out/bin/{TMSU,tmsu}
cp src/misc/bin/* $out/bin/
installManPage src/misc/man/tmsu.1
installShellCompletion --zsh src/misc/zsh/_tmsu
'';