fetchutils: remove DESTDIR, use PREFIX, change owner

(cherry picked from commit feef79647f1da6fe2e06e9cfc72dd923641a3c7e)
This commit is contained in:
fortuneteller2k 2021-05-28 20:00:48 +08:00 committed by Dmitry Kalinkin
parent 75d84510e1
commit b1a828fa56
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ stdenvNoCC.mkDerivation rec {
version = "unstable-2021-03-16"; version = "unstable-2021-03-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lptstr"; owner = "kiedtl";
repo = pname; repo = pname;
rev = "882781a297e86f4ad4eaf143e0777fb3e7c69526"; rev = "882781a297e86f4ad4eaf143e0777fb3e7c69526";
sha256 = "sha256-ONrVZC6GBV5v3TeBekW9ybZjDHF3FNyXw1rYknqKRbk="; sha256 = "sha256-ONrVZC6GBV5v3TeBekW9ybZjDHF3FNyXw1rYknqKRbk=";
@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ bash scdoc ]; buildInputs = [ bash scdoc ];
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; installFlags = [ "PREFIX=$(out)/" ];
postPatch = '' postPatch = ''
patchShebangs --host src/* patchShebangs --host src/*