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: fd32d60169cb
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: 0b1a96ccdd37
Choose a head ref

Commits on Mar 20, 2019

  1. Copy the full SHA
    7304454 View commit details
  2. Copy the full SHA
    9600380 View commit details
  3. Copy the full SHA
    894b7e9 View commit details
  4. Copy the full SHA
    88e8308 View commit details
  5. Copy the full SHA
    7b78ced View commit details

Commits on May 2, 2019

  1. linuxPackages.vhba: 20190302 -> 20190410

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

Commits on May 8, 2019

  1. taskell: 1.4.2 -> 1.4.3

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed May 8, 2019
    Copy the full SHA
    09c0b89 View commit details

Commits on May 11, 2019

  1. Copy the full SHA
    212e4e1 View commit details

Commits on May 12, 2019

  1. Copy the full SHA
    8d24a89 View commit details
  2. Copy the full SHA
    dff50d1 View commit details
  3. Copy the full SHA
    496d9f9 View commit details
  4. python37Packages.python-axolotl: 0.1.42 -> 0.2.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-python-axolotl/versions
    r-ryantm committed May 12, 2019
    Copy the full SHA
    abbb737 View commit details
  5. python37Packages.sphinxcontrib_plantuml: 0.14 -> 0.15

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-sphinxcontrib-plantuml/versions
    r-ryantm committed May 12, 2019
    Copy the full SHA
    ce729d3 View commit details

Commits on May 13, 2019

  1. python37Packages.xdis: 3.8.10 -> 4.0.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-xdis/versions
    r-ryantm committed May 13, 2019
    Copy the full SHA
    6f88e9a View commit details
  2. python37Packages.xcffib: 0.7.0 -> 0.8.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/python3.7-xcffib/versions
    r-ryantm committed May 13, 2019
    Copy the full SHA
    ca123bf View commit details
  3. signify: 24 -> 25

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/signify/versions
    r-ryantm committed May 13, 2019
    Copy the full SHA
    a7928fc View commit details
  4. cargo-bloat: 0.6.3 -> 0.6.4

    xrelkd committed May 13, 2019
    Copy the full SHA
    3a5fdff View commit details
  5. Copy the full SHA
    1bcfffd View commit details
  6. Copy the full SHA
    a025f85 View commit details

