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: e6550cb5c195
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd1471b4c4d6
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 5, 2017

  1. Copy the full SHA
    68eb2c2 View commit details
  2. Copy the full SHA
    e6b5a7e View commit details
  3. libvirt: fix build on darwin

    vbgl committed Jun 5, 2017
    Copy the full SHA
    dd1471b View commit details
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig intltool ];

meta = with stdenv.lib; {
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = gnome3.maintainers;
};
}
8 changes: 4 additions & 4 deletions pkgs/development/libraries/libvirt/default.nix
Original file line number Diff line number Diff line change
@@ -24,10 +24,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = [
libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
attr libxslt xhtml1 perlPackages.XMLXPath curl libpcap parted
libxslt xhtml1 perlPackages.XMLXPath curl libpcap
] ++ optionals stdenv.isLinux [
libpciaccess devicemapper lvm2 utillinux systemd libnl numad zfs
libapparmor libcap_ng numactl xen
libapparmor libcap_ng numactl xen attr parted
] ++ optionals stdenv.isDarwin [
libiconv gmp
];
@@ -50,7 +50,6 @@ stdenv.mkDerivation rec {
"--with-test"
"--with-esx"
"--with-remote"
"--with-storage-disk"
] ++ optionals stdenv.isLinux [
"--with-attr"
"--with-apparmor"
@@ -59,6 +58,7 @@ stdenv.mkDerivation rec {
"--with-macvtap"
"--with-virtualport"
"--with-init-script=systemd+redhat"
"--with-storage-disk"
"--with-storage-zfs"
] ++ optionals stdenv.isDarwin [
"--with-init-script=none"
@@ -74,8 +74,8 @@ stdenv.mkDerivation rec {
substituteInPlace $out/libexec/libvirt-guests.sh \
--replace "$out/bin" "${gettext}/bin" \
--replace "lock/subsys" "lock"
rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
'' + optionalString stdenv.isLinux ''
rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
wrapProgram $out/sbin/libvirtd \
--prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl ]}
'';
9 changes: 2 additions & 7 deletions pkgs/development/ocaml-modules/janestreet/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, janePackage, ocamlbuild, cryptokit, ctypes, magic-mime,
{ stdenv, lib, janePackage, ocamlbuild, cryptokit, ctypes, magic-mime,
ocaml-migrate-parsetree, octavius, ounit, ppx_deriving, re, zarith,
openssl }:

@@ -328,7 +328,7 @@ rec {
propagatedBuildInputs = [ core_kernel ];
meta = {
description = "OCaml bindings for RE2";
platforms = lib.platforms.linux;
broken = stdenv.isDarwin;
};
};

@@ -348,7 +348,6 @@ rec {
'';
meta = {
description = "Jane Street Capital's standard library overlay";
inherit (re2.meta) platforms;
};
};

@@ -416,7 +415,6 @@ rec {
propagatedBuildInputs = [ core_extended async ];
meta = {
description = "Shell helpers for Async";
inherit (core_extended.meta) platforms;
};
};

@@ -479,7 +477,6 @@ rec {
propagatedBuildInputs = [ core_extended ];
meta = {
description = "Micro-benchmarking library for OCaml";
inherit (core_extended.meta) platforms;
};
};

@@ -489,7 +486,6 @@ rec {
propagatedBuildInputs = [ core_extended ];
meta = {
description = "Profiling library";
inherit (core_extended.meta) platforms;
};
};

@@ -513,7 +509,6 @@ rec {
propagatedBuildInputs = [ async core_extended cryptokit magic-mime ounit ];
meta = {
description = "E-mail message parser";
inherit (core_extended.meta) platforms;
};
};

1 change: 0 additions & 1 deletion pkgs/tools/misc/patdiff/default.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,5 @@ janePackage {
buildInputs = [ core_extended expect_test_helpers patience_diff ocaml_pcre ];
meta = {
description = "File Diff using the Patience Diff algorithm";
inherit (core_extended.meta) platforms;
};
}
2 changes: 1 addition & 1 deletion pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -594,7 +594,7 @@ let
janeStreet = import ../development/ocaml-modules/janestreet {
inherit lib janePackage ocamlbuild ctypes cryptokit magic-mime;
inherit ocaml-migrate-parsetree octavius ounit ppx_deriving re zarith;
openssl = pkgs.openssl;
inherit (pkgs) stdenv openssl;
};

js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};