Commit Graph
100 Commits
Author SHA1 Message Date
Dmitry Kalinkin 3ebad47b8a pyslurm: bump to unbreak
Fixes: bd9512f217 ('slurm: 17.02.6 -> 17.02.9 for CVE-2017-15566')
(cherry picked from commit e5aa7467d4cb3750816a3673cf6c7fac138de111)
2018-01-09 11:57:35 -05:00
Dmitry Kalinkin 21db6f6af1 mupdf: enable on darwin 2018-01-01 11:53:40 +00:00
Dmitry Kalinkin 6d9769663d cc-wrapper: allow compilers to specify unsupported hardening modes
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
2017-12-30 12:23:25 -05:00
Dmitry Kalinkin 9adb3f8e11 motion: 4.0.1 -> 4.1.1 2017-12-30 00:17:17 -05:00
Dmitry Kalinkin e272f56f93 rivet: 2.5.4 -> 2.6.0 2017-12-23 18:13:03 -05:00
Dmitry Kalinkin 9e69322761 yoda: 1.6.7 -> 1.7.0 2017-12-23 18:12:34 -05:00
Dmitry Kalinkin 6f25309122 lhapdf: 6.2.0 -> 6.2.1 2017-12-23 17:48:41 -05:00
Dmitry Kalinkin 77b1803830 dblatex: 0.3.7 -> 0.3.10, fixes for the new texlive 2017-12-22 19:55:40 -05:00
Dmitry Kalinkin cb059d63fd ipfs: 0.4.11 -> 0.4.13 2017-11-18 06:44:08 +03:00
Dmitry Kalinkin 2f1816de5b fastjet: 3.2.0 -> 3.3.0 2017-11-17 16:23:42 -05:00
Dmitry Kalinkin 5b42c6f196 texlive: update schemes list 2017-10-30 01:07:51 -04:00
Dmitry Kalinkin ba3c9df01a texlive: fix evaluation on Nix 1.11
The problem was in builtins.partition call. I've tried to rewrite it with
builtins.foldl', but that doesn't help. However replacing it with a pair of
builtins.filter calls works.

