lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 43 lines 1.2 kB view raw
1{ stdenv, fetchurl, kernel, perl, makeWrapper }: 2 3# BLCR version 0.8.6 should works with linux kernel up to version 3.17.x 4 5assert builtins.compareVersions "3.18" kernel.version == 1; 6 7stdenv.mkDerivation { 8 name = "blcr_${kernel.version}-0.8.6pre4"; 9 10 src = fetchurl { 11 url = https://upc-bugs.lbl.gov/blcr-dist/blcr-0.8.6_b4.tar.gz; 12 sha256 = "1a3gdhdnmk592jc652szxgfz8rjd8dax5jwxfsypiqx5lgkj3m21"; 13 }; 14 15 buildInputs = [ perl makeWrapper ]; 16 17 hardeningDisable = [ "pic" ]; 18 19 preConfigure = '' 20 configureFlagsArray=( 21 --with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build 22 --with-kmod-dir=$out/lib/modules/${kernel.modDirVersion} 23 --with-system-map=${kernel}/System.map 24 ) 25 ''; 26 27 postInstall = '' 28 for prog in "$out/bin/"* 29 do 30 wrapProgram "$prog" --prefix LD_LIBRARY_PATH ":" "$out/lib" 31 done 32 ''; 33 34 meta = { 35 description = "Berkeley Lab Checkpoint/Restart for Linux (BLCR)"; 36 homepage = https://ftg.lbl.gov/projects/CheckpointRestart/; 37 license = stdenv.lib.licenses.gpl2; 38 platforms = stdenv.lib.platforms.linux; 39 maintainers = with stdenv.lib.maintainers; [ 40 z77z 41 ]; 42 }; 43}