···62 if [ ! -d "\$MDIR/pcsc" ]; then
63 ${coreutils}/bin/mkdir -p \$MDIR/pcsc
64 fi
65- if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${pcsclite}/lib/libpcsclite.so.1" ]; then
66- ${coreutils}/bin/ln -sf "${pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1"
67 fi
686970 if [ -e "\$MDIR/rup/rupremote.lst" ]; then
71 for i in \`${coreutils}/bin/cat "\$MDIR/rup/rupremote.lst"\`; do
72- ${coreutils}/bin/mv "\$MDIR/rup/"\`${coreutils}/bin/basename \$i\` "\$MDIR/\$i"
73 done
74 rm -r "\$MDIR/rup/rupremote.lst"
75 fi
···62 if [ ! -d "\$MDIR/pcsc" ]; then
63 ${coreutils}/bin/mkdir -p \$MDIR/pcsc
64 fi
65+ if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" ]; then
66+ ${coreutils}/bin/ln -sf "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1"
67 fi
686970 if [ -e "\$MDIR/rup/rupremote.lst" ]; then
71 for i in \`${coreutils}/bin/cat "\$MDIR/rup/rupremote.lst"\`; do
72+ ${coreutils}/bin/mv "\$MDIR/rup/"\`${coreutils}/bin/basename \$i\` "\$MDIR/\$i"
73 done
74 rm -r "\$MDIR/rup/rupremote.lst"
75 fi
···1-{stdenv, fetchFromGitHub, bash, which, m4, python, bison, flex, llvmPackages,
2testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
3}:
4···30 flex
31 llvm
32 llvmPackages.clang-unwrapped # we need to link against libclang, so we need the unwrapped
000000033 ];
3435 postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
···1+{stdenv, fetchFromGitHub, fetchpatch, bash, which, m4, python, bison, flex, llvmPackages,
2testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
3}:
4···30 flex
31 llvm
32 llvmPackages.clang-unwrapped # we need to link against libclang, so we need the unwrapped
33+ ];
34+35+ patches = [
36+ (fetchpatch {
37+ url = https://github.com/ispc/ispc/commit/d504641f5af9d5992e7c8f0ed42c1063a39ede5b.patch;
38+ sha256 = "192q3gyvam79469bmlwf0jpfi2y4f8hl2vgcvjngsqhvscwira0s";
39+ })
40 ];
4142 postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
···17stdenv.mkDerivation {
18 name = "lldb-${version}";
1920- src = fetch "lldb" "0m6l2ks4banfmdh7xy7l77ri85kmzavgfy81gkc4gl6wg8flrxa6";
2122 postPatch = ''
23 # Fix up various paths that assume llvm and clang are installed in the same place
···17stdenv.mkDerivation {
18 name = "lldb-${version}";
1920+ src = fetch "lldb" "05178zkyh84x32n91md6wm22lkzzrrfwa5cpmgzn0yrg3y2771bb";
2122 postPatch = ''
23 # Fix up various paths that assume llvm and clang are installed in the same place