kanif: fix build (#388351)
Co-authored-by: bzizou <Bruno.Bzeznik@univ-grenoble-alpes.fr>
This commit is contained in:
@@ -15,11 +15,18 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "3f0c549428dfe88457c1db293cfac2a22b203f872904c3abf372651ac12e5879";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl
|
||||
taktuk
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace ./kanif --replace "/usr/bin/perl" "${perl}/bin/perl"
|
||||
substituteInPlace ./kanif --replace '$taktuk_command = "taktuk";' '$taktuk_command = "${taktuk}/bin/taktuk";'
|
||||
substituteInPlace ./kanif --replace-fail "/usr/bin/perl" "${perl}/bin/perl"
|
||||
substituteInPlace ./kanif --replace-fail '$taktuk_command = "taktuk";' '$taktuk_command = "${taktuk}/bin/taktuk";'
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
description = "Cluster management and administration swiss army knife";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user