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: 7e39d2560044
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: 63e3251637d4
Choose a head ref
  • 7 commits
  • 8 files changed
  • 3 contributors

Commits on Mar 19, 2018

  1. ii: fix darwin build

    /cc ZHF #36454
    
    (cherry picked from commit d7856d3)
    LnL7 committed Mar 19, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    ed8c29f View commit details
  2. imatix_gsl: fix clang build

    /cc ZHF #36454
    
    (cherry picked from commit e616725)
    LnL7 committed Mar 19, 2018
    Copy the full SHA
    517d826 View commit details
  3. iniparser: fix darwin build

    /cc ZHF #36454
    
    (cherry picked from commit 5873a34)
    LnL7 committed Mar 19, 2018
    Copy the full SHA
    9ba0bf3 View commit details
  4. kore: fix clang build

    /cc ZHF #36454
    
    (cherry picked from commit 031492c)
    LnL7 committed Mar 19, 2018
    Copy the full SHA
    a2b7570 View commit details
  5. libftdi: mark linux only

    (cherry picked from commit 3f96497)
    LnL7 committed Mar 19, 2018
    Copy the full SHA
    a3983d6 View commit details
  6. pythonPackages.notebook: fix darwin build

    The send2trash library, which is now included in the notebook doesn't
    succeed during build, even though it works.
    
    (cherry picked from commit 8aaa17c)
    knedlsepp authored and LnL7 committed Mar 19, 2018
    Copy the full SHA
    42e2ed6 View commit details
  7. cgit: wrap python scripts

    (cherry picked from commit 55f1bbe)
    gnidorah authored and Mic92 committed Mar 19, 2018
    Copy the full SHA
    63e3251 View commit details
2 changes: 1 addition & 1 deletion pkgs/applications/networking/irc/ii/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
name = "ii-1.8";

src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
sha256 = "1lk8vjl7i8dcjh4jkg8h8bkapcbs465sy8g9c0chfqsywbmf3ndr";
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt
, docbook_xml_xslt, pkgconfig, luajit
, gzip, bzip2, xz
, python, wrapPython, pygments, markdown
}:

stdenv.mkDerivation rec {
@@ -20,10 +21,11 @@ stdenv.mkDerivation rec {
sha256 = "0wc64dzcxrzgi6kwcljz6y3cwm3ajdgf6aws7g58azbhvl1jk04l";
};

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig ] ++ [ python wrapPython ];
buildInputs = [
openssl zlib asciidoc libxml2 libxslt docbook_xml_xslt luajit
];
pythonPath = [ pygments markdown ];

postPatch = ''
sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \
@@ -50,6 +52,8 @@ stdenv.mkDerivation rec {
a2x --no-xmllint -f manpage cgitrc.5.txt
mkdir -p "$out/share/man/man5"
cp cgitrc.5 "$out/share/man/man5"
wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath"
'';

meta = {
5 changes: 5 additions & 0 deletions pkgs/development/libraries/iniparser/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {

patches = ./no-usr.patch;

postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile \
--replace -Wl,-soname= -Wl,-install_name,
'';

doCheck = true;
preCheck = "patchShebangs test/make-tests.sh";

4 changes: 2 additions & 2 deletions pkgs/development/libraries/libftdi/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
name = "libftdi-0.20";

src = fetchurl {
url = "http://www.intra2net.com/en/developer/libftdi/download/${name}.tar.gz";
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
description = "A library to talk to FTDI chips using libusb";
homepage = https://www.intra2net.com/en/developer/libftdi/;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
};
}
9 changes: 7 additions & 2 deletions pkgs/development/python-modules/notebook/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, nose
@@ -48,7 +49,11 @@ buildPythonPackage rec {
checkPhase = ''
runHook preCheck
mkdir tmp
HOME=tmp nosetests -v
HOME=tmp nosetests -v ${if (stdenv.isDarwin) then ''
--exclude test_delete \
--exclude test_checkpoints_follow_file
''
else ""}
'';

meta = {
2 changes: 2 additions & 0 deletions pkgs/development/tools/imatix_gsl/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {

buildInputs = [ pcre ];

CCNAME = "cc";

postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
preBuild = "cd src";
installFlags = "DESTDIR=$(out)";
5 changes: 3 additions & 2 deletions pkgs/development/web/kore/default.nix
Original file line number Diff line number Diff line change
@@ -20,8 +20,9 @@ stdenv.mkDerivation rec {

makeFlags = [ "PREFIX=$(out)" ];

# added to fix build w/gcc7
NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
# added to fix build w/gcc7 and clang5
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
+ stdenv.lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option";

enableParallelBuilding = true;

8 changes: 6 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14845,7 +14845,9 @@ with pkgs;

centerim = callPackage ../applications/networking/instant-messengers/centerim { };

cgit = callPackage ../applications/version-management/git-and-tools/cgit { };
cgit = callPackage ../applications/version-management/git-and-tools/cgit {
inherit (python3Packages) python wrapPython pygments markdown;
};

cgminer = callPackage ../applications/misc/cgminer {
amdappsdk = amdappsdk28;
@@ -16029,7 +16031,9 @@ with pkgs;

ifenslave = callPackage ../os-specific/linux/ifenslave { };

ii = callPackage ../applications/networking/irc/ii { };
ii = callPackage ../applications/networking/irc/ii {
stdenv = gccStdenv;
};

ike = callPackage ../applications/networking/ike { };