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: 60b53847803f
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: e357eb049c63
Choose a head ref
  • 19 commits
  • 19 files changed
  • 12 contributors

Commits on Apr 8, 2018

  1. haskellPackages.blank-canvas: disable tests

    The tests require a browser and possibly some manual
    intervention. See ku-fpg/blank-canvas#73
    endgame committed Apr 8, 2018
    Copy the full SHA
    2d01bb7 View commit details
  2. Whitespace lint

    endgame committed Apr 8, 2018
    Copy the full SHA
    c2ce707 View commit details
  3. nix-pin: init at 0.1.2

    timbertson committed Apr 8, 2018
    Copy the full SHA
    a1cf616 View commit details

Commits on Apr 9, 2018

  1. git: 2.16.2 -> 2.17.0

    layus committed Apr 9, 2018
    Copy the full SHA
    5d65b4e View commit details
  2. Merge pull request #38374 from timbertson/nix-pin

    nix-pin: init at 0.1.2
    Mic92 authored Apr 9, 2018
    Copy the full SHA
    9392b10 View commit details
  3. linux kernel generic: use passAsFile for kernelConfig

    Otherwise get the error 'Argument list too long' when running builder
    with a very long kernelConfig
    martinetd committed Apr 9, 2018
    Copy the full SHA
    b64f407 View commit details
  4. Merge pull request #38626 from martinetd/kernelConfigAsFile

    linux kernel generic: use passAsFile for kernelConfig
    Mic92 authored Apr 9, 2018
    Copy the full SHA
    3458776 View commit details
  5. nixos/tests.chromium: actually notice the tab crash

    Argh, debugging NixOS tests takes forever…
    
    (cherry picked from commit 1afb6e7)
    7c6f434c committed Apr 9, 2018
    Copy the full SHA
    c78c764 View commit details
  6. Merge pull request #38636 from layus/git-2.17.0

    git: 2.16.2 -> 2.17.0
    peti authored Apr 9, 2018
    Copy the full SHA
    1cdcc19 View commit details
  7. python.pkgs.cached-property: 1.4.0 -> 1.4.2

    Robert Schütz committed Apr 9, 2018
    Copy the full SHA
    e070046 View commit details
  8. sbt: 1.1.2 -> 1.1.3

    NeQuissimus committed Apr 9, 2018
    Copy the full SHA
    2ab8462 View commit details
  9. xalanc: /usr -> /

    domenkozar committed Apr 9, 2018
    Copy the full SHA
    2e0dfb4 View commit details
  10. Copy the full SHA
    c7acd93 View commit details
  11. Merge pull request #38613 from endgame/blank-canvas-dontcheck

    haskellPackages.blank-canvas: disable tests
    peti authored Apr 9, 2018
    Copy the full SHA
    62e06d9 View commit details
  12. Merge pull request #38119 from timokau/tachyon-improvements

    tachyon: Add support for jpeg, png, more platforms
    7c6f434c authored Apr 9, 2018
    Copy the full SHA
    b39f539 View commit details
  13. Copy the full SHA
    2206adb View commit details
  14. zsh: 5.4.2 -> 5.5

    hedning committed Apr 9, 2018
    Copy the full SHA
    9d53bc3 View commit details
  15. abcmidi: 2018.03.21 -> 2018.04.01

    Robert Schütz committed Apr 9, 2018
    Copy the full SHA
    760602f View commit details
  16. Merge pull request #38652 from hedning/zsh-5.5

    zsh: 5.4.2 -> 5.5
    Mic92 authored Apr 9, 2018
    Copy the full SHA
    e357eb0 View commit details
24 changes: 22 additions & 2 deletions nixos/tests/chromium.nix
Original file line number Diff line number Diff line change
@@ -151,11 +151,11 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
$machine->screenshot("sandbox_info");
$machine->succeed(ru "${xdo "submit-url" ''
$machine->succeed(ru "${xdo "find-window" ''
search --sync --onlyvisible --name "sandbox status"
windowfocus --sync
''}");
$machine->succeed(ru "${xdo "submit-url" ''
$machine->succeed(ru "${xdo "copy-sandbox-info" ''
key --delay 1000 Ctrl+a Ctrl+c
''}");
@@ -166,6 +166,26 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
&& $clipboard =~ /network namespaces.*yes/mi
&& $clipboard =~ /seccomp.*sandbox.*yes/mi
&& $clipboard =~ /you are adequately sandboxed/mi;
$machine->sleep(1);
$machine->succeed(ru "${xdo "find-window-after-copy" ''
search --onlyvisible --name "sandbox status"
''}");
my $clipboard = $machine->succeed(ru "echo void | ${pkgs.xclip}/bin/xclip -i");
$machine->succeed(ru "${xdo "copy-sandbox-info" ''
key --delay 1000 Ctrl+a Ctrl+c
''}");
my $clipboard = $machine->succeed(ru "${pkgs.xclip}/bin/xclip -o");
die "copying twice in a row does not work properly: $clipboard"
unless $clipboard =~ /namespace sandbox.*yes/mi
&& $clipboard =~ /pid namespaces.*yes/mi
&& $clipboard =~ /network namespaces.*yes/mi
&& $clipboard =~ /seccomp.*sandbox.*yes/mi
&& $clipboard =~ /you are adequately sandboxed/mi;
$machine->screenshot("afer_copy_from_chromium");
};
$machine->shutdown;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
}:

