diff options
author | Tom Bereknyei <tom@rebelliondefense.com> | 2020-04-26 17:32:45 -0400 |
---|---|---|
committer | Tom Bereknyei <tom@rebelliondefense.com> | 2020-04-26 17:32:45 -0400 |
commit | bba6c109fe963464c2260483ffdaea76f33fa414 (patch) | |
tree | ac287b4d4d458ad86021134e4dbbb2c57b8730e6 | |
parent | c351f2877ccc24e02bf46b446f01f19f1b4e34cf (diff) | |
download | nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar.gz nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar.bz2 nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar.lz nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar.xz nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.tar.zst nixpkgs-bba6c109fe963464c2260483ffdaea76f33fa414.zip |
torque: substitute /bin/cp
-rw-r--r-- | pkgs/servers/computing/torque/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/computing/torque/default.nix b/pkgs/servers/computing/torque/default.nix index 37c8d32ab6a..0941ca96922 100644 --- a/pkgs/servers/computing/torque/default.nix +++ b/pkgs/servers/computing/torque/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, openssl, flex, bison, pkgconfig, groff, libxml2, utillinux -, file, libtool, which, boost, autoreconfHook +, coreutils, file, libtool, which, boost, autoreconfHook }: stdenv.mkDerivation rec { @@ -32,6 +32,10 @@ stdenv.mkDerivation rec { --replace "contrib/init.d contrib/systemd" "" substituteInPlace src/cmds/Makefile.am \ --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 = '' |