Commits on May 14, 2019

  1. Copy the full SHA
    a347ec5 View commit details
  2. Copy the full SHA
    8be0386 View commit details
  3. Copy the full SHA
    d1bd8a9 View commit details
  4. aws-c-common: 0.3.4 -> 0.3.9.

    Also remove conditional adding of `libexecinfo` for musl; see #56106.
    nh2 committed May 14, 2019
    Copy the full SHA
    46f84ca View commit details
  5. Merge pull request #57973 from aanderse/monitoring-plugins

    monitoring-plugins: compile missing mysql, ldap, dig, procs, and dbi executables
    thoughtpolice authored May 14, 2019
    Copy the full SHA
    5e0a686 View commit details
  6. Merge pull request #61409 from r-ryantm/auto-update/python3.7-xdis

    python37Packages.xdis: 3.8.10 -> 4.0.1
    c0bw3b authored May 14, 2019
    Copy the full SHA
    f9e482e View commit details
  7. Merge pull request #61304 from Ma27/bump-nexus

    nexus: 3.15.0-01 -> 3.16.1-02
    c0bw3b authored May 14, 2019
    Copy the full SHA
    4c6b5c1 View commit details
  8. gnome3.gnome-desktop: 3.32.1 -> 3.32.2 (#61497)

    - Fix thumbnailer sandbox escape, CVE-2019-11460
    
    closes #60837
    hedning authored May 14, 2019
    Copy the full SHA
    8c5ee6b View commit details
  9. Merge pull request #61507 from nh2/aws-c-common-0.3.9

    aws-c-common: 0.3.4 -> 0.3.9.
    matthewbauer authored May 14, 2019
    Copy the full SHA
    e19fe31 View commit details
  10. Copy the full SHA
    0f898bd View commit details
  11. linux: 4.19.42 -> 4.19.43

    NeQuissimus committed May 14, 2019
    Copy the full SHA
    0a512e0 View commit details
  12. linux: 4.9.175 -> 4.9.176

    NeQuissimus committed May 14, 2019
    Copy the full SHA
    68bb6a9 View commit details
  13. linux: 5.0.15 -> 5.0.16

    NeQuissimus committed May 14, 2019
    Copy the full SHA
    8ce75f1 View commit details
  14. linux: 5.1.1 -> 5.1.2

    NeQuissimus committed May 14, 2019
    Copy the full SHA
    3b3bfdb View commit details
  15. Copy the full SHA
    a9c7679 View commit details

Commits on May 15, 2019

  1. Merge pull request #61245 from Synthetica9/openexr-crosscompile

    openexr: fix cross-compilation
    Ericson2314 authored May 15, 2019
    Copy the full SHA
    5ff79af View commit details
  2. Merge pull request #61256 from astro/pyftdi

    python3Packages.pyftdi: init at 0.29.4
    marsam authored May 15, 2019
    Copy the full SHA
    fa1c611 View commit details
  3. Copy the full SHA
    3e6ac2c View commit details
  4. Copy the full SHA
    f797e8a View commit details
  5. Merge pull request #61126 from matthiasbeyer/update-taskell

    taskell: 1.4.2 -> 1.4.3
    marsam authored May 15, 2019
    Copy the full SHA
    1d9aaf6 View commit details
  6. pythonPackages.funcsigs: fix tests on pypy3

    This package has a spurious test failure on PyPy3, which was reported
    upstream a while ago:
    
         testing-cabal/funcsigs#10
    
    This is fixed thanks to the included patch, which was authored and is
    also used by the Gentoo Python team.
    
    With this, packages like 'pytest' and 'click' now work under PyPy3.
    
    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed May 15, 2019
    Copy the full SHA
    dd79d60 View commit details
  7. Merge pull request #61459 from xrelkd/update/cargo-bloat

    cargo-bloat: 0.6.3 -> 0.6.4
    marsam authored May 15, 2019
    Copy the full SHA
    d284b3c View commit details
  8. Merge pull request #61410 from r-ryantm/auto-update/python3.7-xcffib

    python37Packages.xcffib: 0.7.0 -> 0.8.0
    marsam authored May 15, 2019
    Copy the full SHA
    90b21e0 View commit details
  9. Merge pull request #61404 from r-ryantm/auto-update/python3.7-sphinxc…

    …ontrib-plantuml
    
    python37Packages.sphinxcontrib_plantuml: 0.14 -> 0.15
    marsam authored May 15, 2019
    Copy the full SHA
    f1a6b2f View commit details
  10. Merge pull request #61425 from r-ryantm/auto-update/signify

    signify: 24 -> 25
    marsam authored May 15, 2019
    Copy the full SHA
    61bad5b View commit details
  11. nixos-generate-config: add rudimentary high-DPI detection

    Fixes the main remaining part of #12345
    lheckemann committed May 15, 2019
    Copy the full SHA
    89b64ab View commit details
  12. Merge pull request #56337 from mayflower/hidpi-console

    nixos-generate-config: add rudimentary high-DPI detection
    lheckemann authored May 15, 2019
    Copy the full SHA
    8ec48dc View commit details
  13. chit: 0.1.12 -> 0.1.13

    Re-enable tests as the one that required network access has been fixed.
    lilyball committed May 15, 2019
    Copy the full SHA
    cef5ed2 View commit details
  14. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    84cdfb8 View commit details
  15. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1ce94fa View commit details
  16. coq: init at 8.10+β1

    vbgl committed May 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b72daf7 View commit details
Showing with 1,177 additions and 562 deletions.
  1. +15 −0 nixos/modules/installer/tools/nixos-generate-config.pl
  2. +9 −2 nixos/modules/services/databases/foundationdb.nix
  3. +2 −2 nixos/tests/upnp.nix
  4. +3 −4 pkgs/applications/audio/lollypop/default.nix
  5. +7 −3 pkgs/applications/misc/taskell/default.nix
  6. +2 −2 pkgs/applications/networking/browsers/chromium/plugins.nix
  7. +5 −5 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
  8. +3 −3 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
  9. +1 −1 pkgs/applications/networking/browsers/vivaldi/update.sh
  10. +16 −4 pkgs/applications/science/logic/coq/default.nix
  11. +2 −2 pkgs/applications/science/math/nasc/default.nix
  12. +2 −2 pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
  13. +3 −3 pkgs/desktops/pantheon/desktop/gala/default.nix
  14. +1 −1 pkgs/development/coq-modules/Cheerios/default.nix
  15. +1 −1 pkgs/development/coq-modules/InfSeqExt/default.nix
  16. +1 −1 pkgs/development/coq-modules/Verdi/default.nix
  17. +1 −1 pkgs/development/coq-modules/corn/default.nix
  18. +1 −1 pkgs/development/coq-modules/math-classes/default.nix
  19. +0 −30 pkgs/development/coq-modules/mathcomp-analysis/default.nix
  20. +0 −29 pkgs/development/coq-modules/mathcomp-bigenough/default.nix
  21. +0 −40 pkgs/development/coq-modules/mathcomp-finmap/default.nix
  22. +135 −59 pkgs/development/coq-modules/mathcomp/default.nix
  23. +138 −0 pkgs/development/coq-modules/mathcomp/extra.nix
  24. +0 −28 pkgs/development/coq-modules/multinomials/default.nix
  25. +1 −1 pkgs/development/coq-modules/simple-io/default.nix
  26. +1 −1 pkgs/development/haskell-modules/configuration-common.nix
  27. +2 −4 pkgs/development/libraries/aws-c-common/default.nix
  28. +24 −0 pkgs/development/libraries/g2o/default.nix
  29. +3 −29 pkgs/development/libraries/gegl/4.0.nix
  30. +23 −3 pkgs/development/libraries/openexr/default.nix
  31. +2 −2 pkgs/development/libraries/vte/default.nix
  32. +5 −1 pkgs/development/python-modules/funcsigs/default.nix
  33. +94 −0 pkgs/development/python-modules/funcsigs/fix-pypy3-tests.patch
  34. +8 −5 pkgs/development/python-modules/httpretty/default.nix
  35. +26 −0 pkgs/development/python-modules/pyftdi/default.nix
  36. +2 −2 pkgs/development/python-modules/python-axolotl/default.nix
  37. +2 −2 pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
  38. +5 −4 pkgs/development/python-modules/uncompyle6/default.nix
  39. +2 −2 pkgs/development/python-modules/xcffib/default.nix
  40. +2 −2 pkgs/development/python-modules/xdis/default.nix
  41. +2 −5 pkgs/development/tools/chit/default.nix
  42. +20 −19 pkgs/development/tools/misc/saleae-logic/default.nix
  43. +2 −2 pkgs/development/tools/repository-managers/nexus/default.nix
  44. +11 −17 pkgs/development/tools/repository-managers/nexus/nexus-bin.patch
  45. +0 −19 pkgs/development/tools/rust/cargo-bloat/cargo-lock.patch
  46. +2 −3 pkgs/development/tools/rust/cargo-bloat/default.nix
  47. +2 −2 pkgs/misc/emulators/cdemu/vhba.nix
  48. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  49. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  50. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  51. +2 −2 pkgs/os-specific/linux/kernel/linux-5.0.nix
  52. +2 −2 pkgs/os-specific/linux/kernel/linux-5.1.nix
  53. +2 −2 pkgs/os-specific/linux/microcode/intel.nix
  54. +2 −2 pkgs/servers/documize-community/default.nix
  55. +129 −0 pkgs/servers/foundationdb/cmake.nix
  56. +60 −170 pkgs/servers/foundationdb/default.nix
  57. +52 −0 pkgs/servers/foundationdb/patches/clang-libcxx.patch
  58. 0 pkgs/servers/foundationdb/{ → patches}/fix-scm-version.patch
  59. 0 pkgs/servers/foundationdb/{ → patches}/ldflags-5.1.patch
  60. 0 pkgs/servers/foundationdb/{ → patches}/ldflags-5.2.patch
  61. 0 pkgs/servers/foundationdb/{ → patches}/ldflags-6.0.patch
  62. +34 −0 pkgs/servers/foundationdb/patches/suppress-clang-warnings.patch
  63. +80 −0 pkgs/servers/foundationdb/test-list.txt
  64. +154 −0 pkgs/servers/foundationdb/vsmake.nix
  65. +12 −3 pkgs/servers/monitoring/plugins/default.nix
  66. +8 −7 pkgs/tools/misc/bat/default.nix
  67. +2 −2 pkgs/tools/networking/miniupnpc/default.nix
  68. +2 −2 pkgs/tools/networking/miniupnpd/default.nix
  69. +2 −2 pkgs/tools/security/signify/default.nix
  70. +10 −6 pkgs/tools/text/discount/default.nix
  71. +6 −1 pkgs/top-level/all-packages.nix
  72. +20 −6 pkgs/top-level/coq-packages.nix
  73. +3 −0 pkgs/top-level/python-packages.nix
15 changes: 15 additions & 0 deletions nixos/modules/installer/tools/nixos-generate-config.pl
Original file line number Diff line number Diff line change
@@ -464,6 +464,21 @@ sub in {
}
}

