Ooops, over-simplified

svn path=/nixpkgs/trunk/; revision=28647
This commit is contained in:
Marco Maggesi 2011-08-17 16:52:38 +00:00
parent 6c7f80ad83
commit 8db5491040

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel, perl }: { stdenv, fetchurl, kernel, perl, makeWrapper }:
assert stdenv.isLinux; assert stdenv.isLinux;
@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "c8243c9a7a215d4fc4e8f2199045711cf711a6f2e0b39a94413478ffae110eac"; sha256 = "c8243c9a7a215d4fc4e8f2199045711cf711a6f2e0b39a94413478ffae110eac";
}; };
buildInputs = [ perl ]; buildInputs = [ perl makeWrapper ];
preConfigure = '' preConfigure = ''
configureFlagsArray=( configureFlagsArray=(
@ -20,6 +20,13 @@ stdenv.mkDerivation {
) )
''; '';
postInstall = ''
for prog in "$out/bin/"*
do
wrapProgram "$prog" --prefix LD_LIBRARY_PATH ":" "$out/lib"
done
'';
meta = { meta = {
description = "Berkeley Lab Checkpoint/Restart for Linux (BLCR)"; description = "Berkeley Lab Checkpoint/Restart for Linux (BLCR)";
homepage = https://ftg.lbl.gov/projects/CheckpointRestart/; homepage = https://ftg.lbl.gov/projects/CheckpointRestart/;