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: e0e29a5996ec
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: 2a7c3484fd22
Choose a head ref
  • 14 commits
  • 12 files changed
  • 8 contributors

Commits on Mar 13, 2019

  1. nodejs-11_x: 11.7.0 -> 11.11.0 (security)

    https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V11.md
    
    (see notes for all versions after 11.7.0)
    
    (cherry picked from commit 5d52779)
    dtzWill authored and andir committed Mar 13, 2019
    Copy the full SHA
    1bb2bcf View commit details
  2. Copy the full SHA
    9781b2c View commit details
  3. Copy the full SHA
    3ada76e View commit details
  4. Copy the full SHA
    69fabc2 View commit details

Commits on Mar 18, 2019

  1. PuTTY: 0.70 -> 0.71

    (cherry picked from commit 9d95c9d)
    tokudan committed Mar 18, 2019
    Copy the full SHA
    c6733c5 View commit details
  2. ghc{822,863}Binary: fix to work w/musl again, __strdup -> strdup

    (cherry picked from commit 9a10434)
    dtzWill committed Mar 18, 2019
    Copy the full SHA
    8830b12 View commit details
  3. ghc*Binary: use $OBJCOPY when invoking objcopy (touchup musl fix)

    (cherry picked from commit 93e3eec)
    dtzWill committed Mar 18, 2019
    Copy the full SHA
    ac40691 View commit details
  4. Merge pull request #57570 from andir/19.03/nodejs

    [19.03] nodejs_{6,8,10,11}_x: update, security fixes
    andir authored Mar 18, 2019
    Copy the full SHA
    9fea0be View commit details
  5. meld: fix checkPhase

    Needs some more inputs after checkInputs went native.
    
    (cherry picked from commit 99fac0a967e76ef85303f16a051208627995703b)
    (cherry picked from commit 4a75888)
    hedning authored and xeji committed Mar 18, 2019
    Copy the full SHA
    6a0bc21 View commit details
  6. Merge branch 'pr-57865' into release-19.03

    * pr-57865:
      PuTTY: 0.70 -> 0.71
    Ekleog committed Mar 18, 2019
    Copy the full SHA
    d6dca3a View commit details
  7. commandergenius: update and move to gitlab (#57740)

    update and move to gitlab (repo has moved)
    update fixes build (https://hydra.nixos.org/build/90482453/nixlog/2) for #56826
    
    (cherry picked from commit 84903aa)
    stephengroat authored and xeji committed Mar 18, 2019
    Copy the full SHA
    74e25d2 View commit details
  8. python.pkgs.distro: Re-enable the package for now

    Most tests are fine (only 20 out of 173 fail, 10 because lsb_release is
    not available or returns exit code 3 and the other 10 might also fail
    due to the sandboxed build environment).
    Manual tests show that distro works as intended in a normal environment.
    
    See NixOS/nixpkgs@9382d2e
    
    (cherry picked from commit 871cd75)
    Reason: The package works as expected outside of the build sandbox and
    the packages google-cloud-sdk-gce and google-compute-engine depend on it
    (and soon also gns3-gui and gns3-server).
    primeos committed Mar 18, 2019
    Copy the full SHA
    c857cab View commit details
  9. arx-libertatis: 2018-08-26 -> 2019-02-16 (#57873)

    (cherry picked from commit d10f3e9)
    rnhmjoj authored and xeji committed Mar 18, 2019
    Copy the full SHA
    7827ea7 View commit details
  10. Merge pull request #57877 from primeos/backports

    [19.03] python.pkgs.distro: Re-enable the package
    primeos authored Mar 18, 2019
    Copy the full SHA
    2a7c348 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/networking/remote/putty/default.nix
Original file line number Diff line number Diff line change
@@ -3,15 +3,15 @@
}:

stdenv.mkDerivation rec {
version = "0.70";
version = "0.71";
name = "putty-${version}";

src = fetchurl {
urls = [
"https://the.earth.li/~sgtatham/putty/${version}/${name}.tar.gz"
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${name}.tar.gz"
];
sha256 = "1gmhwwj1y7b5hgkrkxpf4jddjpk9l5832zq5ibhsiicndsfs92mv";
sha256 = "1f66iss0kqk982azmxbk4xfm2i1csby91vdvly6cr04pz3i1r4rg";
};

preConfigure = lib.optionalString stdenv.hostPlatform.isUnix ''
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/meld/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
gtk3 gtksourceview gnome3.gsettings-desktop-schemas gnome3.adwaita-icon-theme
];
propagatedBuildInputs = with python3.pkgs; [ pygobject3 pycairo ];
checkInputs = [ xvfb_run python3.pkgs.pytest dbus ];
checkInputs = [ xvfb_run python3.pkgs.pytest dbus gtksourceview gtk3 ];

installPhase = ''
runHook preInstall
9 changes: 9 additions & 0 deletions pkgs/development/compilers/ghc/8.2.2-binary.nix
Original file line number Diff line number Diff line change
@@ -107,6 +107,15 @@ stdenv.mkDerivation rec {
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
'' +
# We're kludging a glibc bindist into working with non-glibc...
# Here we patch up the use of `__strdup` (part of glibc binary ABI)
# to instead use `strdup` since musl doesn't provide __strdup
# (`__strdup` is defined to be an alias of `strdup` anyway[1]).
# [1] http://refspecs.linuxbase.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/baselib---strdup-1.html
# Use objcopy magic to make the change:
stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
find ./ghc-${version}/rts -name "libHSrts*.a" -exec ''${OBJCOPY:-objcopy} --redefine-sym __strdup=strdup {} \;
'';

configurePlatforms = [ ];
9 changes: 9 additions & 0 deletions pkgs/development/compilers/ghc/8.6.3-binary.nix
Original file line number Diff line number Diff line change
@@ -99,6 +99,15 @@ stdenv.mkDerivation rec {
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
'' +
# We're kludging a glibc bindist into working with non-glibc...
# Here we patch up the use of `__strdup` (part of glibc binary ABI)
# to instead use `strdup` since musl doesn't provide __strdup
# (`__strdup` is defined to be an alias of `strdup` anyway[1]).
# [1] http://refspecs.linuxbase.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/baselib---strdup-1.html
# Use objcopy magic to make the change:
stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
find ./ghc-${version}/rts -name "libHSrts*.a" -exec ''${OBJCOPY:-objcopy} --redefine-sym __strdup=strdup {} \;
'';

configurePlatforms = [ ];
16 changes: 9 additions & 7 deletions pkgs/development/python-modules/distro/default.nix
Original file line number Diff line number Diff line change
@@ -4,23 +4,25 @@ buildPythonPackage rec {
pname = "distro";
version = "1.4.0";

src = fetchPypi {
inherit pname version;
sha256 = "0mrg75w4ap7mdzyga75yaid9n8bgb345ih5mwjp3plj6v1jxwb9n";
};

# TODO: Enable more tests on NixOS (20 out of 173 are failing, 10 due to the
# missing lsb_release binary):
patches = [ ./nixos.patch ];

checkInputs = [ pytest pytestcov ];

checkPhase = ''
py.test
'';

src = fetchPypi {
inherit pname version;
sha256 = "362dde65d846d23baee4b5c058c8586f219b5a54be1cf5fc6ff55c4578392f57";
};

meta = with stdenv.lib; {
homepage = https://github.com/nir0s/distro;
description = "Linux Distribution - a Linux OS platform information API.";
license = licenses.asl20;
maintainers = with maintainers; [ nand0p ];
# Many failing tests
broken = true;
};
}
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/distro/nixos.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
diff --git a/tests/test_distro.py b/tests/test_distro.py
index 5521068..4e1bab8 100644
--- a/tests/test_distro.py
+++ b/tests/test_distro.py
@@ -432,7 +432,7 @@ class TestOSRelease:
self._test_outcome(desired_outcome)


-@pytest.mark.skipif(not IS_LINUX, reason='Irrelevant on non-linux')
+@pytest.mark.skip(reason='lsb_release is not available and would return exit code 3')
class TestLSBRelease(DistroTestCase):

def setup_method(self, test_method):
@@ -919,7 +919,7 @@ class TestDistroRelease:
self._test_outcome(desired_outcome, 'cloudlinux', '7', 'redhat')


-@pytest.mark.skipif(not IS_LINUX, reason='Irrelevant on non-linux')
+@pytest.mark.skip(reason='Unknown (TODO)')
class TestOverall(DistroTestCase):
"""Test a LinuxDistribution object created with default arguments.

@@ -1618,7 +1618,7 @@ def _bad_os_listdir(path='.'):
raise OSError()


-@pytest.mark.skipIf(not IS_LINUX, reason='Irrelevant on non-linx')
+@pytest.mark.skip(reason='Unknown (TODO)')
class TestOverallWithEtcNotReadable(TestOverall):
def setup_method(self, test_method):
self._old_listdir = os.listdir
4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v10.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "10.15.0";
sha256 = "0gnygq4n7aar4jrynnnslxhlrlrml9f1n9passvj2fxqfi6b6ykr";
version = "10.15.3";
sha256 = "1mcijznh481s44i59p571a38bfvcxm9f8x2l0l1005aly0kdj8jf";
}
4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v11.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "11.7.0";
sha256 = "18md1xz055rxds4i831rmmya0xda7cc0wdmr1jnj8vigfbcbvzh7";
version = "11.11.0";
sha256 = "1732jv95xza8813wk7qy22jxh2x9lnc9lr0rqkql7ggf03wymn56";
}
4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v6.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "6.16.0";
sha256 = "0ikmpn1kvp5q8andmiyhpr99zniqs86sdlfk31sj3k0wvalq420d";
version = "6.17.0";
sha256 = "0j17cpl1mbqvbaa0bk9n3nd34jdyljbvm53gx8n64bhwly7cgnn1";
}
4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v8.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "8.15.0";
sha256 = "0cy6lzk9sn545kkc0jviv0k0hn30kindrpkkkmv3zk2774rj71cn";
version = "8.15.1";
sha256 = "1ldd4p7cf7bjl4yg9d91khzd9662g3wda7g1yr0ljqjjyjiqcr3b";
}
34 changes: 23 additions & 11 deletions pkgs/games/arx-libertatis/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
{ stdenv, fetchFromGitHub, cmake, zlib, boost,
openal, glm, freetype, libGLU_combined, glew, SDL2,
dejavu_fonts, inkscape, optipng, imagemagick }:
{ stdenv, fetchFromGitHub, cmake, zlib, boost
, openal, glm, freetype, libGLU, SDL2, epoxy
, dejavu_fonts, inkscape, optipng, imagemagick
, withCrashReporter ? !stdenv.isDarwin
, qt5 ? null
, curl ? null
, gdb ? null
}:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "arx-libertatis-${version}";
version = "2018-08-26";
version = "2019-02-16";

src = fetchFromGitHub {
owner = "arx";
repo = "ArxLibertatis";
rev = "7b551739cc22fa25dae83bcc1a2b784ddecc729c";
sha256 = "1ybv3p74rywn0ajdbw7pyk7pd7py1db9h6x2pav2d28ndkkj4z8n";
rev = "fbce6ccbc7f58583f33f29b838c38ef527edc267";
sha256 = "0qrygp09dqhpb5q6a1zl6l03qh9bi7xcahd8hy9177z1cix3k0kz";
};

buildInputs = [
cmake zlib boost openal glm
freetype libGLU_combined glew SDL2 inkscape
optipng imagemagick

nativeBuildInputs = [
cmake inkscape imagemagick optipng
];

buildInputs = [
zlib boost openal glm
freetype libGLU SDL2 epoxy
] ++ optionals withCrashReporter [ qt5.qtbase curl ]
++ optionals stdenv.isLinux [ gdb ];

cmakeFlags = [
"-DDATA_DIR_PREFIXES=$out/share"
"-DImageMagick_convert_EXECUTABLE=${imagemagick.out}/bin/convert"
@@ -33,7 +45,7 @@ stdenv.mkDerivation rec {
$out/share/games/arx/misc/dejavusansmono.ttf
'';

meta = with stdenv.lib; {
meta = {
description = ''
A cross-platform, open source port of Arx Fatalis, a 2002
first-person role-playing game / dungeon crawler
10 changes: 5 additions & 5 deletions pkgs/games/commandergenius/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ stdenv, fetchFromGitHub, SDL2, SDL2_image, pkgconfig
{ stdenv, fetchFromGitLab, SDL2, SDL2_image, pkgconfig
, libvorbis, libGL, boost, cmake, zlib, curl, SDL2_mixer, python3
}:

stdenv.mkDerivation rec {
name = "commandergenius-${version}";
version = "2.2.2";
version = "2.3.2";

src = fetchFromGitHub {
owner = "gerstrong";
src = fetchFromGitLab {
owner = "Dringgstein";
repo = "Commander-Genius";
rev = "v${version}";
sha256 = "1mfw25pgr492ayqw3b85mwp20wh6anrr90gdy605nv1yjma62pmj";
sha256 = "1a8as56ycbq8csnssd5wqv2jand5c9yskld6prh3dn9gy96jbvgj";
};

buildInputs = [ SDL2 SDL2_image SDL2_mixer libGL boost libvorbis zlib curl python3 ];