Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8b6f7b6f03f4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bbec4f5af711
Choose a head ref

Commits on May 22, 2017

  1. grib-api: Add grib-api to pythonPackages

    This provides a default method for using the grib-api python bindings.
    Josef Kemetmueller committed May 22, 2017
    Copy the full SHA
    2ff56a1 View commit details
  2. eccodes: Provide python bindings

    Josef Kemetmueller committed May 22, 2017
    Copy the full SHA
    abdaf5a View commit details

Commits on Jun 6, 2017

  1. synergy: 1.7.6 -> 1.8.8

    benley committed Jun 6, 2017
    Copy the full SHA
    1800838 View commit details
  2. Copy the full SHA
    a64194f View commit details
  3. binutils: Modernize derivation

    No hashes of any sort should be changed
    Ericson2314 committed Jun 6, 2017
    Copy the full SHA
    200ac02 View commit details
  4. gcc*: Remove cross argument and instead use hostPlatform and targetPl…

    …atform
    Ross MacLeod authored and Ericson2314 committed Jun 6, 2017
    Copy the full SHA
    e854685 View commit details
  5. gcc*: Replace stdenv.is* with {host,target}Platform.is*

    Host everywhere would be guaranteed to preserve the old semantics,
    but in a few places it doesn't matter in practice, target is used
    instead for clarity.
    Ericson2314 committed Jun 6, 2017
    Copy the full SHA
    35ed21d View commit details

Commits on Jun 7, 2017

  1. Copy the full SHA
    6518dff View commit details
  2. Copy the full SHA
    e864345 View commit details
  3. Merge pull request #26434 from NeQuissimus/openssl_1_1_0f

    openssl: 1.1.0e -> 1.1.0f
    fpletz authored Jun 7, 2017
    Copy the full SHA
    d110e8d View commit details
  4. Merge pull request #26432 from benley/synergy-1.8.8

    synergy: 1.7.6 -> 1.8.8
    fpletz authored Jun 7, 2017
    Copy the full SHA
    dc1473e View commit details
  5. synergy: broken on darwin

    fpletz committed Jun 7, 2017
    Copy the full SHA
    5788bd8 View commit details
  6. silver-searcher: 1.0.2 -> 2.0.0

    sigma authored and fpletz committed Jun 7, 2017
    Copy the full SHA
    ac0fc38 View commit details
  7. Copy the full SHA
    48996db View commit details
  8. xterm: install desktop file and icon

    ryantm authored and fpletz committed Jun 7, 2017
    Copy the full SHA
    110e038 View commit details
  9. NixOS VM tests: Don't create a setgid group in vde_switch

    Nix no longer allows this for security reasons.
    
    http://hydra.nixos.org/build/53993125
    edolstra committed Jun 7, 2017
    Copy the full SHA
    0996ea8 View commit details
  10. Merge pull request #25990 from knedlsepp/provide-grib-api-python-bind…

    …ings
    
    grib-api: Provide python bindings
    FRidh authored Jun 7, 2017
    Copy the full SHA
    90d5dd3 View commit details
  11. Merge pull request #25992 from knedlsepp/provide-eccodes-python-bindings

    eccodes: Provide python bindings
    FRidh authored Jun 7, 2017
    Copy the full SHA
    9ed3ad1 View commit details
  12. linux: 4.11.3 -> 4.11.4

    NeQuissimus committed Jun 7, 2017
    Copy the full SHA
    66faa42 View commit details
  13. linux: 4.4.70 -> 4.4.71

    NeQuissimus committed Jun 7, 2017
    Copy the full SHA
    01fc1a8 View commit details
  14. linux: 4.9.30 -> 4.9.31

    NeQuissimus committed Jun 7, 2017
    Copy the full SHA
    c7abd69 View commit details
  15. Copy the full SHA
    d22ed21 View commit details
  16. jing-trang: use jre_headless

    This halves its closure size.
    lheckemann authored and fpletz committed Jun 7, 2017
    Copy the full SHA
    3c3a25a View commit details
  17. Copy the full SHA
    d73ef26 View commit details
  18. ImageMagick: 6.9.8-6 -> 6.9.8-9

    oxij authored and fpletz committed Jun 7, 2017
    Copy the full SHA
    6696378 View commit details
  19. Copy the full SHA
    e249d6e View commit details
  20. Copy the full SHA
    db0235c View commit details
  21. Copy the full SHA
    ae6df00 View commit details
  22. Copy the full SHA
    bbec4f5 View commit details