let
version = "2.16.2";
version = "2.17.0";
svn = subversionClient.override { perlBindings = true; };
in

@@ -22,7 +22,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "05y7480f2p7fkncbhf08zz56jbykcp0ia5gl6y3djs0lsa5mfq2m";
sha256 = "1ismz7nsz8dgjmk782xr9s0mr2qh06f72pdcgbxfmnw1bvlya5p9";
};

hardeningDisable = [ "format" ];
Original file line number Diff line number Diff line change
@@ -2,19 +2,19 @@ This patch does two things: (1) use the right name for `docbook2texi',
and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
node names).

diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
--- git-1.8.4-orig/Documentation/Makefile 2013-08-23 21:38:43.000000000 +0200
+++ git-1.8.4/Documentation/Makefile 2013-09-30 14:48:51.532890378 +0200
@@ -101,7 +101,7 @@
diff --git a/Documentation/Makefile b/Documentation/Makefile
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -122,7 +122,7 @@

MAKEINFO = makeinfo
INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi
+DOCBOOK2X_TEXI = docbook2texi
DBLATEX = dblatex
ifndef PERL_PATH
PERL_PATH = /usr/bin/perl
@@ -205,7 +205,7 @@
ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
@@ -240,7 +240,7 @@
man5: $(DOC_MAN5)
man7: $(DOC_MAN7)

@@ -23,7 +23,7 @@ diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile

pdf: user-manual.pdf

@@ -221,10 +221,9 @@
@@ -256,10 +256,9 @@

install-info: info
$(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 8060ea35c..c81067a19 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -203,8 +203,7 @@ a password is obtained using 'git-credential'.
@@ -208,8 +208,7 @@ a password is obtained using 'git-credential'.
specify a full pathname of a sendmail-like program instead;
the program must support the `-i` option. Default value can
be specified by the `sendemail.smtpServer` configuration
- option; the built-in default is to search for `sendmail` in
- `/usr/sbin`, `/usr/lib` and $PATH if such program is
+ option; the built-in default is to search in $PATH if such program is
+ option; the built-in default is to search in $PATH if such program is
available, falling back to `localhost` otherwise.

--smtp-server-port=<port>::
diff --git a/git-send-email.perl b/git-send-email.perl
index edcc6d346..8e357aeab 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -885,8 +885,7 @@ if (defined $initial_reply_to) {
@@ -944,8 +944,7 @@ if (defined $reply_to) {
}

if (!defined $smtp_server) {
Original file line number Diff line number Diff line change
@@ -6,15 +6,15 @@

-# First decide what scheme to use...
-GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
-if test -n "@@USE_GETTEXT_SCHEME@@"
-if test -n "$GIT_GETTEXT_POISON"
-then
- GIT_INTERNAL_GETTEXT_SH_SCHEME=poison
-elif test -n "@@USE_GETTEXT_SCHEME@@"
-then
- GIT_INTERNAL_GETTEXT_SH_SCHEME="@@USE_GETTEXT_SCHEME@@"
-elif test -n "$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS"
-then
- : no probing necessary
-elif test -n "$GIT_GETTEXT_POISON"
-then
- GIT_INTERNAL_GETTEXT_SH_SCHEME=poison
-elif type gettext.sh >/dev/null 2>&1
-then
- # GNU libintl's gettext.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile
--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200
+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200
@@ -2319,8 +2319,7 @@
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -2609,8 +2609,7 @@
{ test "$$bindir/" = "$$execdir/" || \
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
$(RM) "$$execdir/$$p" && \
5 changes: 4 additions & 1 deletion pkgs/development/haskell-modules/configuration-nix.nix
Original file line number Diff line number Diff line change
@@ -203,7 +203,7 @@ self: super: builtins.intersectAttrs super {
# Tries to mess with extended POSIX attributes, but can't in our chroot environment.
xattr = dontCheck super.xattr;

# Needs access to locale data, but looks for it in the wrong place.
# Needs access to locale data, but looks for it in the wrong place.
scholdoc-citeproc = dontCheck super.scholdoc-citeproc;

# Expect to find sendmail(1) in $PATH.
@@ -498,4 +498,7 @@ self: super: builtins.intersectAttrs super {
LDAP = dontCheck (overrideCabal super.LDAP (drv: {
librarySystemDepends = drv.librarySystemDepends or [] ++ [ pkgs.cyrus_sasl.dev ];
}));

# Tests require a browser: https://github.com/ku-fpg/blank-canvas/issues/73
blank-canvas = dontCheck super.blank-canvas;
}
53 changes: 47 additions & 6 deletions pkgs/development/libraries/tachyon/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,57 @@
{stdenv, fetchurl}:
{ stdenv
, fetchurl
, fetchpatch
, Carbon ? null
, libjpeg ? null
, libpng ? null
, withJpegSupport ? true # support jpeg output
, withPngSupport ? true # support png output
}:

assert withJpegSupport -> libjpeg != null;
assert withPngSupport -> libpng != null;
assert stdenv.isDarwin -> Carbon != null;

stdenv.mkDerivation rec {
name = "tachyon-${version}";
version = "0.99b2";
src = fetchurl {
url = "http://jedi.ks.uiuc.edu/~johns/tachyon/files/${version}/${name}.tar.gz";
sha256 = "04m0bniszyg7ryknj8laj3rl5sspacw5nr45x59j2swcsxmdvn1v";
};
buildInputs = [];
preBuild = "cd unix";
arch = if stdenv.system == "x86_64-linux" then "linux-64-thr" else
if stdenv.system == "i686-linux" then "linux-thr" else
buildInputs = stdenv.lib.optionals stdenv.isDarwin [
Carbon
] ++ stdenv.lib.optionals withJpegSupport [
libjpeg
] ++ stdenv.lib.optionals withPngSupport [
libpng
];
preBuild = ''
cd unix
'' + stdenv.lib.optionalString withJpegSupport ''
export USEJPEG=" -DUSEJPEG"
export JPEGLIB=" -ljpeg"
'' + stdenv.lib.optionalString withPngSupport ''
export USEPNG=" -DUSEPNG"
export PNGLIB=" -lpng -lz"
'';
arch = if stdenv.system == "x86_64-linux" then "linux-64-thr" else
if stdenv.system == "i686-linux" then "linux-thr" else
if stdenv.system == "aarch64-linux" then "linux-arm-thr" else
if stdenv.system == "x86_64-darwin" then "macosx-thr" else
if stdenv.system == "i686-darwin" then "macosx-64-thr" else
if stdenv.system == "i686-cygwin" then "win32" else
if stdenv.system == "x86_64-freebsd" then "bsd" else
if stdenv.system == "x686-freebsd" then "bsd" else
throw "Don't know what arch to select for tachyon build";
makeFlags = "${arch}";
patches = [
# Remove absolute paths in Make-config (and unset variables so they can be set in preBuild)
./no-absolute-paths.patch
# Include new targets (like arm)
./make-archs.patch
];

installPhase = ''
cd ../compile/${arch}
mkdir -p "$out"/{bin,lib,include,share/doc/tachyon,share/tachyon}
@@ -26,7 +66,8 @@ stdenv.mkDerivation rec {
description = ''A Parallel / Multiprocessor Ray Tracing System'';
license = stdenv.lib.licenses.bsd3;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
# darwin fails due to missing Carbon.h, even though Carbon is a build input
platforms = with stdenv.lib.platforms; linux ++ cygwin;
homepage = http://jedi.ks.uiuc.edu/~johns/tachyon/;
};
}
37 changes: 37 additions & 0 deletions pkgs/development/libraries/tachyon/make-archs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
diff --git a/unix/Make-arch b/unix/Make-arch
index 08afb85..dbeb691 100644
--- a/unix/Make-arch
+++ b/unix/Make-arch
@@ -920,6 +920,15 @@ macosx:
"RANLIB = ranlib" \
"LIBS = -L. -ltachyon $(MISCLIB)"

+macosx-64:
+ $(MAKE) all \
+ "ARCH = macosx" \
+ "CFLAGS = -Os -m64 -ffast-math -DBsd $(MISCFLAGS)" \
+ "ARFLAGS = r" \
+ "STRIP = strip" \
+ "RANLIB = ranlib" \
+ "LIBS = -L. -ltachyon $(MISCLIB)"
+
macosx-thr:
$(MAKE) all \
"ARCH = macosx-thr" \
@@ -1209,6 +1218,16 @@ linux-thr:
"RANLIB = ranlib" \
"LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"

+# Linux Arm using gcc, with threads
+linux-arm-thr:
+ $(MAKE) all \
+ "ARCH = linux-arm-thr" \
+ "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux -DTHR -D_REENTRANT $(MISCFLAGS)" \
+ "ARFLAGS = r" \
+ "STRIP = strip" \
+ "RANLIB = ranlib" \
+ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"
+
# Linux x86 using gcc, threads, and OpenGL
linux-thr-ogl:
$(MAKE) all \
57 changes: 57 additions & 0 deletions pkgs/development/libraries/tachyon/no-absolute-paths.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
diff --git a/unix/Make-config b/unix/Make-config
index ee4f388..c1d51d4 100644
--- a/unix/Make-config
+++ b/unix/Make-config
@@ -18,7 +18,7 @@
# Bourne Shell Configuration:
# set SHELL=/bin/sh or wherever your bourne shell is
##########################################################################
-SHELL=/bin/sh
+# SHELL=/bin/sh



@@ -30,7 +30,7 @@ SHELL=/bin/sh

# The following line should be set to -Ixxx where xxx is your X11 include path
# Sun puts X11 in /usr/openwin/xxx
-X11INC= -I/usr/openwin/include
+# X11INC= -I/usr/openwin/include

# Others typically use /usr/X11 or /usr/X11R6
#X11INC= -I/usr/X11
@@ -57,7 +57,7 @@ X11LIB= -lX11
##########################################################################

# Standard MPICH installation location
-MPIDIR=/usr/local/mpi
+# MPIDIR=/usr/local/mpi

# UMR CS Dept
#MPIDIR=/software/all/mpi
@@ -108,9 +108,9 @@ MBOX=
# http://www.ijg.org/files/
##########################################################################
# Uncomment the following lines to disable JPEG support
-USEJPEG=
-JPEGINC=
-JPEGLIB=
+# USEJPEG=
+# JPEGINC=
+# JPEGLIB=

# Uncomment the following lines to enable JPEG support
#USEJPEG= -DUSEJPEG
@@ -128,9 +128,9 @@ JPEGLIB=
# http://www.libpng.org/
##########################################################################
# Uncomment the following lines to disable PNG support
-USEPNG=
-PNGINC=
-PNGLIB=
+# USEPNG=
+# PNGINC=
+# PNGLIB=

# Uncomment the following lines to enable PNG support
#USEPNG= -DUSEPNG
5 changes: 2 additions & 3 deletions pkgs/development/libraries/xalanc/default.nix
Original file line number Diff line number Diff line change
@@ -13,12 +13,11 @@ in stdenv.mkDerivation rec {
sha256 = "0a3a2b15vpacnqgpp6fiy1pwyc8q6ywzvyb5445f6wixfdspypjg";
};

# TODO: should we really be putting outputs in $out/usr? I'd expect -P$out below
configurePhase = ''
export XALANCROOT=`pwd`/c
cd `pwd`/c
mkdir -p $out/usr
./runConfigure -p ${platform} -c cc -x c++ -P$out/usr
mkdir -p $out
./runConfigure -p ${platform} -c cc -x c++ -P$out
'';

buildInputs = [ xercesc getopt ];
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/cached-property/default.nix
Original file line number Diff line number Diff line change
@@ -7,15 +7,14 @@

buildPythonPackage rec {
pname = "cached-property";
version = "1.4.0";
version = "1.4.2";

# conftest.py is missing in PyPI tarball
# https://github.com/pydanny/cached-property/pull/87
src = fetchFromGitHub {
owner = "pydanny";
repo = pname;
rev = version;
sha256 = "0w7709grs4yqhfbnn7lva2fgyphvh43xcfqhi95lhh8sjad3xwkw";
sha256 = "0gjmgfilhljkx2b60cjikwh55jg2jwxhwi8hgkrzdnzk465ywhrw";
};

checkInputs = [ pytest freezegun ];
4 changes: 2 additions & 2 deletions pkgs/development/tools/build-managers/sbt/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

stdenv.mkDerivation rec {
name = "sbt-${version}";
version = "1.1.2";
version = "1.1.3";

src = fetchurl {
urls = [
"https://dl.bintray.com/sbt/native-packages/sbt/${version}/${name}.tgz"
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
"https://cocl.us/sbt-${version}.tgz"
];
sha256 = "0w6j9isrcr1iqrwjlpv73l09wyqknd426almnpnzmqd1m10wwxsz";
sha256 = "1pqw70qghzp6k0wal9nzqrd6wis0ha23i06s04l6wrf6kkc77ski";
};

patchPhase = ''
Loading