# For lack of a better way to determine it, guess whether we should use a
# bigger font for the console from the display mode on the first
# framebuffer. A way based on the physical size/actual DPI reported by
# the monitor would be nice, but I don't know how to do this without X :)
my $fb_modes_file = "/sys/class/graphics/fb0/modes";
if (-f $fb_modes_file && -r $fb_modes_file) {
my $modes = read_file($fb_modes_file);
$modes =~ m/([0-9]+)x([0-9]+)/;
my $console_width = $1, my $console_height = $2;
if ($console_width > 1920) {
push @attrs, "# High-DPI console";
push @attrs, 'i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";';
}
}


# Generate the hardware configuration file.

11 changes: 9 additions & 2 deletions nixos/modules/services/databases/foundationdb.nix
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ let
${optionalString (cfg.class != null) "class = ${cfg.class}"}
memory = ${cfg.memory}
storage_memory = ${cfg.storageMemory}
trace_format = ${cfg.traceFormat}
${optionalString (cfg.tls != null) ''
tls_plugin = ${pkg}/libexec/plugins/FDBLibTLS.so
@@ -317,6 +318,12 @@ in
default = "/run/foundationdb.pid";
description = "Path to pidfile for fdbmonitor.";
};

traceFormat = mkOption {
type = types.enum [ "xml" "json" ];
default = "xml";
description = "Trace logging format.";
};
};

