mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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 {
|
||||
pname = "gitolite";
|
||||
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
|
||||
--replace /usr/bin/perl "${perl}/bin/perl"
|
||||
substituteInPlace src/lib/Gitolite/Setup.pm \
|
||||
--replace hostname "${nettools}/bin/hostname"
|
||||
substituteInPlace src/commands/sskm \
|
||||
--replace /bin/rm "${coreutils}/bin/rm"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user