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: 246c223e8779
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 776d4a00fcd5
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 5, 2019

  1. Copy the full SHA
    5fb3722 View commit details
  2. Copy the full SHA
    77b4e4b View commit details

Commits on Aug 9, 2019

  1. Merge pull request #65966 from JohnAZoidberg/yder-1.4.7

    yder: 1.4.6 -> 1.4.7
    mmahut authored Aug 9, 2019
    Copy the full SHA
    776d4a0 View commit details
Showing with 17 additions and 173 deletions.
  1. +14 −3 pkgs/development/libraries/orcania/default.nix
  2. +3 −11 pkgs/development/libraries/yder/default.nix
  3. +0 −159 pkgs/development/libraries/yder/fix-darwin.patch
17 changes: 14 additions & 3 deletions pkgs/development/libraries/orcania/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
{ stdenv, fetchFromGitHub, cmake }:
{ stdenv, fetchFromGitHub, cmake, check, subunit }:
stdenv.mkDerivation rec {
pname = "orcania";
version = "2.0.0";
version = "2.0.1";

src = fetchFromGitHub {
owner = "babelouest";
repo = pname;
rev = "v${version}";
sha256 = "11ihbfm7qbqf55wdi7azqx75ggd3l0n8ybyq2ikidffvmg13l4g9";
sha256 = "1kq1cpayflh4xy442q6prrkalm8lcz2cxydrp1fv8ppq1cnq4zr7";
};

nativeBuildInputs = [ cmake ];

checkInputs = [ check subunit ];

cmakeFlags = [ "-DBUILD_ORCANIA_TESTING=on" ];

doCheck = true;

preCheck = ''
export LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH"
export DYLD_FALLBACK_LIBRARY_PATH="$(pwd):$DYLD_FALLBACK_LIBRARY_PATH"
'';

meta = with stdenv.lib; {
description = "Potluck with different functions for different purposes that can be shared among C programs";
homepage = "https://github.com/babelouest/orcania";
14 changes: 3 additions & 11 deletions pkgs/development/libraries/yder/default.nix
Original file line number Diff line number Diff line change
@@ -4,28 +4,19 @@
assert withSystemd -> systemd != null;
stdenv.mkDerivation rec {
pname = "yder";
version = "1.4.6";
version = "1.4.7";

src = fetchFromGitHub {
owner = "babelouest";
repo = pname;
rev = "v${version}";
sha256 = "0j46v93vn130gjcr704rkdiibbk3ampzsqb6xdcrn4x115gwyf5i";
sha256 = "19ghiwpi972wjqvlgg576nk2nkf1ii5l1kvzb056496xfmlysrwa";
};

patches = [
# We set CMAKE_INSTALL_LIBDIR to the absolute path in $out, so
# prefix and exec_prefix cannot be $out, too
./fix-pkgconfig.patch

# - ORCANIA_LIBRARIES must be set before target_link_libraries is called
# - librt is not available, nor needed on Darwin
# - The test binary is not linked against all necessary libraries
# - Test for journald logging is not systemd specific and fails on darwin
# - If the working directory is different from the build directory, the
# dynamic linker can't find libyder
# - Return correct error code from y_init_logs when journald is disabled
./fix-darwin.patch
];

nativeBuildInputs = [ cmake ];
@@ -42,6 +33,7 @@ stdenv.mkDerivation rec {

preCheck = ''
export LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH"
export DYLD_FALLBACK_LIBRARY_PATH="$(pwd):$DYLD_FALLBACK_LIBRARY_PATH"
'';

meta = with lib; {
159 changes: 0 additions & 159 deletions pkgs/development/libraries/yder/fix-darwin.patch

This file was deleted.