config = mkIf cfg.enable {
@@ -382,7 +389,7 @@ in
chown -R ${cfg.user}:${cfg.group} ${cfg.pidfile}
for x in "${cfg.logDir}" "${cfg.dataDir}"; do
[ ! -d "$x" ] && mkdir -m 0700 -vp "$x";
[ ! -d "$x" ] && mkdir -m 0770 -vp "$x";
chown -R ${cfg.user}:${cfg.group} "$x";
done
@@ -404,7 +411,7 @@ in

postStart = ''
if [ -e "${cfg.dataDir}/.first_startup" ]; then
fdbcli --exec "configure new single memory"
fdbcli --exec "configure new single ssd"
rm -f "${cfg.dataDir}/.first_startup";
fi
'';
4 changes: 2 additions & 2 deletions nixos/tests/upnp.nix
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ in

client1 =
{ pkgs, nodes, ... }:
{ environment.systemPackages = [ pkgs.miniupnpc pkgs.netcat ];
{ environment.systemPackages = [ pkgs.miniupnpc_2 pkgs.netcat ];
virtualisation.vlans = [ 2 ];
networking.defaultGateway = internalRouterAddress;
networking.interfaces.eth1.ipv4.addresses = [
@@ -63,7 +63,7 @@ in

client2 =
{ pkgs, ... }:
{ environment.systemPackages = [ pkgs.miniupnpc ];
{ environment.systemPackages = [ pkgs.miniupnpc_2 ];
virtualisation.vlans = [ 1 ];
networking.interfaces.eth1.ipv4.addresses = [
{ address = externalClient2Address; prefixLength = 24; }
7 changes: 3 additions & 4 deletions pkgs/applications/audio/lollypop/default.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@

python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
version = "1.0.7";
version = "1.0.10";

format = "other";
doCheck = false;
@@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
sha256 = "0gdds4qssn32axsa5janqny5i4426azj5wyj6bzn026zs3z38svn";
sha256 = "118z1qhvpv7x5n63lpm4mf81pmv7gd450sa55i68mnjvry93h9h5";
};

nativeBuildInputs = [
@@ -59,10 +59,8 @@ python3.pkgs.buildPythonApplication rec {

propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
gst-python
pillow
pycairo
pydbus
pygobject3
]
++ lib.optional lastFMSupport pylast
@@ -84,6 +82,7 @@ python3.pkgs.buildPythonApplication rec {
description = "A modern music player for GNOME";
homepage = https://wiki.gnome.org/Apps/Lollypop;
license = licenses.gpl3Plus;
changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}";
maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.linux;
};
10 changes: 7 additions & 3 deletions pkgs/applications/misc/taskell/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ haskell, lib, haskellPackages, fetchFromGitHub }:

let
version = "1.4.2";
sha256 = "1kpzjsbx2xbp43hd62nq03jcknp0dqvdlxjc9gc3fagaqfbfzny2";
version = "1.4.3";
sha256 = "0i12x7qzfmmdvi09k96x53zzzrva2w3zbl2f6dkxb8kk5scqqa4v";

in (haskellPackages.mkDerivation {
pname = "taskell";
@@ -57,5 +57,9 @@ in (haskellPackages.mkDerivation {
tasty-hunit
];

license = lib.licenses.bsd3;
description = "Command-line Kanban board/task manager with support for Trello boards and GitHub projects";
homepage = "https://taskell.app";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = with lib.platforms; unix ++ darwin;
})
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/chromium/plugins.nix
Original file line number Diff line number Diff line change
@@ -100,11 +100,11 @@ let

flash = stdenv.mkDerivation rec {
name = "flashplayer-ppapi-${version}";
version = "32.0.0.171";
version = "32.0.0.192";

src = fetchzip {
url = "https://fpdownload.adobe.com/pub/flashplayer/pdc/${version}/flash_player_ppapi_linux.x86_64.tar.gz";
sha256 = "1rqf1kidpf2jqf20dw3hscrapdpm2j751742i6xnvj9mp66nczyg";
sha256 = "14nydiqjvr7hc4dmn900p7j7rp6prwyaf6xnki2ssbq6h1ni2lg1";
stripRoot = false;
};

Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ let
in
stdenv.mkDerivation rec {
name = "flashplayer-${version}";
version = "32.0.0.171";
version = "32.0.0.192";

src = fetchurl {
url =
@@ -85,14 +85,14 @@ stdenv.mkDerivation rec {
sha256 =
if debug then
if arch == "x86_64" then
"0dl2kxsn4wh3243qkwyq13ikbmz6ljg95a1v02cylz36kpfl51iv"
"0n5m70mz1fa5pgpz1ldqgn6bkr4in5qjn79kb85127wmg8fddbz7"
else
"1v9imcyml55qlvp0cibi5r5kl0rcivzvmnqgw8ph3xjm1yrxw3fr"
"1q6pjmnw2h8k09va5x64ijmq0kmfb569rwcibwl0d8kylxi97b6v"
else
if arch == "x86_64" then
"1f3nl4qkws16q2yw940vvb0zmmwxks1blm4ida65hlda6f9zfq3h"
"1h2ya3szq24dczv2izxy47kr2raiahxx7zvm49jlvlcp5cygxvjk"
else
"0df9nbxyn4wl4ap333mgnnmy994xj7i5hz07sw83pszlz3pjkc0m";
"084bv0m9w1v2s4bf5rgan40l1fajwfam3njvgm47ffyg6s0kg1kh";
};

nativeBuildInputs = [ unzip ];
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@

stdenv.mkDerivation rec {
name = "flashplayer-standalone-${version}";
version = "32.0.0.171";
version = "32.0.0.192";

src = fetchurl {
url =
@@ -60,9 +60,9 @@ stdenv.mkDerivation rec {
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz";
sha256 =
if debug then
"0z4fkqbq1s63lpzfkyxllwx2wpizbabr4zim1dn7n59ld75vjxq8"
"0j5rzamyajkiblalqkimx29bwm7yg9m4nj9z7z8hahcywpf81yqg"
else
"0nvgcdmgvgbj6axrh0yzkk437bxwsaxl0mvfkcyyz1hxnq51dvvg";
"0qnz383aggm07hbvyrnqphwhd5wp9xbairf908nk4i6ad8wg1x3r";
};

nativeBuildInputs = [ unzip ];
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/vivaldi/update.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p libarchive curl common-updater-scripts

set -xeu -o pipefail
set -eu -o pipefail

cd "$(dirname "${BASH_SOURCE[0]}")"
root=../../../../..
20 changes: 16 additions & 4 deletions pkgs/applications/science/logic/coq/default.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
{ stdenv, fetchFromGitHub, writeText, pkgconfig
, ocamlPackages, ncurses
, buildIde ? true
, glib, gnome3, wrapGAppsHook
, csdp ? null
, version
}:
@@ -26,9 +27,15 @@ let
"8.8.1" = "1hlf58gwazywbmfa48219amid38vqdl94yz21i11b4map6jfwhbk";
"8.8.2" = "1lip3xja924dm6qblisk1bk0x8ai24s5xxqxphbdxj6djglj68fd";
"8.9.0" = "1dkgdjc4n1m15m1p724hhi5cyxpqbjw6rxc5na6fl3v4qjjfnizh";
"8.10+beta1" = "19wf39i0ap2vakglgdlqxpjd3l1h5w7dp460w8y7nc1y06b2153h";
}."${version}";
coq-version = builtins.substring 0 3 version;
ideFlags = if buildIde then "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
coq-version =
let inherit (builtins) concatStringsSep head map; in
let inherit (stdenv.lib) take splitString; in
concatStringsSep "." (take 2 (map head (map (splitString "pl") (splitString "." version))));
versionAtLeast = stdenv.lib.versionAtLeast coq-version;
ideFlags = stdenv.lib.optionalString (buildIde && !versionAtLeast "8.10")
"-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt";
csdpPatch = if csdp != null then ''
substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
@@ -96,7 +103,10 @@ self = stdenv.mkDerivation {

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ] ++ (with ocamlPackages; [ ocaml findlib camlp5 num ])
++ stdenv.lib.optional buildIde ocamlPackages.lablgtk;
++ stdenv.lib.optionals buildIde
(if versionAtLeast "8.10"
then [ ocamlPackages.lablgtk3-sourceview3 glib gnome3.defaultIconTheme wrapGAppsHook ]
else [ ocamlPackages.lablgtk ]);

postPatch = ''
UNAME=$(type -tp uname)
@@ -117,7 +127,9 @@ self = stdenv.mkDerivation {
addEnvHooks "$targetOffset" addCoqPath
'';

preConfigure = ''
preConfigure = if versionAtLeast "8.10" then ''
patchShebangs dev/tools/
'' else ''
configureFlagsArray=(
${ideFlags}
)
4 changes: 2 additions & 2 deletions pkgs/applications/science/math/nasc/default.nix
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@

stdenv.mkDerivation rec {
pname = "nasc";
version = "0.5.2";
version = "0.5.4";

src = fetchFromGitHub {
owner = "parnold-x";
repo = pname;
rev = version;
sha256 = "009xmlsgl7r6wp6sczbdp8sjqqd6k2mychx5b4zn7wnrl7435y5y";
sha256 = "036v3dx8yasp19j88lflibqnpfi5d0nk7qkcnr80zn1lvawf4wgn";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
name = "gnome-desktop-${version}";
version = "3.32.1";
version = "3.32.2";

outputs = [ "out" "dev" "devdoc" ];

src = fetchurl {
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "040s8ia26xyq25zcd9xji9f5jhsddqd7a23jassy429bir34sxkg";
sha256 = "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9";
};

enableParallelBuilding = true;
6 changes: 3 additions & 3 deletions pkgs/desktops/pantheon/desktop/gala/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
pname = "gala";
version = "unstable-2019-02-09"; # Is tracking https://github.com/elementary/gala/commits/stable/juno
version = "unstable-2019-05-14"; # Is tracking https://github.com/elementary/gala/commits/stable/juno

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = "1a96644c6aac405927499dacb308dea13512e919";
sha256 = "1zi7xyzhsypf52zzfwf7dwcxgd0skxbsssv1vsxgmswszg23p7i3";
rev = "3ae100da4bbd9dabe353f468778ef63ef2dcd5d7";
sha256 = "08xcj4z9mq511w8hdpr60nmd6j1cj7rs7rgs4s5ivyg11kg5w17b";
};

passthru = {
2 changes: 1 addition & 1 deletion pkgs/development/coq-modules/Cheerios/default.nix
Original file line number Diff line number Diff line change
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";

passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/coq-modules/InfSeqExt/default.nix
Original file line number Diff line number Diff line change
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";

passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.5";
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/coq-modules/Verdi/default.nix
Original file line number Diff line number Diff line change
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";

passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/coq-modules/corn/default.nix
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
};

passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
};

}
2 changes: 1 addition & 1 deletion pkgs/development/coq-modules/math-classes/default.nix
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
};

passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
};

}
30 changes: 0 additions & 30 deletions pkgs/development/coq-modules/mathcomp-analysis/default.nix

This file was deleted.

Loading