gitolite: fix reference to /bin
This commit is contained in:
parent
da1b01a144
commit
c7cbb380be
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, git, lib, makeWrapper, nettools, perl, perlPackages, nixosTests }:
|
{ stdenv, coreutils, fetchFromGitHub, git, lib, makeWrapper, nettools, perl, perlPackages, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gitolite";
|
pname = "gitolite";
|
||||||
|
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
|
||||||
--replace /usr/bin/perl "${perl}/bin/perl"
|
--replace /usr/bin/perl "${perl}/bin/perl"
|
||||||
substituteInPlace src/lib/Gitolite/Setup.pm \
|
substituteInPlace src/lib/Gitolite/Setup.pm \
|
||||||
--replace hostname "${nettools}/bin/hostname"
|
--replace hostname "${nettools}/bin/hostname"
|
||||||
|
substituteInPlace src/commands/sskm \
|
||||||
|
--replace /bin/rm "${coreutils}/bin/rm"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
|
Loading…
Reference in a new issue