diff --git a/lib/lists.nix b/lib/lists.nix
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -242,10 +242,10 @@ rec {
        => { right = [ 5 3 4 ]; wrong = [ 1 2 ]; }
   */
   partition = builtins.partition or (pred:
-    foldr (h: t:
+    builtins.foldl' (t: h:
       if pred h
-      then { right = [h] ++ t.right; wrong = t.wrong; }
-      else { right = t.right; wrong = [h] ++ t.wrong; }
+      then { right = t.right ++ [h]; wrong = t.wrong; }
+      else { right = t.right; wrong = t.wrong ++ [h]; }
     ) { right = []; wrong = []; });

   /* Merges two lists of the same size together. If the sizes aren't the same
2017-10-30 00:54:48 -04:00
Dmitry Kalinkin a3bc5d6ae6 rootpy: 0.9.0 -> 1.0.1 2017-10-25 14:05:03 -04:00
Dmitry Kalinkin eefa8d4191 texlive: 2016 -> 2017
fmtutil has started to report number of failed formats in its return code. One
could regenerate the share/texmf/web2c/fmtutil.cnf to only include available
.ini files, but simpler solution is to ignore the return code.
2017-10-25 02:38:31 -04:00
Dmitry Kalinkin 31b2e70f8d root_numpy: init at 4.7.3 2017-10-25 00:55:29 -04:00
Dmitry Kalinkin 8b56d8e621 Revert "vc: Broken on i686"
Not broken

This reverts commit c58c1f3b50.
2017-10-25 00:40:31 +03:00
Dmitry Kalinkin 562f8313e0 ipget: init at 0.2.5 2017-10-22 21:46:40 -04:00
Dmitry Kalinkin ef2fc289a6 root: 6.10.04 -> 6.10.08 2017-10-20 00:59:21 -04:00
Dmitry Kalinkin 4d85689cf3 xxHash: init at 0.6.3.20171018 2017-10-20 00:59:15 -04:00
Dmitry Kalinkin 19efa65f59 texlive: fix after dependency update 2017-10-19 00:25:24 -04:00
Dmitry Kalinkin 10cc95e154 proot: 5.1.0 -> 5.1.0.20171015 2017-10-17 22:54:01 -04:00
Dmitry Kalinkin e53785ad95 proot: static by default 2017-10-16 23:00:35 -04:00
Dmitry Kalinkin de1480e079 pythonPackages.simanneal: init at 0.4.1 2017-09-23 09:58:21 -04:00
Dmitry Kalinkin 5ae7445530 coreutils: remove conflicting _FORTIFY_SOURCE definition
Originally this was introduced in 055e646b ('coreutils: Guard against compiler not supporting __builtin_stpncpy_chk') four years ago. Right now this doesn't seem to serve any purpose and it conflicts with the hardening flags:

    <command line>:2:9: warning: '_FORTIFY_SOURCE' macro redefined [-Wmacro-redefined]
    #define _FORTIFY_SOURCE 2
            ^
    <command line>:1:9: note: previous definition is here
    #define _FORTIFY_SOURCE 0
            ^
    1 warning generated.
2017-09-19 04:59:40 -04:00
Dmitry Kalinkin b6a1e439e1 documentation: use modern Firefox version in example 2017-09-01 14:03:28 -04:00
Dmitry Kalinkin 26068822d8 documentation: fix some spelling 2017-09-01 13:38:07 -04:00
Dmitry Kalinkin 59b525e559 sherpa: 2.2.1 -> 2.2.4 2017-08-31 14:32:05 -04:00
Dmitry Kalinkin 13d628d2d3 dia: 0.97.3 -> 0.97.3.20170622 2017-08-31 02:50:35 -04:00
Dmitry Kalinkin 42a4aa1e83 dia: undo persistence wrapper
The wrapper was introduced as workaround for #1691. The original bug was
present in 0.97.2 but was fixed in 0.97.3.
2017-08-30 21:19:40 -04:00
Dmitry Kalinkin 9c501a05a6 dia: mark as working on darwin 2017-08-30 20:54:58 -04:00
Dmitry Kalinkin 4d3c396181 python.pkgs.numpy: fix patch 2017-08-29 20:22:05 +02:00
Dmitry Kalinkin 8b8e363979 hdfview: init at 2.14
hdf_java: init at 3.3.2
2017-08-22 18:31:39 -04:00
Dmitry Kalinkin fd22d671ec root: 6.10.02 -> 6.10.04 2017-08-22 04:00:39 +02:00
Dmitry Kalinkin ae8eff8b7b lhapdf: update hash 2017-07-17 11:03:47 -04:00
Dmitry Kalinkin 4c0e86ba67 fastnlo: 2.3.1pre-2212 -> 2.3.1pre-2402 2017-07-17 04:16:43 -04:00
Dmitry Kalinkin 6bcc20361f herwig: 7.0.4 -> 7.1.1, thepeg: 2.0.3 -> 2.1.1 2017-07-17 00:20:59 -04:00
Dmitry Kalinkin 459e3864d2 root: 6.10.00 -> 6.10.02 2017-07-14 04:40:27 -04:00
Dmitry Kalinkin c7692b1839 lhapdf: update PDF sets 2017-07-13 23:39:48 -04:00
Dmitry Kalinkin 6778866a7a lhapdf: 6.1.6 -> 6.2.0 2017-07-13 23:38:57 -04:00
Dmitry Kalinkin bc2c576132 yoda: 1.6.6 -> 1.6.7 2017-07-13 19:04:02 -04:00
Dmitry Kalinkin fabbd62f75 rivet: 2.5.3 -> 2.5.4 2017-07-13 19:03:45 -04:00
Dmitry Kalinkin ba8fe290ec slurm: add alias attribute for backward compatibility
Fixes: b917a8760 ('slurm: 15-08-5-1 -> 17.02.6, slurm-llnl -> slurm')
2017-07-13 18:55:45 -04:00
Dmitry Kalinkin 00d73c4240 python2Packages.pyslurm: init 2017-07-13 03:13:05 -04:00
Dmitry Kalinkin b917a8760e slurm: 15-08-5-1 -> 17.02.6, slurm-llnl -> slurm 2017-07-13 03:13:05 -04:00
Dmitry Kalinkin fc2819d998 munge: 0.5.11 -> 0.5.12, fix for Linux 2017-07-12 22:11:09 -04:00
Dmitry Kalinkin ada12f46dc root: 6.09.02 -> 6.10.00
also workaround #26197
2017-06-24 13:38:25 -04:00
Dmitry Kalinkin 6e95e2a161 cernlib: init at 2006 2017-05-28 18:51:16 -04:00
Dmitry Kalinkin 467a91d9ee nixStable: remove old patches
https://github.com/NixOS/nix/commit/773313591f167888718228bf5ada44a81f3fa32e
https://github.com/NixOS/nix/commit/ad9e6037a4558c6fd5a2fcaf9d81a4725a1dd82f
2017-05-23 17:32:30 -04:00
Dmitry Kalinkin c163b782bc openafs: 1.6.20 -> 1.6.20.2 2017-05-14 12:50:47 -04:00
Dmitry Kalinkin a7b4b84048 sherpa: fix for llvm 4 2017-05-02 00:54:42 -04:00
Dmitry Kalinkin be9c0e8b7e root: 6.08.02 -> 6.09.02
This also fixes breakage on darwin due to LLVM4.0 migration.

I had to enable opengl because otherwise macOS build is broken.
See root commit 23f8871c7 ('Do not include OpenGL directly but use our
TGLIncludes for that purpose.')

I've enabled xml because TUnfold depends on it.
2017-04-26 16:34:14 -04:00
Dmitry Kalinkin 31a0f93783 yoda: apply patches from tip 2017-04-06 12:27:31 -04:00
Dmitry Kalinkin 61ae20e085 rivet: move ghostscript to propagatedBuildInputs (fixes runtime) 2017-04-04 22:37:35 -04:00
Dmitry Kalinkin a07d334bf4 yoda: refactor root support to be more explicit 2017-04-03 03:48:22 -04:00
Dmitry Kalinkin 23f7087dc5 yoda: 1.6.5 -> 1.6.6, provide version with ROOT 2017-04-02 23:26:05 -04:00
Dmitry Kalinkin 7035325c62 citrix-receiver: fix wrapper, direct dl url, $PWD needs escaping
(edited by @obadz, closes #24320)
2017-03-26 14:28:54 +01:00
Dmitry Kalinkin 212340bc6b jekyll: set proper permissions on new site
Fixes #22858
2017-03-03 23:05:37 -05:00
Dmitry Kalinkin 3400c3575e jekyll: add gems needed to run default site 2017-03-03 21:47:59 -05:00
Dmitry Kalinkin 0832addf67 jekyll: fix 'jekyll new'
Original error:

$ nix-shell -p jekyll --command "jekyll new test"
Running bundle install in /private/tmp/test...
  Bundler: There was an error while trying to write to
  Bundler:
`/nix/store/l67429rhvrmr7c4c1msb7s8zjq4fx7ad-gemfile-and-lockfile/.bundle/config`.
  Bundler: It is likely that you need to grant write permissions for
that path.
2017-03-03 21:47:58 -05:00
Dmitry Kalinkin 171130e09a jekyll: 3.0.1 -> 3.4.1 2017-03-03 20:08:53 -05:00
Dmitry Kalinkin cb1b08a871 herwig: 7.0.3 -> 7.0.4 2017-03-01 22:53:41 -05:00
Dmitry Kalinkin ac51822ee8 pythonPackages.python-sybase: init at 0.40pre2 2017-03-01 22:53:41 -05:00
Dmitry Kalinkin 2198a7c747 pythonPackages.graphviz: init at 0.5.2 2017-03-01 22:53:41 -05:00
Dmitry Kalinkin e60805061b pythonPackages.pyhepmc: init at 0.5.0 2017-03-01 22:53:40 -05:00
Dmitry Kalinkin 82d3f926a9 fakeroot: add darwin support
replace utillinux with getopt

Fixes #22773
2017-03-01 22:33:33 -05:00
Dmitry Kalinkin fa8afc05c0 pythonPackages.rootpy: 0.8.3 -> 0.9.0 2017-02-27 15:40:01 -05:00
Dmitry Kalinkin 0a44f259b5 python27Packages.taskcoach: mark as broken on darwin 2017-02-16 18:48:09 -05:00
Dmitry Kalinkin c2a5733654 wxPython: fix on darwin 2017-02-16 18:48:08 -05:00
Dmitry Kalinkin f7173a9187 fastnlo: fix yoda interface 2017-01-09 02:24:27 -05:00
Dmitry Kalinkin bbc3082ebd mcgrid: pkgconfig is the only way to locate mcgrid 2017-01-08 21:16:52 -05:00
Dmitry Kalinkin 44a78fb0da rivet: fix runtime on darwin 2017-01-07 03:00:04 -05:00
Dmitry Kalinkin 0f71012fe6 sherpa: add useful dependencies 2017-01-07 01:36:51 -05:00
Dmitry Kalinkin 2f23d60323 sherpa: fix sqlite dependency 2017-01-04 04:59:06 +00:00
Dmitry Kalinkin c7bcb99ff2 root: 6.04.18 -> 6.08.02
This relies on
e9d60c56 ('libc++3.7: fix to use with modern compilers')
2017-01-01 17:52:03 -05:00
Dmitry Kalinkin f37c7e01d5 youcompleteme: fix compilation
1) Replace --system-libclang with an explicit setting for the path to
nix libclang 3.9. Otherwise it will find system's libclang on darwin.

2) Remove clang/llvm from build inputs. This prevents ycm itself from
being compiled by clang 3.9. stdenv's standard compiler (gcc or
clang 3.7) will suffice.

3) Enable C++11 again as #16212 is caused by incopatibility between
clang 3.9 and libc++ 3.7, but we don't compile YCM with clang 3.9, so
this is not needed anymore.
2017-01-01 17:35:16 -05:00
Dmitry Kalinkin e9d60c5636 libc++3.7: fix to use with modern compilers
Modern compiler will issue a following error whenever '#include <string>'
is done:

/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1938:44:
error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
                                           ^
/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1326:40:
note: previous declaration is here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
                                       ^
1 error generated.

This happens because modern clang is more strict about checking
exception specification for forward declaration and definition.

http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?r1=242056&r2=242623&diff_format=h
2016-12-30 16:16:14 -05:00
Dmitry Kalinkin 2dd8aea4bb mcgrid: init at 2.0.2 2016-12-30 14:27:56 -05:00
Dmitry Kalinkin 8fb6895614 sherpa: init at 2.2.1 2016-12-30 14:27:55 -05:00
Dmitry Kalinkin 3c3e2dfd0a fastnlo: init at 2.3.1pre-2212 2016-12-30 14:27:55 -05:00
Dmitry Kalinkin 9a5e34faca kakoune: 2016-12-10 -> 2016-12-30, fix on Darwin 2016-12-30 14:27:49 -05:00
Dmitry Kalinkin 456cf826e0 rivet: 2.5.2 -> 2.5.3 2016-12-30 12:21:58 -05:00
Dmitry Kalinkin 9434ec5441 root: fix environment setup
1) s/envHook/postHook/
2) patch to not set $p that fixes nested ```nix-shell -p root``` calls
2016-10-29 14:47:32 -04:00
Dmitry Kalinkin 46dd9dfc52 numpy: enable numpy.distutils patch only if it's also in distutils
Fixes: 095095c ('python: add C++ compiler support for distutils')
2016-10-26 21:29:55 +00:00
Dmitry Kalinkin 5994c12470 octave: mesa and libX11 are not used on darwin 2016-10-24 17:27:10 -04:00
Dmitry Kalinkin f9b2f9bb92 octave: use openblasCompat on darwin 2016-10-24 17:27:07 -04:00
Dmitry Kalinkin a8eb57d953 openblas: silence warnings on darwin
Without this one gets a lot of build time warnings like:

ld: warning: object file (/tmp/strip.2OzFn8) was built for newer OSX
version (10.9) than being linked (10.7)
2016-10-23 21:19:14 -04:00
Dmitry Kalinkin e35ddbec13 fltk: fix on darwin
Compiling Fl_cocoa.mm...
Fl_cocoa.mm:4079:30: error: use of undeclared identifier 'version'; did
you mean 'Fl::version'?
    NSOperatingSystemVersion version = [[NSProcessInfo processInfo]
operatingSystemVersion];
                             ^~~~~~~
                             Fl::version
../FL/Fl.H:262:17: note: 'Fl::version' declared here
  static double version();
                ^
Fl_cocoa.mm:4079:5: error: use of undeclared identifier
'NSOperatingSystemVersion'
    NSOperatingSystemVersion version = [[NSProcessInfo processInfo]
operatingSystemVersion];
    ^
Fl_cocoa.mm:4080:9: error: use of undeclared identifier 'version'
    M = version.majorVersion;
        ^
Fl_cocoa.mm:4081:9: error: use of undeclared identifier 'version'
    m = version.minorVersion;
        ^
Fl_cocoa.mm:4082:9: error: use of undeclared identifier 'version'
    b = version.patchVersion;
        ^
5 errors generated.
2016-10-23 21:19:14 -04:00
Dmitry Kalinkin ef96b48659 root: s/python/python2/ 2016-10-21 15:47:38 -04:00
Dmitry Kalinkin 59a8aff8e6 root: add veprbl to maintainers 2016-10-21 13:30:30 -04:00
Dmitry Kalinkin b4e3e7b752 add veprbl to maintainers 2016-10-21 13:29:57 -04:00
Dmitry Kalinkin 59a13d404f lhapdf,rivet: s/python/python2/ 2016-10-20 21:01:55 -04:00
Dmitry Kalinkin 95237f828b python: fix 'nproc not found' on darwin
Fixes: 58b862b75 ('darwin purity: pythonPackages.pandas')
Cc: @pikajude
2016-10-19 19:29:17 -04:00
Dmitry Kalinkin 1feb89897e nlojet++: init at 4.1.3 2016-10-19 02:17:16 -04:00
Dmitry Kalinkin 3324d8dc72 sacrifice: init at 1.0.0 2016-10-19 02:17:16 -04:00
Dmitry Kalinkin 6aa5dc11f1 pythia: init at 8.219 2016-10-19 02:17:15 -04:00
Dmitry Kalinkin fd95f8f824 herwig: init a 7.0.3
thepeg: init at 2.0.3
2016-10-19 02:17:15 -04:00
Dmitry Kalinkin 1c855085cd lhapdf: init at 6.1.6 2016-10-19 02:17:15 -04:00
Dmitry Kalinkin 334b9e2a40 rivet: init at 2.5.0 2016-10-19 02:17:02 -04:00
Dmitry Kalinkin 571d1111fe yoda: init at 1.6.3 2016-10-18 06:52:31 -04:00
Dmitry Kalinkin 75ed9ac975 hepmc: init at 2.06.09 2016-10-18 06:51:59 -04:00