From a133193538dd3cb8817491ae27ec977f2e558abc Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 11 May 2020 15:42:46 +1000 Subject: [PATCH] tmsu: use $out instead of $bin (#87564) Because of https://github.com/NixOS/nixpkgs/pull/85535 --- pkgs/tools/filesystems/tmsu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/tmsu/default.nix b/pkgs/tools/filesystems/tmsu/default.nix index d8533a4e777..5efa218ed08 100644 --- a/pkgs/tools/filesystems/tmsu/default.nix +++ b/pkgs/tools/filesystems/tmsu/default.nix @@ -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 '';