mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #86083 from tomberek/torque/cp
This commit is contained in:
commit
aac4c8589c
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, openssl, flex, bison, pkgconfig, groff, libxml2, utillinux
|
{ stdenv, fetchFromGitHub, openssl, flex, bison, pkgconfig, groff, libxml2, utillinux
|
||||||
, file, libtool, which, boost, autoreconfHook
|
, coreutils, file, libtool, which, boost, autoreconfHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "contrib/init.d contrib/systemd" ""
|
--replace "contrib/init.d contrib/systemd" ""
|
||||||
substituteInPlace src/cmds/Makefile.am \
|
substituteInPlace src/cmds/Makefile.am \
|
||||||
--replace "/etc/" "$out/etc/"
|
--replace "/etc/" "$out/etc/"
|
||||||
|
substituteInPlace src/mom_rcp/pathnames.h \
|
||||||
|
--replace /bin/cp ${coreutils}/bin/cp
|
||||||
|
substituteInPlace src/resmom/requests.c \
|
||||||
|
--replace /bin/cp ${coreutils}/bin/cp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user