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: 4293f9f252be
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: 221ec615f899
Choose a head ref
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on Sep 13, 2018

  1. brlaser: cleanup and mark linux only (#46622)

    The test binaries depend use open_memstream which isn't available on
    darwin.
    
        error: use of undeclared identifier 'open_memstream'
    
    /cc ZHF #45961
    
    (cherry picked from commit 04cba83)
    LnL7 authored and xeji committed Sep 13, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    381c09b View commit details
  2. cargo-update: fix darwin build (#46625)

    On darwin libcurl is also needed.
    
    /cc ZHF #45961
    
    (cherry picked from commit d782c4e)
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    ce1f20f View commit details
  3. calaos_installer: fix darwin install (#46629)

    On darwin this builds an application instead of a binary.
    
    /cc ZHF #45961
    
    (cherry picked from commit 6895655)
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    4199eb4 View commit details
  4. ceres-solver: fix darwin build (#46626)

    The Basel BUILD file conflicts with the cmake build directory on
    case-insensitive filesystems, eg. darwin.
    
    /cc ZHF #45961
    
    (cherry picked from commit 807b010)
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    0b3e0cd View commit details

Commits on Sep 14, 2018

  1. prometheus-dovecot-exporter: 0.1.1 -> 0.1.3

    (cherry picked from commit 21324ef)
    WilliButz authored and globin committed Sep 14, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    221ec61 View commit details
10 changes: 8 additions & 2 deletions pkgs/development/libraries/ceres-solver/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, eigen
, fetchurl
, cmake
, google-gflags ? null
, google-gflags
, glog
, runTests ? false
}:
@@ -21,7 +21,13 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];
buildInputs = [ eigen glog ]
++ stdenv.lib.optional (google-gflags != null) google-gflags;
++ stdenv.lib.optional runTests google-gflags;

# The Basel BUILD file conflicts with the cmake build directory on
# case-insensitive filesystems, eg. darwin.
preConfigure = ''
rm BUILD
'';

doCheck = runTests;

5 changes: 4 additions & 1 deletion pkgs/misc/calaos/installer/default.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,10 @@ stdenv.mkDerivation rec {

qmakeFlags = [ "REVISION=${version}" ];

installPhase = ''
installPhase = if stdenv.isDarwin then ''
mkdir -p $out/Applications
cp -a calaos_installer.app $out/Applications
'' else ''
mkdir -p $out/bin
cp -a calaos_installer $out/bin
'';
10 changes: 4 additions & 6 deletions pkgs/misc/cups/drivers/brlaser/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:

stdenv.mkDerivation rec {

name = "brlaser-${version}";
version = "4";

@@ -12,11 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1yy4mpf68c82h245srh2sd1yip29w6kx14gxk4hxkv496gf55lw5";
};

buildInputs = [ cmake zlib cups ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib cups ];

preConfigure = ''
cmakeFlags="$cmakeFlags -DCUPS_SERVER_BIN=$out/lib/cups/ -DCUPS_DATA_DIR=$out/share/cups/"
'';
cmakeFlags = [ "-DCUPS_SERVER_BIN=$out/lib/cups" "-DCUPS_DATA_DIR=$out/share/cups" ];

meta = with stdenv.lib; {
description = "A CUPS driver for Brother laser printers";
@@ -37,7 +35,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/pdewacht/brlaser;
license = licenses.gpl2;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = with maintainers; [ StijnDW ];
};
}
33 changes: 21 additions & 12 deletions pkgs/servers/monitoring/prometheus/dovecot-exporter-deps.nix
Original file line number Diff line number Diff line change
@@ -23,17 +23,26 @@
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9";
sha256 = "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y";
rev = "3a771d992973f24aa725d07868b467d1ddfceafb";
sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
};
}
{
goPackagePath = "github.com/gogo/protobuf";
fetch = {
type = "git";
url = "https://github.com/gogo/protobuf";
rev = "4aa4cc277ae58d2fab6cfe51dd17df5dceaf457d";
sha256 = "009z6rpivyakgsxs0zkm94c9i7l65hcw2ljvah94wq3y6v6j47gs";
};
}
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "bbd03ef6da3a115852eaf24c8a1c46aeb39aa175";
sha256 = "1pyli3dcagi7jzpiazph4fhkz7a3z4bhd25nwbb7g0iy69b8z1g4";
rev = "0f2620f554cf5c8e281a2eb655a035f5a0f6dc90";
sha256 = "0lxngq1a8cnsy6dlr6gi8pjv3fir2wiw76qh075pa9g02h7ywhv3";
};
}
{
@@ -50,35 +59,35 @@
fetch = {
type = "git";
url = "https://github.com/prometheus/client_golang";
rev = "c3324c1198cf3374996e9d3098edd46a6b55afc9";
sha256 = "19qcz5bpzj5kqyhmbq5kxr8nrqqlszazzq6w0wldis1yk1wwww00";
rev = "b5bfa0eb2c8d46bd91dc58271e973c5f0bbebcfa";
sha256 = "1msxzkdgi0ing4ddmp0s4qrf267n6ylafw9mbz5yrr7spb1dgxgk";
};
}
{
goPackagePath = "github.com/prometheus/client_model";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_model";
rev = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c";
sha256 = "19y4ywsivhpxj7ikf2j0gm9k3cmyw37qcbfi78n526jxcc7kw998";
rev = "5c3871d89910bfb32f5fcab2aa4b9ec68e65a99f";
sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
};
}
{
goPackagePath = "github.com/prometheus/common";
fetch = {
type = "git";
url = "https://github.com/prometheus/common";
rev = "e4aa40a9169a88835b849a6efb71e05dc04b88f0";
sha256 = "0m1n616d694jca0qjwjn5ci7scfgm2jpi94dhi356arm9lhda4jc";
rev = "c7de2306084e37d54b8be01f3541a8464345e9a5";
sha256 = "11dqfm2d0m4sjjgyrnayman96g59x2apmvvqby9qmww2qj2k83ig";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "54d17b57dd7d4a3aa092476596b3f8a933bde349";
sha256 = "1b5218hi6k9i637k6xc7ynpll577zbnrhjm9jr2iczy3j0rr4rvr";
rev = "05ee40e3a273f7245e8777337fc7b46e533a9a92";
sha256 = "0f6fnczxa42b9rys2h3l0m8fy3x5hrhaq707vq0lbx5fcylw8lis";
};
}
{
4 changes: 2 additions & 2 deletions pkgs/servers/monitoring/prometheus/dovecot-exporter.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

buildGoPackage rec {
name = "dovecot_exporter-${version}";
version = "0.1.1";
version = "0.1.3";

goPackagePath = "github.com/kumina/dovecot_exporter";

src = fetchFromGitHub {
owner = "kumina";
repo = "dovecot_exporter";
rev = version;
sha256 = "0i7nfgkb5jqdbgr16i29jdsvh69dx9qgn6nazpw78k0lgy7mpidn";
sha256 = "1lnxnnm45fhcyv40arcvpiiibwdnxdwhkf8sbjpifx1wspvphcj9";
};

goDeps = ./dovecot-exporter-deps.nix;
6 changes: 4 additions & 2 deletions pkgs/tools/package-management/cargo-update/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, libssh2, libgit2, openssl, zlib }:
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, curl, libssh2, libgit2, openssl, zlib }:

((callPackage ./cargo-update.nix {}).cargo_update {}).override {
crateOverrides = defaultCrateOverrides // {
@@ -13,7 +13,9 @@
sha256 = "1bvrdgcw2akzd78wgvsisvghi8pvdk3szyg9s46qxv4km9sf88s7";
};

buildInputs = [ cmake libssh2 libgit2 openssl zlib ];
nativeBuildInputs = [ cmake ];
buildInputs = [ libssh2 libgit2 openssl zlib ]
++ stdenv.lib.optional stdenv.isDarwin curl;

meta = with stdenv.lib; {
description = "A cargo subcommand for checking and applying updates to installed executables";