1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

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

Because of https://github.com/NixOS/nixpkgs/pull/85535
This commit is contained in:
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

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
'';