Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1b08ec9ec41
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4d4b67b65e83
Choose a head ref

Commits on Jan 2, 2019

  1. uthash: 2.0.2 -> 2.1.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/uthash/versions
    r-ryantm committed Jan 2, 2019
    Copy the full SHA
    4e84d07 View commit details

Commits on Mar 20, 2019

  1. root5: fix build

    veprbl committed Mar 20, 2019
    Copy the full SHA
    c36f841 View commit details

Commits on Mar 21, 2019

  1. Copy the full SHA
    ea4eeb3 View commit details
  2. spirv-headers: init at 2019.1

    Ralith committed Mar 21, 2019
    Copy the full SHA
    94b2a0f View commit details
  3. Copy the full SHA
    d8d8a7a View commit details
  4. Copy the full SHA
    6066f72 View commit details
  5. Copy the full SHA
    45a6b68 View commit details
  6. Copy the full SHA
    11988d7 View commit details

Commits on Mar 22, 2019

  1. applgrid: fix build for gcc

    veprbl committed Mar 22, 2019
    Copy the full SHA
    cdab07b View commit details

Commits on Mar 29, 2019

  1. iterm2: fix build

    During iterm2's build, xcodebuild invokes $LD and passes it options such
    as -isysroot. These options are intended for the linker driver (clang),
    not for the linker directly. ld64 ($LD) does not recognize these
    options, causing iterm2's build to fail.
    
    Set $LD to $CC (clang) as intended, making iterm2's build succeed.
    strager committed Mar 29, 2019
    Copy the full SHA
    689e1ef View commit details

