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: efe35454d4c4
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: 56ddb0a32acb
Choose a head ref

Commits on May 4, 2020

  1. Copy the full SHA
    d23ef21 View commit details

Commits on May 19, 2020

  1. gdc: init at 9.3.0

    SFrijters committed May 19, 2020
    Copy the full SHA
    fc9b93d View commit details

Commits on May 20, 2020

  1. rssguard: 3.6.0 -> 3.6.2

    r-ryantm committed May 20, 2020
    Copy the full SHA
    2e27d57 View commit details

Commits on May 23, 2020

  1. postman: 7.23.0 -> 7.24.0

    r-ryantm committed May 23, 2020
    Copy the full SHA
    2837210 View commit details
  2. Copy the full SHA
    a1b69c2 View commit details
  3. Copy the full SHA
    f691712 View commit details
  4. Copy the full SHA
    208b5fb View commit details
  5. Copy the full SHA
    0975c06 View commit details
  6. Copy the full SHA
    ed1f6bc View commit details
  7. Merge pull request #88696 from marsam/update-pglast

    pythonPackages.pglast: 1.10 -> 1.11
    marsam authored May 23, 2020
    Copy the full SHA
    bd4ac13 View commit details
  8. Merge pull request #88707 from r-ryantm/auto-update/python2.7-geopy

    python27Packages.geopy: 1.21.0 -> 1.22.0
    marsam authored May 23, 2020
    Copy the full SHA
    4d5265b View commit details
  9. libxsmm: init at 1.13

    chessai committed May 23, 2020
    Copy the full SHA
    6333819 View commit details
  10. Merge pull request #88220 from r-ryantm/auto-update/rssguard

    rssguard: 3.6.0 -> 3.6.2
    ryantm authored May 23, 2020
    Copy the full SHA
    1bf5a80 View commit details
  11. Merge pull request #69144 from SFrijters/gdc

    gdc: init at 9.3.0
    matthewbauer authored May 23, 2020
    Copy the full SHA
    c74a9cd View commit details
  12. Merge pull request #71498 from chessai/libxsmm-add

    libxsmm: init at 1.13
    matthewbauer authored May 23, 2020
    Copy the full SHA
    64f8baf View commit details
  13. emacs: Move toolkit to function arguments

    It's possible to build Emacs without any toolkits which uses xlib.
    adisbladis committed May 23, 2020
    Copy the full SHA
    2b520b0 View commit details
  14. Copy the full SHA
    1f8bda3 View commit details
  15. Merge pull request #88693 from doronbehar/gnuradio-rewrite

    gnuradio: format arguments and inputs
    flokli authored May 23, 2020
    Copy the full SHA
    b0b3c30 View commit details
  16. Copy the full SHA
    d453aea View commit details
  17. Merge pull request #88722 from AndersonTorres/lnch-new

    lnch: fix the site name
    AndersonTorres authored May 23, 2020
    Copy the full SHA
    3918f16 View commit details
  18. Merge pull request #86790 from r-ryantm/auto-update/archivemount

    archivemount: 0.8.12 -> 0.9.1
    ryantm authored May 23, 2020
    Copy the full SHA
    fcea691 View commit details
  19. Merge pull request #88656 from r-ryantm/auto-update/postman

    postman: 7.23.0 -> 7.24.0
    Ma27 authored May 23, 2020
    Copy the full SHA
    cc0b0e9 View commit details
  20. Merge pull request #88717 from adisbladis/emacs-x-toolkit

    emacs: Move toolkit to function arguments
    adisbladis authored May 23, 2020
    Copy the full SHA
    43b4c84 View commit details
  21. Copy the full SHA
    26d670c View commit details
  22. epson-escpr2: 1.1.11 -> 1.1.12

    Ma27 committed May 23, 2020
    Copy the full SHA
    3ddc56c View commit details
  23. nixosTests.nextcloud: Add davfs2 example to the VM test

    Some people use davfs2 to mount a NextCloud instance, so make sure this
    works as well.
    flokli committed May 23, 2020
    Copy the full SHA
    75e18ab View commit details
  24. Merge pull request #88721 from flokli/nixostests-nextcloud-davfs2

    nixosTests.nextcloud: Add davfs2 example to the VM test
    Ma27 authored May 23, 2020
    Copy the full SHA
    946f7d1 View commit details
  25. Merge pull request #88695 from marsam/update-sqlparse

    pythonPackages.sqlparse: 0.3.0 -> 0.3.1
    marsam authored May 23, 2020
    Copy the full SHA
    743e922 View commit details
  26. Merge pull request #88710 from r-ryantm/auto-update/python2.7-isbnlib

    python27Packages.isbnlib: 3.10.0 -> 3.10.1
    marsam authored May 23, 2020
    Copy the full SHA
    56ddb0a View commit details