Showing with 285 additions and 280 deletions.
  1. +1 −1 nixos/lib/test-driver/test-driver.pl
  2. +2 −2 pkgs/applications/graphics/ImageMagick/default.nix
  3. +3 −2 pkgs/applications/misc/synergy/default.nix
  4. +3 −0 pkgs/applications/misc/xterm/default.nix
  5. +2 −2 pkgs/applications/networking/irc/irssi/default.nix
  6. +1 −1 pkgs/applications/version-management/gitlab/Gemfile.lock
  7. +4 −2 pkgs/build-support/fetchurl/mirrors.nix
  8. +1 −1 pkgs/build-support/vm/windows/controller/default.nix
  9. +24 −25 pkgs/development/compilers/gcc/4.5/default.nix
  10. +32 −33 pkgs/development/compilers/gcc/4.8/default.nix
  11. +32 −33 pkgs/development/compilers/gcc/4.9/default.nix
  12. +35 −36 pkgs/development/compilers/gcc/5/default.nix
  13. +35 −36 pkgs/development/compilers/gcc/6/default.nix
  14. +34 −35 pkgs/development/compilers/gcc/snapshot/default.nix
  15. +4 −0 pkgs/development/libraries/grib-api/default.nix
  16. +4 −5 pkgs/development/libraries/libtiff/default.nix
  17. +2 −2 pkgs/development/libraries/openssl/default.nix
  18. +22 −0 pkgs/development/python-modules/characteristic/default.nix
  19. +14 −10 pkgs/development/tools/misc/binutils/default.nix
  20. +2 −2 pkgs/os-specific/linux/kernel/linux-4.11.nix
  21. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  22. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  23. +2 −2 pkgs/servers/dns/knot-dns/default.nix
  24. +2 −2 pkgs/tools/text/silver-searcher/default.nix
  25. +3 −3 pkgs/tools/text/xml/jing-trang/default.nix
  26. +0 −27 pkgs/top-level/all-packages.nix
  27. +17 −14 pkgs/top-level/python-packages.nix
2 changes: 1 addition & 1 deletion nixos/lib/test-driver/test-driver.pl
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
if ($pid == 0) {
dup2(fileno($pty->slave), 0);
dup2(fileno($stdoutW), 1);
exec "vde_switch -s $socket" or _exit(1);
exec "vde_switch -s $socket --dirmode 0700" or _exit(1);
}
close $stdoutW;
print $pty "version\n";
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@ let
else throw "ImageMagick is not supported on this platform.";

cfg = {
version = "6.9.8-6";
sha256 = "1sxg2wx3nrzbymh5wcqiv1x401nrz95xkrqgk3x446vx8lq7ln6w";
version = "6.9.8-9";
sha256 = "0wr6wcmvaw62f6pkgnpqnjmp331wfwmds9wmqzr4zv53s9k1lkzn";
patches = [];
}
# Freeze version on mingw so we don't need to port the patch too often.
5 changes: 3 additions & 2 deletions pkgs/applications/misc/synergy/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@ with stdenv.lib;