Commits on Mar 30, 2019

  1. electron: 4.1.1 -> 4.1.3

    Don't see 4.1.3 on the release page,
    but a misguided adventure w/npm resulted in
    pulling down this version so it's probably mid-deploy.
    dtzWill committed Mar 30, 2019
    Copy the full SHA
    c5d0da2 View commit details
  2. Copy the full SHA
    d64bac2 View commit details
  3. Copy the full SHA
    9c7e96c View commit details
  4. Copy the full SHA
    876a888 View commit details
  5. nixos/rename: drop system.nixos.{stateVersion, defaultChannel}

    Comment said to remove these before 18.09 was released :(
    worldofpeace committed Mar 30, 2019
    Copy the full SHA
    ffd2e9b View commit details
  6. Copy the full SHA
    9afeb90 View commit details
  7. vulkan-loader: remove headers

    These now live in vulkan-headers.
    Ralith committed Mar 30, 2019
    Copy the full SHA
    b115586 View commit details
  8. Merge pull request #55959 from Ralith/vulkan

    Update Vulkan packages
    infinisil authored Mar 30, 2019
    Copy the full SHA
    c1e2855 View commit details
  9. Merge pull request #53165 from r-ryantm/auto-update/uthash

    uthash: 2.0.2 -> 2.1.0
    samueldr authored Mar 30, 2019
    Copy the full SHA
    6ed86cb View commit details
  10. vimpager: Init at 2.06 and master (#58580)

    * vimpager: Init at 2.06 and master
    
    Adding a package vimpager-latest because the last release was 2015.
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    
    * fixup! vimpager: Init at 2.06 and master
    matthiasbeyer authored and Ma27 committed Mar 30, 2019
    Copy the full SHA
    084c864 View commit details
  11. libextractor: 1.8 -> 1.9 (#58293)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libextractor/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    a44b51d View commit details
  12. libtermkey: 0.20 -> 0.22 (#58308)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libtermkey/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    80aaa75 View commit details
  13. hplip: add missing dependency (#58515)

    Graphical programs (e.g. hp-setup) error with:
    
    error: No module named enum
    
    This adds the enum module which fixes the error
    hhm0 authored and xeji committed Mar 30, 2019
    Copy the full SHA
    edb3231 View commit details
  14. minikube: 0.35.0 -> 1.0.0 (#58475)

    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester authored and xeji committed Mar 30, 2019
    Copy the full SHA
    fd3fdc3 View commit details
  15. spideroak: 7.1.0 -> 7.5.0 (#58450)

    As of version 7.3.0, Spideroak no longer supports 32 bit on Linux.
    nathantalewis authored and xeji committed Mar 30, 2019
    Copy the full SHA
    ac8224a View commit details
  16. gnunet: 0.10.1 -> 0.11.0 (#58100)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/gnunet/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    dd4e171 View commit details
  17. sabnzbd: 2.3.7 -> 2.3.8 (#58357)

    rembo10 authored and xeji committed Mar 30, 2019
    Copy the full SHA
    62d0aec View commit details
  18. cflow: 1.5 -> 1.6 (#58018)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cflow/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    c36f0fa View commit details
  19. bowtie2: 2.3.4.3 -> 2.3.5 (#58014)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/bowtie2/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    893abe1 View commit details
  20. cvs_fast_export: 1.45 -> 1.47 (#58045)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cvs-fast-export/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    72397be View commit details
  21. cups-filters: 1.22.1 -> 1.22.2 (#58043)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cups-filters/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    043d233 View commit details
  22. airsonic: 10.1.2 -> 10.2.1 (#57702)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/airsonic/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    b6c40f1 View commit details
  23. bacula: 9.4.1 -> 9.4.2 (#58007)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/bacula/versions
    r-ryantm authored and xeji committed Mar 30, 2019
    Copy the full SHA
    69ca4df View commit details

Commits on Mar 31, 2019

  1. chromium: disable vaapi support

    this fixes playback on radeon
    
    see NixOS/nixpkgs#57837 (comment)
    bendlas committed Mar 31, 2019
    Copy the full SHA
    233e551 View commit details
  2. Merge pull request #58596 from worldofpeace/nixos-stateversion-drop

    nixos/rename: drop system.nixos.{stateVersion, defaultChannel}
    worldofpeace authored Mar 31, 2019
    Copy the full SHA
    7a8d8e9 View commit details
  3. Copy the full SHA
    ed14571 View commit details
  4. typora: 0.9.64 -> 0.9.68

    Make the wrapping happen in postFixup
    or else the wrapper is incomplete.
    That was noted in #56533
    
    Closes NixOS/nixpkgs#56533
    worldofpeace committed Mar 31, 2019
    Copy the full SHA
    f54b496 View commit details
  5. Merge pull request #36886 from veprbl/symlinkJoin_doc

    doc: mention symlinkJoin in multiple-outputs section
    veprbl authored Mar 31, 2019
    Copy the full SHA
    c6a8b56 View commit details
  6. Copy the full SHA
    ba25c93 View commit details
  7. Copy the full SHA
    3687a98 View commit details
  8. Merge pull request #58517 from strager/iterm2

    iterm2: fix build
    infinisil authored Mar 31, 2019
    Copy the full SHA
    4f25405 View commit details
  9. Merge pull request #58574 from etu/update-phpcs

    phpPackages.phpc(s|bf): 3.4.0 -> 3.4.1
    Ma27 authored Mar 31, 2019
    Copy the full SHA
    22c2284 View commit details
  10. Merge pull request #58569 from dtzWill/update/electron-2019-03-29

    electron{,_3}: minor updates
    dtzWill authored Mar 31, 2019
    Copy the full SHA
    a015041 View commit details
  11. Merge pull request #58108 from veprbl/pr/root5_fix

    root5: fix build
    veprbl authored Mar 31, 2019
    Copy the full SHA
    ea757ac View commit details
  12. Merge pull request #58601 from worldofpeace/typora/0.9.68

    typora: 0.9.64 -> 0.9.68
    worldofpeace authored Mar 31, 2019
    Copy the full SHA
    b641b4d View commit details
  13. Copy the full SHA
    4d4b67b View commit details
Showing with 507 additions and 144 deletions.
  1. +7 −0 doc/multiple-output.xml
  2. +0 −5 nixos/modules/rename.nix
  3. +2 −2 pkgs/applications/audio/lollypop/default.nix
  4. +23 −11 pkgs/applications/editors/typora/default.nix
  5. +1 −0 pkgs/applications/misc/iterm2/default.nix
  6. +1 −1 pkgs/applications/networking/browsers/chromium/common.nix
  7. +1 −1 pkgs/applications/networking/browsers/chromium/default.nix
  8. +2 −2 pkgs/applications/networking/browsers/eolie/default.nix
  9. +3 −3 pkgs/applications/networking/cluster/minikube/default.nix
  10. +2 −2 pkgs/applications/networking/p2p/gnunet/default.nix
  11. +5 −15 pkgs/applications/networking/spideroak/default.nix
  12. +2 −2 pkgs/applications/office/notes-up/default.nix
  13. +2 −2 pkgs/applications/science/biology/bowtie2/default.nix
  14. +20 −4 pkgs/applications/science/misc/root/5.nix
  15. +27 −0 pkgs/applications/science/misc/root/disable_libc_dicts_root5.patch
  16. +204 −0 pkgs/applications/science/misc/root/purify_include_paths_root5.patch
  17. +3 −3 pkgs/applications/version-management/cvs-fast-export/default.nix
  18. +3 −3 pkgs/applications/window-managers/i3/status-rust.nix
  19. +8 −11 pkgs/development/compilers/glslang/default.nix
  20. +2 −2 pkgs/development/libraries/libextractor/default.nix
  21. +2 −2 pkgs/development/libraries/libtermkey/default.nix
  22. +11 −0 pkgs/development/libraries/physics/applgrid/bad_code.patch
  23. +21 −0 pkgs/development/libraries/spirv-headers/default.nix
  24. +2 −2 pkgs/development/libraries/uthash/default.nix
  25. +3 −3 pkgs/development/libraries/vulkan-headers/default.nix
  26. +3 −7 pkgs/development/libraries/vulkan-loader/default.nix
  27. +6 −6 pkgs/development/tools/electron/3.x.nix
  28. +6 −6 pkgs/development/tools/electron/default.nix
  29. +2 −2 pkgs/development/tools/misc/cflow/default.nix
  30. +12 −25 pkgs/development/tools/spirv-tools/default.nix
  31. +3 −4 pkgs/development/tools/vulkan-validation-layers/default.nix
  32. +2 −2 pkgs/misc/cups/filters.nix
  33. +1 −0 pkgs/misc/drivers/hplip/default.nix
  34. +2 −2 pkgs/servers/misc/airsonic/default.nix
  35. +2 −2 pkgs/servers/sabnzbd/default.nix
  36. +2 −2 pkgs/tools/backup/bacula/default.nix
  37. +2 −2 pkgs/tools/graphics/vulkan-tools/default.nix
  38. +39 −0 pkgs/tools/misc/vimpager/build.nix
  39. +6 −0 pkgs/tools/misc/vimpager/default.nix
  40. +7 −0 pkgs/tools/misc/vimpager/latest.nix
  41. +49 −2 pkgs/top-level/all-packages.nix
  42. +6 −6 pkgs/top-level/php-packages.nix
7 changes: 7 additions & 0 deletions doc/multiple-output.xml
Original file line number Diff line number Diff line change
@@ -101,6 +101,13 @@
contain <varname>$outputBin</varname> and <varname>$outputLib</varname> are
also added. (See <xref linkend="multiple-output-file-type-groups" />.)
</para>

<para>
In some cases it may be desirable to combine different outputs under a
single store path. A function <literal>symlinkJoin</literal> can be used to
do this. (Note that it may negate some closure size benefits of using a
multiple-output package.)
</para>
</section>
<section xml:id="sec-multiple-outputs-">
<title>Writing a split derivation</title>
5 changes: 0 additions & 5 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,6 @@ with lib;

{
imports = [
# !!! These were renamed the other way, but got reverted later.
# !!! Drop these before 18.09 is released.
(mkRenamedOptionModule [ "system" "nixos" "stateVersion" ] [ "system" "stateVersion" ])
(mkRenamedOptionModule [ "system" "nixos" "defaultChannel" ] [ "system" "defaultChannel" ])

(mkRenamedOptionModule [ "networking" "enableRT73Firmware" ] [ "hardware" "enableRedistributableFirmware" ])
(mkRenamedOptionModule [ "networking" "enableIntel3945ABGFirmware" ] [ "hardware" "enableRedistributableFirmware" ])
(mkRenamedOptionModule [ "networking" "enableIntel2100BGFirmware" ] [ "hardware" "enableRedistributableFirmware" ])
4 changes: 2 additions & 2 deletions pkgs/applications/audio/lollypop/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
version = "1.0";
version = "1.0.3";

format = "other";
doCheck = false;
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
sha256 = "00hjxpgmhzhyjjdpm92cbbxwnc17xdhhk8svk5ih3n18yk5655fs";
sha256 = "1gjxcwl467h7011j9v4zy1j0fjlz480ibvk4akr6xwjg894jykbx";
};

nativeBuildInputs = [
34 changes: 23 additions & 11 deletions pkgs/applications/editors/typora/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,44 @@
{ stdenv, fetchurl, makeWrapper, electron_3, dpkg, gtk3, glib, gnome3, wrapGAppsHook }:
{ stdenv, fetchurl, makeWrapper, electron_3, dpkg, gtk3, glib, gsettings-desktop-schemas, wrapGAppsHook }:

stdenv.mkDerivation rec {
pname = "typora";
version = "0.9.64";
version = "0.9.68";

src = fetchurl {
url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
sha256 = "0dffydc11ys2i38gdy8080ph1xlbbzhcdcc06hyfv0dr0nf58a09";
sha256 = "09hkmnh9avzb7nc8i67vhbv6nc1v90kk88aq01mpmyibpdqp03zp";
};

nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
nativeBuildInputs = [
dpkg
makeWrapper
wrapGAppsHook
];

buildInputs = [ gtk3 glib gnome3.gsettings-desktop-schemas ];
buildInputs = [
glib
gsettings-desktop-schemas
gtk3
];

unpackPhase = "dpkg-deb -x $src .";

dontWrapGApps = true;

installPhase = ''
mkdir -p $out/bin $out/share/typora
runHook preInstall
mkdir -p $out/bin $out/share
{
cd usr
mv share/typora/resources/app/* $out/share/typora
mv share/applications $out/share
mv share/icons $out/share
mv share/doc $out/share
mv share/typora/resources/app $out/share/typora
mv share/{applications,icons,doc} $out/share/
}
runHook postInstall
'';

postFixup = ''
makeWrapper ${electron_3}/bin/electron $out/bin/typora \
--add-flags $out/share/typora \
"''${gappsWrapperArgs[@]}" \
@@ -37,7 +49,7 @@ stdenv.mkDerivation rec {
description = "A minimal Markdown reading & writing app";
homepage = https://typora.io;
license = licenses.unfree;
maintainers = with maintainers; [ jensbin ];
maintainers = with maintainers; [ jensbin worldofpeace ];
inherit (electron_3.meta) platforms;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/misc/iterm2/default.nix
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -i -e 's/CODE_SIGN_IDENTITY = "Developer ID Application"/CODE_SIGN_IDENTITY = ""/g' ./iTerm2.xcodeproj/project.pbxproj
'';
preConfigure = "LD=$CC";
makeFlagsArray = ["Deployment"];
installPhase = ''
mkdir -p "$out/Applications"
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
# package customization
, enableNaCl ? false
, enableWideVine ? false
, useVaapi ? true
, useVaapi ? false
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
, proprietaryCodecs ? true
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
, proprietaryCodecs ? true
, enablePepperFlash ? false
, enableWideVine ? false
, useVaapi ? true
, useVaapi ? false # test video on radeon, before enabling this
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, commandLineArgs ? ""
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/eolie/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

python3.pkgs.buildPythonApplication rec {
pname = "eolie";
version = "0.9.45";
version = "0.9.60";

format = "other";
doCheck = false;
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/eolie";
rev = "refs/tags/${version}";
fetchSubmodules = true;
sha256 = "0x6f2qqqxpjf28mqxs4jlrz2z8wa9nvb9h24nf8qwmzavjjbraqg";
sha256 = "1mhl7p8pwp8lqx5z15r0lx1y4mb2c1gjwy3w6041cyc4hyb91693";
};

nativeBuildInputs = [
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/minikube/default.nix
Original file line number Diff line number Diff line change
@@ -14,17 +14,17 @@ let
in buildGoPackage rec {
pname = "minikube";
name = "${pname}-${version}";
version = "0.35.0";
version = "1.0.0";

kubernetesVersion = "1.13.4";
kubernetesVersion = "1.14.0";

goPackagePath = "k8s.io/minikube";

src = fetchFromGitHub {
owner = "kubernetes";
repo = "minikube";
rev = "v${version}";
sha256 = "1qb342zs50sdfvfb8vbn7vrx11qqjy1hw518c053s7p34ljb24qd";
sha256 = "170iy0h27gkz2hg485rnawdw069gxwgkwsjmfj5yag2kkgl7gxa3";
};

buildInputs = [ go-bindata makeWrapper gpgme ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin vmnet;
4 changes: 2 additions & 2 deletions pkgs/applications/networking/p2p/gnunet/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@
, libpulseaudio, libopus, libogg }:

stdenv.mkDerivation rec {
name = "gnunet-0.10.1";
name = "gnunet-0.11.0";

src = fetchurl {
url = "mirror://gnu/gnunet/${name}.tar.gz";
sha256 = "04wxzm3wkgqbn42b8ksr4cx6m5cckyig5cls1adh0nwdczwvnp7n";
sha256 = "16kydkrjlf2vxflgls46bwaf9kjczf621p456q0qlphd7cy7lixp";
};

buildInputs = [
20 changes: 5 additions & 15 deletions pkgs/applications/networking/spideroak/default.nix
Original file line number Diff line number Diff line change
@@ -4,31 +4,21 @@
}:

let
arch = if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
else throw "Spideroak client for: ${stdenv.hostPlatform.system} not supported!";

interpreter = if stdenv.hostPlatform.system == "x86_64-linux" then "ld-linux-x86-64.so.2"
else if stdenv.hostPlatform.system == "i686-linux" then "ld-linux.so.2"
else throw "Spideroak client for: ${stdenv.hostPlatform.system} not supported!";

sha256 = if stdenv.hostPlatform.system == "x86_64-linux" then "a88e5a8fe4a565ac500668bd53cf5784752d7c9253304ddce39ee7b01d078533"
else if stdenv.hostPlatform.system == "i686-linux" then "668f3b83a974a3877d16c8743c233a427ea0a44ab84b7f9aec19a2995db66c16"
else throw "Spideroak client for: ${stdenv.hostPlatform.system} not supported!";
sha256 = "6d6ca2b383bcc81af1217c696eb77864a2b6db7428f4b5bde5b5913ce705eec5";

ldpath = stdenv.lib.makeLibraryPath [
fontconfig freetype glib libICE libSM
libX11 libXext libXrender zlib
];

version = "7.1.0";
version = "7.5.0";

in stdenv.mkDerivation {
name = "spideroak-${version}";

src = fetchurl {
name = "SpiderOakONE-${version}-slack_tar_${arch}.tgz";
url = "https://spideroak.com/release/spideroak/slack_tar_${arch}";
name = "SpiderOakONE-${version}-slack_tar_x64.tgz";
url = "https://spideroak.com/release/spideroak/slack_tar_x64";
inherit sha256;
};

@@ -46,7 +36,7 @@ in stdenv.mkDerivation {
rm -f $out/opt/SpiderOakONE/lib/libz*
patchelf --set-interpreter ${stdenv.glibc.out}/lib/${interpreter} \
patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux-x86-64.so.2 \
"$out/opt/SpiderOakONE/lib/SpiderOakONE"
RPATH=$out/opt/SpiderOakONE/lib:${ldpath}
4 changes: 2 additions & 2 deletions pkgs/applications/office/notes-up/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "notes-up";
version = "1.6.3";
version = "2.0.0";

src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Notes-up";
rev = version;
sha256 = "06fzdb823kkami0jch9ccblsvw3x7zd1d4xz8fv3giscl3f36x4q";
sha256 = "16bb9ffsg2csps1cb636rff5vc6f1yyhg65g3y5b4wf2hlbmzgql";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/science/biology/bowtie2/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,14 @@

stdenv.mkDerivation rec {
pname = "bowtie2";
version = "2.3.4.3";
version = "2.3.5";
name = "${pname}-${version}";

src = fetchFromGitHub {
owner = "BenLangmead";
repo = pname;
rev = "v${version}";
sha256 = "1zl3cf327y2p7p03cavymbh7b00djc7lncfaqih33n96iy9q8ibp";
sha256 = "12v240wnbc541hl4z2fiymxd3bd6czazs13fjkygldflg48w45m0";
};

buildInputs = [ zlib tbb python perl ];
24 changes: 20 additions & 4 deletions pkgs/applications/science/misc/root/5.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pcre, pkgconfig, python2
{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2
, libX11, libXpm, libXft, libXext, libGLU_combined, zlib, libxml2, lzma, gsl_1
, Cocoa, OpenGL, cf-private, noSplash ? false }:

@@ -19,11 +19,30 @@ stdenv.mkDerivation rec {

patches = [
./sw_vers_root5.patch

(fetchpatch {
name = "enable_new_gcc.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/enable_new_gcc.patch?h=root5&id=91c50876081a0af36f84ec4f0f9dba869107fa4f";
sha256 = "1rnp0xlw0yqi7mjs4w145njd79i8kkir1qik7zwicdik9axf8ygm";
})

# prevents rootcint from looking in /usr/includes and such
./purify_include_paths_root5.patch

# disable dictionary generation for stuff that includes libc headers
# our glibc requires a modern compiler
./disable_libc_dicts_root5.patch
];

preConfigure = ''
patchShebangs build/unix/
ln -s ${stdenv.lib.getDev stdenv.cc.libc}/include/AvailabilityMacros.h cint/cint/include/
''
# Fix CINTSYSDIR for "build" version of rootcint
# This is probably a bug that breaks out-of-source builds
+ ''
substituteInPlace cint/cint/src/loadfile.cxx\
--replace 'env = "cint";' 'env = "'`pwd`'/cint";'
'' + stdenv.lib.optionalString noSplash ''
substituteInPlace rootx/src/rootx.cxx --replace "gNoLogo = false" "gNoLogo = true"
'';
@@ -73,8 +92,5 @@ stdenv.mkDerivation rec {
description = "A data analysis framework";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
# needs to be adapted to work with modern glibc
# it works on darwin by impurely picking up system's libc headers
broken = stdenv.isLinux;
};
}
27 changes: 27 additions & 0 deletions pkgs/applications/science/misc/root/disable_libc_dicts_root5.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/cint/ROOT/CMakeLists.txt b/cint/ROOT/CMakeLists.txt
--- a/cint/ROOT/CMakeLists.txt
+++ b/cint/ROOT/CMakeLists.txt
@@ -47,21 +47,13 @@ set(CINTSTLDLLHEADERS
${CMAKE_SOURCE_DIR}/cint/cint/lib/stdstrct/stdcxxfunc.h
)
set(CINTINCDLLNAMES
- stdfunc
+# stdfunc
# stdcxxfunc
)
set(CINTINCDLLHEADERS
- ${CMAKE_SOURCE_DIR}/cint/cint/lib/stdstrct/stdfunc.h
+# ${CMAKE_SOURCE_DIR}/cint/cint/lib/stdstrct/stdfunc.h
# ${CMAKE_SOURCE_DIR}/cint/cint/lib/stdstrct/stdcxxfunc.h
)
-if(NOT WIN32)
- set(CINTSTLDLLNAMES ${CINTSTLDLLNAMES} valarray)
- set(CINTSTLDLLHEADERS ${CINTSTLDLLHEADERS} ${CINTDLLDIR}/vary.h)
- set(CINTINCDLLNAMES ${CINTINCDLLNAMES} posix ipc)
- set(CINTINCDLLHEADERS ${CINTINCDLLHEADERS}
- ${CMAKE_SOURCE_DIR}/cint/cint/lib/posix/exten.h
- ${CMAKE_SOURCE_DIR}/cint/cint/lib/ipc/ipcif.h)
-endif()

set(CINTBUILDLOADER
vector
Loading