18 changes: 17 additions & 1 deletion nixos/tests/nextcloud/basic.nix
Original file line number Diff line number Diff line change
@@ -9,7 +9,22 @@ in {

nodes = {
# The only thing the client needs to do is download a file.
client = { ... }: {};
client = { ... }: {
services.davfs2.enable = true;
system.activationScripts.davfs2-secrets = ''
echo "http://nextcloud/remote.php/webdav/ ${adminuser} ${adminpass}" > /tmp/davfs2-secrets
chmod 600 /tmp/davfs2-secrets
'';
fileSystems = pkgs.lib.mkVMOverride {
"/mnt/dav" = {
device = "http://nextcloud/remote.php/webdav/";
fsType = "davfs";
options = let
davfs2Conf = (pkgs.writeText "davfs2.conf" "secrets /tmp/davfs2-secrets");
in [ "conf=${davfs2Conf}" "x-systemd.automount" "noauto"];
};
};
};

nextcloud = { config, pkgs, ... }: {
networking.firewall.allowedTCPPorts = [ 80 ];
@@ -60,5 +75,6 @@ in {
client.succeed(
"${withRcloneEnv} ${diffSharedFile}"
)
assert "hi" in client.succeed("cat /mnt/dav/test-shared-file")
'';
})
11 changes: 5 additions & 6 deletions pkgs/applications/editors/emacs/default.nix
Original file line number Diff line number Diff line change
@@ -11,6 +11,10 @@
, withCsrc ? true
, srcRepo ? false, autoconf ? null, automake ? null, texinfo ? null
, siteStart ? ./site-start.el
, toolkit ? (
if withGTK2 then "gtk2"
else if withGTK3 then "gtk3"
else "lucid")
}:

assert (libXft != null) -> libpng != null; # probably a bug
@@ -23,12 +27,7 @@ assert withGTK2 -> !withGTK3 && gtk2-x11 != null;
assert withGTK3 -> !withGTK2 && gtk3-x11 != null;
assert withXwidgets -> withGTK3 && webkitgtk != null;

let
toolkit =
if withGTK2 then "gtk2"
else if withGTK3 then "gtk3"
else "lucid";
in

stdenv.mkDerivation rec {
name = "emacs-${version}${versionModifier}";
version = "26.3";
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/imv/default.nix
Original file line number Diff line number Diff line change
@@ -56,6 +56,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/eXeC64/imv";
license = licenses.gpl2;
maintainers = with maintainers; [ rnhmjoj markus1189 ];
platforms = [ "i686-linux" "x86_64-linux" ];
platforms = platforms.all;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/feedreaders/rssguard/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "rssguard";
version = "3.6.0";
version = "3.6.2";

src = fetchFromGitHub {
owner = "martinrotter";
repo = pname;
rev = version;
sha256 = "0nlvhcvd3bbvd3dapqix7h29pchbd9gv5n3hmrig9yi98yv8q53r";
sha256 = "1dx7gcmrjyi115lf6d36i129zmxfb16z7wy4ff8z9m65paci24mw";
};

buildInputs = [ qtwebengine qttools ];
63 changes: 52 additions & 11 deletions pkgs/applications/radio/gnuradio/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
{ stdenv, fetchFromGitHub, writeText, makeWrapper
{ stdenv
, fetchFromGitHub
, makeWrapper
, writeText
# Dependencies documented @ https://gnuradio.org/doc/doxygen/build_guide.html
# => core dependencies
, cmake, pkgconfig, git, boost, cppunit, fftw
, cmake
, pkgconfig
, git
, boost
, cppunit
, fftw
# => python wrappers
# May be able to upgrade to swig3
, python, swig2, numpy, scipy, matplotlib
, python
, swig2
, numpy
, scipy
, matplotlib
# => grc - the gnu radio companion
, Mako, cheetah, pygtk # Note: GR is migrating to Mako. Cheetah should be removed for GR3.8
, Mako
, cheetah
, pygtk # Note: GR is migrating to Mako. Cheetah should be removed for GR3.8
# => gr-wavelet: collection of wavelet blocks
, gsl
# => gr-qtgui: the Qt-based GUI
, qt4, qwt, pyqt4
, qt4
, qwt
, pyqt4
# => gr-wxgui: the Wx-based GUI
, wxPython, lxml
, wxPython
, lxml
# => gr-audio: audio subsystems (system/OS dependent)
, alsaLib # linux 'audio-alsa'
, CoreAudio # darwin 'audio-osx'
@@ -21,7 +38,9 @@
# => gr-video-sdl: PAL and NTSC display
, SDL
# Other
, libusb1, orc, pyopengl
, libusb1
, orc
, pyopengl
}:

stdenv.mkDerivation rec {
@@ -37,17 +56,39 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [
cmake pkgconfig git makeWrapper cppunit orc
cmake
pkgconfig
git
makeWrapper
cppunit
orc
];

buildInputs = [
boost fftw python swig2 lxml qt4
qwt SDL libusb1 uhd gsl
boost
fftw
python
swig2
lxml
qt4
qwt
SDL
libusb1
uhd
gsl
] ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib ]
++ stdenv.lib.optionals stdenv.isDarwin [ CoreAudio ];

propagatedBuildInputs = [
Mako cheetah numpy scipy matplotlib pyqt4 pygtk wxPython pyopengl
Mako
cheetah
numpy
scipy
matplotlib
pyqt4
pygtk
wxPython
pyopengl
];

NIX_LDFLAGS = "-lpthread";
18 changes: 13 additions & 5 deletions pkgs/build-support/cc-wrapper/default.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
{ name ? ""
, stdenvNoCC
, cc ? null, libc ? null, bintools, coreutils ? null, shell ? stdenvNoCC.shell
, zlib ? null
, nativeTools, noLibc ? false, nativeLibc, nativePrefix ? ""
, propagateDoc ? cc != null && cc ? man
, extraTools ? [], extraPackages ? [], extraBuildCommands ? ""
@@ -205,6 +206,10 @@ stdenv.mkDerivation {
wrap ${targetPrefix}gnatlink ${./gnat-wrapper.sh} $ccPath/${targetPrefix}gnatlink
''

+ optionalString cc.langD or false ''
wrap ${targetPrefix}gdc $wrapper $ccPath/${targetPrefix}gdc
''

+ optionalString cc.langFortran or false ''
wrap ${targetPrefix}gfortran $wrapper $ccPath/${targetPrefix}gfortran
ln -sv ${targetPrefix}gfortran $out/bin/${targetPrefix}g77
@@ -220,7 +225,7 @@ stdenv.mkDerivation {
'';

strictDeps = true;
propagatedBuildInputs = [ bintools ] ++ extraTools;
propagatedBuildInputs = [ bintools ] ++ extraTools ++ optionals cc.langD or false [ zlib ];
depsTargetTargetPropagated = extraPackages;

wrapperName = "CC_WRAPPER";
@@ -262,8 +267,9 @@ stdenv.mkDerivation {
# limits.h file in ../includes-fixed. To remedy the problem,
# another -idirafter is necessary to add that directory again.
echo "-B${libc_lib}${libc.libdir or "/lib/"}" >> $out/nix-support/libc-cflags
'' + optionalString (!(cc.langD or false)) ''
echo "-idirafter ${libc_dev}${libc.incdir or "/include"}" >> $out/nix-support/libc-cflags
'' + optionalString isGNU ''
'' + optionalString (isGNU && (!(cc.langD or false))) ''
for dir in "${cc}"/lib/gcc/*/*/include-fixed; do
echo '-idirafter' ''${dir} >> $out/nix-support/libc-cflags
done
@@ -307,6 +313,8 @@ stdenv.mkDerivation {
ln -s ${cc.man} $man
ln -s ${cc.info} $info
'' + optionalString (cc.langD or false) ''
echo "-B${zlib}${zlib.libdir or "/lib/"}" >> $out/nix-support/libc-cflags
''

+ ''
@@ -366,9 +374,9 @@ stdenv.mkDerivation {
hardening_unsupported_flags+=" stackprotector fortify"
'' + optionalString cc.langAda or false ''
hardening_unsupported_flags+=" stackprotector strictoverflow"
''

+ optionalString targetPlatform.isWasm ''
'' + optionalString cc.langD or false ''
hardening_unsupported_flags+=" format"
'' + optionalString targetPlatform.isWasm ''
hardening_unsupported_flags+=" stackprotector fortify pie pic"
''

15 changes: 9 additions & 6 deletions pkgs/development/compilers/gcc/9/default.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
, langAda ? false
, langObjC ? stdenv.targetPlatform.isDarwin
, langObjCpp ? stdenv.targetPlatform.isDarwin
, langD ? false
, langGo ? false
, profiledCompiler ? false
, staticCompiler ? false
@@ -58,6 +59,7 @@ let majorVersion = "9";
sha256 = ""; # TODO: uncomment and check hash when available.
}) */
++ optional langAda ../gnat-cflags.patch
++ optional langD ../libphobos.patch
++ optional langFortran ../gfortran-driving.patch
++ optional (targetPlatform.libc == "musl" && targetPlatform.isPower) ../ppc-musl.patch
++ optional (!crossStageStatic && targetPlatform.isMinGW) (fetchpatch {
@@ -136,10 +138,10 @@ stdenv.mkDerivation ({
)
else "")
+ stdenv.lib.optionalString targetPlatform.isAvr ''
makeFlagsArray+=(
'LIMITS_H_TEST=false'
)
'';
makeFlagsArray+=(
'LIMITS_H_TEST=false'
)
'';

inherit noSysDirs staticCompiler crossStageStatic
libcCross crossMingw;
@@ -196,6 +198,7 @@ stdenv.mkDerivation ({
enableShared

langC
langD
langCC
langFortran
langAda
@@ -235,14 +238,14 @@ stdenv.mkDerivation ({

inherit
(import ../common/extra-target-flags.nix {
inherit stdenv crossStageStatic libcCross threadsCross;
inherit stdenv crossStageStatic langD libcCross threadsCross;
})
EXTRA_TARGET_FLAGS
EXTRA_TARGET_LDFLAGS
;

passthru = {
inherit langC langCC langObjC langObjCpp langAda langFortran langGo version;
inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version;
isGNU = true;
};

5 changes: 5 additions & 0 deletions pkgs/development/compilers/gcc/common/configure-flags.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@

, langC
, langCC
, langD ? false
, langFortran
, langJava ? false, javaAwtGtk ? false, javaAntlr ? null, javaEcj ? null
, langAda ? false
@@ -114,6 +115,7 @@ let
lib.concatStrings (lib.intersperse ","
( lib.optional langC "c"
++ lib.optional langCC "c++"
++ lib.optional langD "d"
++ lib.optional langFortran "fortran"
++ lib.optional langJava "java"
++ lib.optional langAda "ada"
@@ -174,6 +176,9 @@ let
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
++ lib.optionals (langD) [
"--with-target-system-zlib=yes"
]
;

in configureFlags
8 changes: 4 additions & 4 deletions pkgs/development/compilers/gcc/common/extra-target-flags.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ stdenv, crossStageStatic, libcCross, threadsCross }:
{ stdenv, crossStageStatic, langD ? false, libcCross, threadsCross }:

let
inherit (stdenv) lib hostPlatform targetPlatform;
in

{
EXTRA_TARGET_FLAGS = let
mkFlags = dep: lib.optionals (targetPlatform != hostPlatform && dep != null) ([
mkFlags = dep: langD: lib.optionals (targetPlatform != hostPlatform && dep != null && !langD) ([
"-idirafter ${lib.getDev dep}${dep.incdir or "/include"}"
] ++ stdenv.lib.optionals (! crossStageStatic) [
"-B${lib.getLib dep}${dep.libdir or "/lib"}"
]);
in mkFlags libcCross
++ lib.optionals (!crossStageStatic) (mkFlags threadsCross)
in mkFlags libcCross langD
++ lib.optionals (!crossStageStatic) (mkFlags threadsCross langD)
;

EXTRA_TARGET_LDFLAGS = let
Loading