···48invalid identifiers in the Nix language. The issue of how to deal with these
49rare corner cases is currently unresolved.)
5051-Haskell packages who's Nix name (second column) begins with a `haskell-` prefix
52are packages that provide a library whereas packages without that prefix
53provide just executables. Libraries may provide executables too, though: the
54package `haskell-pandoc`, for example, installs both a library and an
···48invalid identifiers in the Nix language. The issue of how to deal with these
49rare corner cases is currently unresolved.)
5051+Haskell packages whose Nix name (second column) begins with a `haskell-` prefix
52are packages that provide a library whereas packages without that prefix
53provide just executables. Libraries may provide executables too, though: the
54package `haskell-pandoc`, for example, installs both a library and an
···1920 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
2122- NIX_CFLAGS_COMPILE = "-fpermissive " + # fix build with newer gcc versions
23- "-std=c++11"; # fix build with glm >= 0.9.6.0
2425 meta = with stdenv.lib; {
26 homepage = http://gource.io/;
···36 Mercurial and Bazaar and SVN. Gource can also parse logs produced
37 by several third party tools for CVS repositories.
38 '';
39- platforms = platforms.linux;
40 maintainers = with maintainers; [ pSub ];
41 };
42}
···1920 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
2122+ enableParallelBuilding = true;
02324 meta = with stdenv.lib; {
25 homepage = http://gource.io/;
···35 Mercurial and Bazaar and SVN. Gource can also parse logs produced
36 by several third party tools for CVS repositories.
37 '';
38+ platforms = platforms.unix;
39 maintainers = with maintainers; [ pSub ];
40 };
41}
+28
pkgs/data/fonts/iosevka/bin.nix
···0000000000000000000000000000
···1+{ stdenv, fetchzip }:
2+3+let
4+ version = "1.13.3";
5+in fetchzip rec {
6+ name = "iosevka-bin-${version}";
7+8+ url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
9+10+ postFetch = ''
11+ mkdir -p $out/share/fonts
12+ unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
13+ '';
14+15+ sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4";
16+17+ meta = with stdenv.lib; {
18+ homepage = https://be5invis.github.io/Iosevka/;
19+ downloadPage = "https://github.com/be5invis/Iosevka/releases";
20+ description = ''
21+ Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
22+ Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
23+ '';
24+ license = licenses.ofl;
25+ platforms = platforms.all;
26+ maintainers = [ maintainers.cstrahan ];
27+ };
28+}
···24let
25 src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
260000027 # Used when creating a version-suffixed symlink of libLLVM.dylib
28 shortVersion = with stdenv.lib;
29 concatStringsSep "." (take 2 (splitString "." release_version));
···81 substituteInPlace lib/esan/esan_sideline_linux.cpp \
82 --replace 'struct sigaltstack' 'stack_t'
83 )
0084 '';
8586 # hacky fix: created binaries need to be run before installation
···24let
25 src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
2627+ aarch64Patch = fetchpatch {
28+ url = https://reviews.llvm.org/file/data/2oqw5rhhklsapbjrhlpd/PHID-FILE-lvo4fcs6hjvkxb5wneg2/D40423.diff;
29+ sha256 = "0b0h7n7lxw33pn2j061hm9050zn263gmiig937g5cmcvjimxlybb";
30+ };
31+32 # Used when creating a version-suffixed symlink of libLLVM.dylib
33 shortVersion = with stdenv.lib;
34 concatStringsSep "." (take 2 (splitString "." release_version));
···86 substituteInPlace lib/esan/esan_sideline_linux.cpp \
87 --replace 'struct sigaltstack' 'stack_t'
88 )
89+ '' + stdenv.lib.optionalString stdenv.isAarch64 ''
90+ patch -p0 < ${aarch64Patch}
91 '';
9293 # hacky fix: created binaries need to be run before installation
+7
pkgs/development/compilers/llvm/5/llvm.nix
···24let
25 src = fetch "llvm" "1nin64vz21hyng6jr19knxipvggaqlkl2l9jpd5czbc4c2pcnpg3";
260000027 # Used when creating a version-suffixed symlink of libLLVM.dylib
28 shortVersion = with stdenv.lib;
29 concatStringsSep "." (take 2 (splitString "." release_version));
···7576 # Revert compiler-rt commit that makes codesign mandatory
77 patch -p1 -i ${./compiler-rt-codesign.patch} -d projects/compiler-rt
0078 '';
7980 # hacky fix: created binaries need to be run before installation
···24let
25 src = fetch "llvm" "1nin64vz21hyng6jr19knxipvggaqlkl2l9jpd5czbc4c2pcnpg3";
2627+ aarch64Patch = fetchpatch {
28+ url = https://reviews.llvm.org/file/data/2oqw5rhhklsapbjrhlpd/PHID-FILE-lvo4fcs6hjvkxb5wneg2/D40423.diff;
29+ sha256 = "0b0h7n7lxw33pn2j061hm9050zn263gmiig937g5cmcvjimxlybb";
30+ };
31+32 # Used when creating a version-suffixed symlink of libLLVM.dylib
33 shortVersion = with stdenv.lib;
34 concatStringsSep "." (take 2 (splitString "." release_version));
···8081 # Revert compiler-rt commit that makes codesign mandatory
82 patch -p1 -i ${./compiler-rt-codesign.patch} -d projects/compiler-rt
83+ '' + stdenv.lib.optionalString stdenv.isAarch64 ''
84+ patch -p0 < ${aarch64Patch}
85 '';
8687 # hacky fix: created binaries need to be run before installation
···1-diff --git a/include/FTTextureGlyph.h b/include/FTTextureGlyph.h
2-index c263f72..8959cb3 100755
3---- a/include/FTTextureGlyph.h
4-+++ b/include/FTTextureGlyph.h
5-@@ -52,7 +52,7 @@ class FTGL_EXPORT FTTextureGlyph : public FTGlyph
6- * Reset the currently active texture to zero to get into a known state before
7- * drawing a string. This is to get round possible threading issues.
8- */
9-- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
10-+ static void ResetActiveTexture(){ activeTextureID = 0;}
11-12- private:
13- /**
···0000000000000
+4-1
pkgs/development/libraries/glew/default.nix
···1920 patchPhase = ''
21 sed -i 's|lib64|lib|' config/Makefile.linux
022 ${optionalString (hostPlatform != buildPlatform) ''
23- sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
24 ''}
25 '';
26···42 makeFlags = [
43 "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
44 ];
004546 meta = with stdenv.lib; {
47 description = "An OpenGL extension loading library for C(++)";
···1314 nativeBuildInputs = [ bison flex libtool which ];
1516+ # Makefile(.in) contains "clientparse.c clientparse.h: clientparse.y" which
17+ # causes bison to run twice, and break the build when this happens in
18+ # parallel. Test with "make -j clientparse.c clientparse.h". The error
19+ # message may be "mv: cannot move 'y.tab.c' to 'clientparse.c'".
20+ enableParallelBuilding = false;
2122 patchPhase = "patch -p0 < ${./buildfix.diff}";
23 configureFlags = [