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: 3878342ef02d
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: e27d1b802c01
Choose a head ref

Commits on Aug 9, 2018

  1. nix1: don't deliver perl-bindings of nixStable (a.k.a nix2)

    This causes collisions between the build outputs of `nix` when building
    in an environment with `nix1.perl-bindings` and `nix`:
    
    ```
    collision between `/nix/store/aa4rrcj7dg2xj4rfkiclcmp745ibqng0-nix-2.0.4/lib/libnixstore.so' and `/nix/store/sp0sdi4bll80h58big1iy8kkh3qqxpw2-nix-1.11.16/lib/libnixstore.so'
    builder for '/nix/store/wgbccin107lhm8cv9imnnvkx1j2pgibc-hydra-perl-deps.drv' failed with exit code 25
    ```
    Ma27 committed Aug 9, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    a7685f7 View commit details

Commits on Aug 13, 2018

  1. Copy the full SHA
    48e5fbe View commit details
  2. ivan: add myself as maintainer

    Free Potion committed Aug 13, 2018
    Copy the full SHA
    a6781fa View commit details
  3. coq: default to version 8.8

    vbgl committed Aug 13, 2018
    Copy the full SHA
    4f0db5d View commit details
  4. hydra: 2017-11-21 -> 2018-08-07

    This bumps Hydra to the latest revision available. As Hydra doesn't have
    a release model (and therefore no tags) ATM, the derivation will pin
    against the actual git revision and the date of the commit in the
    derivation name.
    
    Additionally the following changes have been made:
    
    * Dropped `postUnpack` phase. It is useful when working with the Hydra
      source (and no dirty changes shall be used in `release.nix`, but is has
      no use in `nixpkgs`).
    
    * Added myself as maintainer to have more folks available in case of
      future breakage.
    
    * Implemented support for Nix 2.0 and `unstable` (currently 2.1):
    
      Since 1672bcd230447f1ce0c3291950bdd9a662cee974 in NixOS/nix the
      evaluator differentiates between `settings` and `evalSettings`.
      Previously `restrictEval` in `hydra-eval-jobs.cc` has been set in
      `settings`, this doesn't work anymore in Nix 2.1 and is therefore
      incompatible to Nix 2.0 on an API level.
    
      To resolve this, the flag `isGreaterNix20` parses the version string
      of `pkgs.nix` and applies a patch if nix.version<=2.0.
    
      Furthermore the Hydra build with Nix 2.1 requires `boost` as build input
      which is not needed for Nix 2.0. To avoid unnecessary increase in the
      closure size this library will only used as build input for
      nix.version>2.0.
    
    * Fixed the NixOS test for `hydra`:
      disabled binary cache to allow sandbox builds (otherwise it would
      query `cache.nixos.org` during the Hydra build inside the test).
    
      Additionally the trivial.nix jobset required simplification (as done
      in NixOS/hydra, e.g. tests/api-test.nix) as bash is not available in
      the build sandbox as builder (even when adding pkgs.bash to
      systemPackages).
    
      The easiest workaround to confirm a the functionality of a jobset
      without importing nixpkgs is to use the default shell /bin/sh which
      is mounted from `pkgs.busybox` into the build env
      (NixOS/nixpkgs#44841 (comment)) in the
      VM and a named pipe to create $out.
    
    Closes #44044
    Ma27 committed Aug 13, 2018
    Copy the full SHA
    7682c2f View commit details

Commits on Aug 14, 2018

  1. flint: Add darwin support

    jbaum98 committed Aug 14, 2018
    Copy the full SHA
    942a5ef View commit details
  2. gfan: Add darwin support

    jbaum98 committed Aug 14, 2018
    Copy the full SHA
    be81e1e View commit details
  3. zn_poly: Add darwin support

    jbaum98 committed Aug 14, 2018
    Copy the full SHA
    c0c854d View commit details
  4. Copy the full SHA
    83279da View commit details
  5. Copy the full SHA
    751f10e View commit details
  6. rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere

    It's needed on ARM nowadays as well, so just put it everywhere.
    dezgeg committed Aug 14, 2018
    Copy the full SHA
    7e05613 View commit details
  7. Copy the full SHA
    4b542fd View commit details
  8. Copy the full SHA
    72d1be9 View commit details
  9. Copy the full SHA
    2aae0c0 View commit details
  10. Copy the full SHA
    44f18a5 View commit details
  11. Merge pull request #44841 from Ma27/bump-hydra

    hydra: 2017-11-21 -> 2018-08-07
    nlewo authored Aug 14, 2018
    Copy the full SHA
    f2cab31 View commit details
  12. Merge pull request #45010 from jbaum98/zn_poly-darwin

    zn_poly: Add darwin support
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    5d5e484 View commit details
  13. Merge pull request #45004 from jbaum98/flint-darwin

    flint: Add darwin support
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    96c34ed View commit details
  14. qbittorrent: 4.1.1 -> 4.1.2 (#45005)

    Madouura authored and xeji committed Aug 14, 2018
    Copy the full SHA
    5762a57 View commit details
  15. Merge pull request #44997 from vbgl/default-coq-8.8

    coq: default to version 8.8
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    9bf92a1 View commit details
  16. Merge pull request #44992 from freepotion/ivan

    ivan: maintainer update
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    cc671a1 View commit details
  17. Copy the full SHA
    6bdb20d View commit details
  18. stack2nix: cleanup

    domenkozar committed Aug 14, 2018
    Copy the full SHA
    85f892b View commit details
  19. Copy the full SHA
    d2c55eb View commit details
  20. Copy the full SHA
    849b27c View commit details
  21. Copy the full SHA
    af960e5 View commit details
  22. alsaOss: Add license

    markuskowa committed Aug 14, 2018
    Copy the full SHA
    318020e View commit details
  23. AlsaTools: Add license

    markuskowa committed Aug 14, 2018
    Copy the full SHA
    2845b63 View commit details
  24. alsaUtils: Add license

    markuskowa committed Aug 14, 2018
    Copy the full SHA
    c6ffded View commit details
  25. altermime: add license

    markuskowa committed Aug 14, 2018
    Copy the full SHA
    038cd75 View commit details
  26. Merge pull request #45008 from jbaum98/gfan-darwin

    gfan: Add darwin support
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    d6b9ab6 View commit details
  27. linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13

    spl was merged into zfs master
    Mic92 committed Aug 14, 2018
    Copy the full SHA
    4360a87 View commit details
  28. javacard-devkit: init at 2.2.2

    Oracle has already released 3.0.5, but versions after 2.2.2 appear to be Windows-only.
    
    Thanks-To: aszlig <aszlig@nix.build>
    Ekleog committed Aug 14, 2018
    Copy the full SHA
    bcf59b9 View commit details
  29. Merge pull request #44981 from Ekleog/rust-patch-bis

    buildRustPackage: allow patches to fix Cargo.lock
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    78777fb View commit details
  30. Merge pull request #44148 from Ekleog/javacard-devkit

    javacard-devkit: init at 2.2.2
    timokau authored Aug 14, 2018
    Copy the full SHA
    ec14b03 View commit details
  31. Merge pull request #45012 from Mic92/zfs

    linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    93f9b70 View commit details
  32. ocamlPackages.javalib: 2.3.4 -> 2.3.5 (#45016)

    vbgl authored and xeji committed Aug 14, 2018
    Copy the full SHA
    be989c7 View commit details
  33. Copy the full SHA
    1333ebc View commit details
  34. Merge pull request #45023 from markuskowa/alsalics

    add licenses: alsa[Utils,Tools,Oss], altermime
    xeji authored Aug 14, 2018
    Copy the full SHA
    f1c3327 View commit details
  35. Merge pull request #45017 from chpatrick/meshlab-update

    meshlab: 2016.02 -> 20180627-beta
    Mic92 authored Aug 14, 2018
    Copy the full SHA
    e27d1b8 View commit details
Showing with 1,069 additions and 1,213 deletions.
  1. +5 −0 doc/languages-frameworks/rust.section.md
  2. +5 −0 maintainers/maintainer-list.nix
  3. +4 −4 nixos/modules/tasks/filesystems/zfs.nix
  4. +6 −7 nixos/tests/hydra/default.nix
  5. +13 −10 pkgs/applications/graphics/meshlab/default.nix
  6. +0 −88 pkgs/applications/graphics/meshlab/fix-2016.02.patch
  7. +25 −0 pkgs/applications/graphics/meshlab/fix-20180627-beta.patch
  8. +397 −397 pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
  9. +397 −397 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
  10. +2 −2 pkgs/applications/networking/p2p/qbittorrent/default.nix
  11. +8 −3 pkgs/applications/science/math/gfan/default.nix
  12. +5 −0 pkgs/build-support/rust/default.nix
  13. +3 −3 pkgs/build-support/rust/fetchcargo.nix
  14. +67 −0 pkgs/development/compilers/javacard-devkit/default.nix
  15. +2 −2 pkgs/development/compilers/rust/cargo.nix
  16. +2 −2 pkgs/development/compilers/rust/rustc.nix
  17. +11 −15 pkgs/development/haskell-modules/configuration-common.nix
  18. +1 −1 pkgs/development/libraries/cddlib/default.nix
  19. +2 −2 pkgs/development/libraries/flint/default.nix
  20. +1 −1 pkgs/development/libraries/mpir/default.nix
  21. +3 −1 pkgs/development/libraries/science/math/zn_poly/default.nix
  22. +8 −5 pkgs/development/ocaml-modules/janestreet/default.nix
  23. +7 −5 pkgs/development/ocaml-modules/javalib/default.nix
  24. +25 −13 pkgs/development/tools/misc/hydra/default.nix
  25. +1 −1 pkgs/games/ivan/default.nix
  26. +3 −6 pkgs/os-specific/linux/alsa-oss/default.nix
  27. +4 −3 pkgs/os-specific/linux/alsa-tools/default.nix
  28. +4 −3 pkgs/os-specific/linux/alsa-utils/default.nix
  29. +34 −55 pkgs/os-specific/linux/spl/default.nix
  30. +0 −162 pkgs/os-specific/linux/spl/install_prefix-0.7.9.patch
  31. +13 −12 pkgs/os-specific/linux/zfs/default.nix
  32. +4 −5 pkgs/tools/networking/altermime/default.nix
  33. +1 −1 pkgs/tools/package-management/nix/default.nix
  34. +4 −5 pkgs/top-level/all-packages.nix
  35. +1 −1 pkgs/top-level/coq-packages.nix
  36. +1 −1 pkgs/top-level/ocaml-packages.nix
5 changes: 5 additions & 0 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
@@ -59,6 +59,11 @@ all crate sources of this package. Currently it is obtained by inserting a
fake checksum into the expression and building the package once. The correct
checksum can be then take from the failed build.

When the `Cargo.lock`, provided by upstream, is not in sync with the
`Cargo.toml`, it is possible to use `cargoPatches` to update it. All patches
added in `cargoPatches` will also be prepended to the patches in `patches` at
build-time.

To install crates with nix there is also an experimental project called
[nixcrates](https://github.com/fractalide/nixcrates).

5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1382,6 +1382,11 @@
github = "fps";
name = "Florian Paul Schmidt";
};
freepotion = {
email = "freepotion@protonmail.com";
github = "freepotion";
name = "Free Potion";
};
Fresheyeball = {
email = "fresheyeball@gmail.com";
github = "fresheyeball";
8 changes: 4 additions & 4 deletions nixos/modules/tasks/filesystems/zfs.nix
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ let
kernel = config.boot.kernelPackages;

packages = if config.boot.zfs.enableUnstable then {
spl = kernel.splUnstable;
spl = null;
zfs = kernel.zfsUnstable;
zfsUser = pkgs.zfsUnstable;
} else {
@@ -325,12 +325,12 @@ in
virtualisation.lxd.zfsSupport = true;

boot = {
kernelModules = [ "spl" "zfs" ] ;
extraModulePackages = with packages; [ spl zfs ];
kernelModules = [ "zfs" ] ++ optional (!cfgZfs.enableUnstable) "spl";
extraModulePackages = with packages; [ zfs ] ++ optional (!cfgZfs.enableUnstable) spl;
};

boot.initrd = mkIf inInitrd {
kernelModules = [ "spl" "zfs" ];
kernelModules = [ "zfs" ] ++ optional (!cfgZfs.enableUnstable) "spl";
extraUtilsCommands =
''
copy_bin_and_libs ${packages.zfsUser}/sbin/zfs
13 changes: 6 additions & 7 deletions nixos/tests/hydra/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,11 @@ import ../make-test.nix ({ pkgs, ...} :

let
trivialJob = pkgs.writeTextDir "trivial.nix" ''
with import <nix/config.nix>;
{ trivial = builtins.derivation {
name = "trivial";
system = "x86_64-linux";
PATH = coreutils;
builder = shell;
args = ["-c" "touch $out; exit 0"];
builder = "/bin/sh";
args = ["-c" "echo success > $out; exit 0"];
};
}
'';
@@ -27,7 +24,7 @@ let
in {
name = "hydra-init-localdb";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ pstn lewo ];
maintainers = [ pstn lewo ma27 ];
};

machine =
@@ -50,6 +47,8 @@ in {
hostName = "localhost";
systems = [ "x86_64-linux" ];
}];

binaryCaches = [];
};
};

@@ -74,5 +73,5 @@ in {
$machine->succeed("create-trivial-project.sh");
$machine->waitUntilSucceeds('curl -L -s http://localhost:3000/build/1 -H "Accept: application/json" | jq .buildstatus | xargs test 0 -eq');
'';
'';
})
23 changes: 13 additions & 10 deletions pkgs/applications/graphics/meshlab/default.nix
Original file line number Diff line number Diff line change
@@ -1,42 +1,46 @@
{ stdenv, fetchFromGitHub, libGLU, qtbase, qtscript, qtxmlpatterns }:
{ fetchFromGitHub, libGLU, llvmPackages, qtbase, qtscript, qtxmlpatterns }:

let
meshlabRev = "5700f5474c8f90696a8925e2a209a0a8ab506662";
vcglibRev = "a8e87662b63ee9f4ded5d4699b28d74183040803";
meshlabRev = "d596d7c086c51fbdfb56050f9c30b55dd0286d4c";
vcglibRev = "6c3c940e34327322507c703889f9f1cfa73ab183";
# ^ this should be the latest commit in the vcglib devel branch at the time of the meshlab revision

stdenv = llvmPackages.stdenv; # only building with clang seems to be tested upstream
in stdenv.mkDerivation {
name = "meshlab-2016.12";
name = "meshlab-20180627-beta";

srcs =
[
(fetchFromGitHub {
owner = "cnr-isti-vclab";
repo = "meshlab";
rev = meshlabRev;
sha256 = "0srrp7zhi86dsg4zsx1615gr26barz38zdl8s03zq6vm1dgzl3cc";
sha256 = "0xi7wiyy0yi545l5qvccbqahlcsf70mhx829gf7bq29640si4rax";
name = "meshlab-${meshlabRev}";
})
(fetchFromGitHub {
owner = "cnr-isti-vclab";
repo = "vcglib";
rev = vcglibRev;
sha256 = "0jh8jc8rn7rci8qr3q03q574fk2hsc3rllysck41j8xkr3rmxz2f";
sha256 = "0jfgjvf21y9ncmyr7caipy3ardhig7hh9z8miy885c99b925hhwd";
name = "vcglib-${vcglibRev}";
})
];

sourceRoot = "meshlab-${meshlabRev}";

patches = [ ./fix-2016.02.patch ];

hardeningDisable = [ "format" ];
enableParallelBuilding = true;

patches = [ ./fix-20180627-beta.patch ];

buildPhase = ''
# MeshLab has ../vcglib hardcoded everywhere, so move the source dir
mv ../vcglib-${vcglibRev} ../vcglib
cd src
export NIX_LDFLAGS="-rpath $out/opt/meshlab $NIX_LDFLAGS"
export QMAKESPEC="linux-clang"
pushd external
qmake -recursive external.pro
@@ -53,14 +57,13 @@ in stdenv.mkDerivation {
ln -s $out/opt/meshlab/meshlabserver $out/bin/meshlabserver
'';

buildInputs = [ libGLU qtbase qtscript qtxmlpatterns ];
buildInputs = [ libGLU llvmPackages.openmp qtbase qtscript qtxmlpatterns ];

meta = {
description = "A system for processing and editing 3D triangular meshes.";
homepage = http://www.meshlab.net/;
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
broken = true; # 2018-04-11
};
}
88 changes: 0 additions & 88 deletions pkgs/applications/graphics/meshlab/fix-2016.02.patch

This file was deleted.

25 changes: 25 additions & 0 deletions pkgs/applications/graphics/meshlab/fix-20180627-beta.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/src/meshlabplugins/edit_paint/paintbox.cpp b/src/meshlabplugins/edit_paint/paintbox.cpp
index 2097a5b..6bcd1a4 100644
--- a/src/meshlabplugins/edit_paint/paintbox.cpp
+++ b/src/meshlabplugins/edit_paint/paintbox.cpp
@@ -23,6 +23,7 @@

#include "paintbox.h"
#include <QFileDialog>
+#include <QAction>

Paintbox::Paintbox(QWidget * parent, Qt::WindowFlags flags) : QWidget(parent, flags)
{
diff --git a/src/meshlabplugins/render_gdp/shaderDialog.h b/src/meshlabplugins/render_gdp/shaderDialog.h
index a62d3b5..7eb1594 100644
--- a/src/meshlabplugins/render_gdp/shaderDialog.h
+++ b/src/meshlabplugins/render_gdp/shaderDialog.h
@@ -32,6 +32,8 @@
#include "shaderStructs.h"
#include "ui_shaderDialog.h"
#include <QMap>
+#include <QSlider>
+#include <QLineEdit>

class QGLWidget;

Loading