stdenv.mkDerivation rec {
name = "synergy-${version}";
version = "1.7.6";
version = "1.8.8";

src = fetchFromGitHub {
owner = "symless";
repo = "synergy";
rev = "v${version}-stable";
sha256 = "1bjksvdr74mc3xh11z4fd6qlhgklny51q5r6gqg1bhnvn9dzyrxw";
sha256 = "0ksgr9hkf09h54572p7k7b9zkfhcdb2g2d5x7ixxn028y8i3jyp3";
};

postPatch = ''
@@ -56,5 +56,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = [ maintainers.aszlig ];
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}
3 changes: 3 additions & 0 deletions pkgs/applications/misc/xterm/default.nix
Original file line number Diff line number Diff line change
@@ -49,6 +49,9 @@ stdenv.mkDerivation rec {
for bin in $out/bin/*; do
wrapProgram $bin --set XAPPLRESDIR $out/lib/X11/app-defaults/
done
install -D -t $out/share/applications xterm.desktop
install -D -t $out/share/icons/hicolor/48x48/apps icons/xterm-color_48x48.xpm
'';

meta = {
4 changes: 2 additions & 2 deletions pkgs/applications/networking/irc/irssi/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintlOrEmpty }:

stdenv.mkDerivation rec {
version = "1.0.2";
version = "1.0.3";
name = "irssi-${version}";

src = fetchurl {
url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
sha256 = "1fas6dqz6g8m2400spvkhfxihj3w06qb917h4vhcb716g9wpjkwf";
sha256 = "08nfm1pcf2b9npnp83175yi2vcwnhjdiwsq8whz7iky33hlhvijk";
};

nativeBuildInputs = [ pkgconfig ];
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/gitlab/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -920,7 +920,7 @@ DEPENDENCIES
mysql2 (~> 0.3.16)
net-ssh (~> 3.0.1)
newrelic_rpm (~> 3.16)
nokogiri (~> 1.6.7, >= 1.6.7.2)
nokogiri (< 1.6.8, ~> 1.6.7, >= 1.6.7.2)
oauth2 (~> 1.2.0)
octokit (~> 4.6.2)
oj (~> 2.17.4)
6 changes: 4 additions & 2 deletions pkgs/build-support/fetchurl/mirrors.nix
Original file line number Diff line number Diff line change
@@ -141,9 +141,11 @@ rec {
http://bitlbee.intergenia.de/
];

# ImageMagick mirrors, see http://www.imagemagick.org/script/download.php.
# ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
imagemagick = [
http://www.imagemagick.org/download/
https://www.imagemagick.org/download/
https://mirror.checkdomain.de/imagemagick/
https://ftp.nluug.nl/ImageMagick/
ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ # also contains older versions removed from most mirrors
http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/
ftp://ftp.imagemagick.org/pub/ImageMagick/
2 changes: 1 addition & 1 deletion pkgs/build-support/vm/windows/controller/default.nix
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@ let
MONITOR_SOCKET="$(pwd)/monitor"
WINVM_PIDFILE="$(pwd)/winvm.pid"
CTRLVM_PIDFILE="$(pwd)/ctrlvm.pid"
${vde2}/bin/vde_switch -s "$QEMU_VDE_SOCKET" &
${vde2}/bin/vde_switch -s "$QEMU_VDE_SOCKET" --dirmode 0700 &
echo 'alive?' | ${socat}/bin/socat - \
UNIX-CONNECT:$QEMU_VDE_SOCKET/ctl,retry=20
'';
49 changes: 24 additions & 25 deletions pkgs/development/compilers/gcc/4.5/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@
, gnatboot ? null
, enableMultilib ? false
, name ? "gcc"
, cross ? null
, libcCross ? null
, crossStageStatic ? true
, gnat ? null
@@ -65,22 +64,22 @@ let version = "4.5.4";
javaAwtGtk = langJava && gtk2 != null;

/* Cross-gcc settings */
gccArch = stdenv.lib.attrByPath [ "gcc" "arch" ] null cross;
gccCpu = stdenv.lib.attrByPath [ "gcc" "cpu" ] null cross;
gccAbi = stdenv.lib.attrByPath [ "gcc" "abi" ] null cross;
gccArch = stdenv.lib.attrByPath [ "gcc" "arch" ] null targetPlatform;
gccCpu = stdenv.lib.attrByPath [ "gcc" "cpu" ] null targetPlatformt;
gccAbi = stdenv.lib.attrByPath [ "gcc" "abi" ] null targetPlatform;
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
crossMingw = (cross != null && cross.libc == "msvcrt");
crossMingw = (targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt");

crossConfigureFlags =
"--target=${cross.config}" +
"--target=${targetPlatform.config}" +
withArch +
withCpu +
withAbi +
# Ensure that -print-prog-name is able to find the correct programs.
" --with-as=${binutils}/bin/${cross.config}-as" +
" --with-ld=${binutils}/bin/${cross.config}-ld" +
" --with-as=${binutils}/bin/${targetPlatform.config}-as" +
" --with-ld=${binutils}/bin/${targetPlatform.config}-ld" +
(if crossMingw && crossStageStatic then
" --with-headers=${libcCross}/include" +
" --with-gcc" +
@@ -120,7 +119,7 @@ let version = "4.5.4";
);
stageNameAddon = if crossStageStatic then "-stage-static" else
"-stage-final";
crossNameAddon = if cross != null then "-${cross.config}" + stageNameAddon else "";
crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";

in

@@ -139,7 +138,7 @@ stdenv.mkDerivation ({

hardeningDisable = [ "format" ] ++ optional (name != "gnat") "all";

outputs = if (stdenv.is64bit && langAda) then [ "out" "doc" ]
outputs = if (hostPlatform.is64bit && langAda) then [ "out" "doc" ]
else [ "out" "lib" "doc" ];
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@@ -148,7 +147,7 @@ stdenv.mkDerivation ({

patches =
[ ]
++ optional (cross != null) ../libstdc++-target.patch
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ./no-sys-dirs.patch
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
# target libraries and tools.
@@ -161,7 +160,7 @@ stdenv.mkDerivation ({
|| (libcCross != null # e.g., building `gcc.crossDrv'
&& libcCross ? crossConfig
&& libcCross.crossConfig == "i586-pc-gnu")
|| (cross != null && cross.config == "i586-pc-gnu"
|| (targetPlatform != hostPlatform && targetPlatform.config == "i586-pc-gnu"
&& libcCross != null))
then
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
@@ -197,7 +196,7 @@ stdenv.mkDerivation ({
sed -i gcc/config/t-gnu \
-es'|NATIVE_SYSTEM_HEADER_DIR.*$|NATIVE_SYSTEM_HEADER_DIR = ${libc.dev}/include|g'
''
else if cross != null || stdenv.cc.libc != null then
else if targetPlatform != hostPlatform || stdenv.cc.libc != null then
# On NixOS, use the right path to the dynamic linker instead of
# `/lib/ld*.so'.
let
@@ -227,7 +226,7 @@ stdenv.mkDerivation ({
++ (optional langJava boehmgc)
++ (optionals langJava [zip unzip])
++ (optionals javaAwtGtk ([gtk2 pkgconfig libart_lgpl] ++ xlibs))
++ (optionals (cross != null) [binutils])
++ (optionals (targetPlatform != hostPlatform) [binutils])
++ (optionals langAda [gnatboot])
++ (optionals langVhdl [gnat])
;
@@ -265,13 +264,13 @@ stdenv.mkDerivation ({
)
}
${ # Trick that should be taken out once we have a mips64el-linux not loongson2f
if cross == null && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
if targetPlatform == hostPlatform && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
${if langAda then " --enable-libada" else ""}
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
${if cross != null then crossConfigureFlags else ""}
${if targetPlatform == hostPlatform && targetPlatform.isi686 then "--with-arch=i686" else ""}
${if targetPlatform != hostPlatform then crossConfigureFlags else ""}
";

targetConfig = if cross != null then cross.config else null;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;

crossAttrs = {
AR = "${targetPlatform.config}-ar";
@@ -284,7 +283,7 @@ stdenv.mkDerivation ({
NM_FOR_TARGET = "${targetPlatform.config}-nm";
CXX_FOR_TARGET = "${targetPlatform.config}-g++";
# If we are making a cross compiler, cross != null
NIX_CC_CROSS = if cross == null then "${stdenv.ccCross}" else "";
NIX_CC_CROSS = if targetPlatform == hostPlatform then "${stdenv.ccCross}" else "";
dontStrip = true;
configureFlags = ''
${if enableMultilib then "" else "--disable-multilib"}
@@ -312,8 +311,8 @@ stdenv.mkDerivation ({
)
}
${if langAda then " --enable-libada" else ""}
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
${if cross != null then crossConfigureFlags else ""}
${if targetplatform == hostPlatform && targetPlatform.isi686 then "--with-arch=i686" else ""}
${if targetPlatform != hostPlatform then crossConfigureFlags else ""}
--target=${targetPlatform.config}
'';
};
@@ -357,7 +356,7 @@ stdenv.mkDerivation ({
++ optional (libpthread != null) libpthread);

EXTRA_TARGET_CFLAGS =
if cross != null && libcCross != null then [
if targetPlatform != hostPlatform && libcCross != null then [
"-idirafter ${libcCross.dev}/include"
]
++ optionals (! crossStageStatic) [
@@ -366,7 +365,7 @@ stdenv.mkDerivation ({
else null;

EXTRA_TARGET_LDFLAGS =
if cross != null && libcCross != null then [
if targetPlatform != hostPlatform && libcCross != null then [
"-Wl,-L${libcCross.out}/lib"
]
++ (if crossStageStatic then [
@@ -412,14 +411,14 @@ stdenv.mkDerivation ({
};
}

// optionalAttrs (cross != null || libcCross != null) {
// optionalAttrs (targetPlatform != hostPlatform || libcCross != null) {
# `builder.sh' sets $CPP, which leads configure to use "gcc -E" instead of,
# say, "i586-pc-gnu-gcc -E" when building `gcc.crossDrv'.
# FIXME: Fix `builder.sh' directly in the next stdenv-update.
postUnpack = "unset CPP";
}

// optionalAttrs (cross != null && cross.libc == "msvcrt" && crossStageStatic) {
// optionalAttrs (targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt" && crossStageStatic) {
makeFlags = [ "all-gcc" "all-target-libgcc" ];
installTargets = "install-gcc install-target-libgcc";
}
Loading