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: c0bde692f6cd
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: 94b8a71dc392
Choose a head ref

Commits on Sep 3, 2018

  1. gitea: 1.5.0 -> 1.5.1 (#45968)

    Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.5.1
    (cherry picked from commit fcccb9e)
    etu authored and xeji committed Sep 3, 2018
    Copy the full SHA
    d7cd099 View commit details
  2. Revert "[cpan2nix] perlPackages.GetoptLongDescriptive: 0.102 -> 0.103"

    It broke perlPackages.MouseXGetOpt
    
    This reverts commit ad47c38.
    
    (cherry picked from commit 9889c0f)
    xeji committed Sep 3, 2018
    Copy the full SHA
    4c00a04 View commit details
  3. Keras: fix build by updating expected dependencies. (#45992)

    Keras expects keras_preprocessing 1.0.2 and 1.0.4. 1.0.3 and 1.0.5
    are respectively in nixpkgs.
    
    ZHF #45960
    
    (cherry picked from commit e33be2a)
    Daniël de Kok authored and xeji committed Sep 3, 2018
    Copy the full SHA
    08a86af View commit details
  4. perlPackages.UNIVERSALref: broken with perl 5.26+

    (cherry picked from commit 9173c37)
    volth authored and Mic92 committed Sep 3, 2018
    Copy the full SHA
    414202c View commit details
  5. perlPackages.TestAggregate: broken with perl 5.26+ (#46003)

    (cherry picked from commit c36bfa7)
    volth authored and xeji committed Sep 3, 2018
    Copy the full SHA
    f370254 View commit details
  6. valadoc: fix build

    (cherry picked from commit f828bb3)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    2fd6a4a View commit details
  7. SkypeExport: fix build

    (cherry picked from commit 451e04f)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    74dfea0 View commit details
  8. xfce4-mixer: fix build

    (cherry picked from commit 6ed0823)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    e36aa2d View commit details
  9. amule: fix build

    (cherry picked from commit 9069908)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    c5c0469 View commit details
  10. imgcat: fix build

    (cherry picked from commit 66385a6)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    46733c6 View commit details
  11. photoflow: 2018-03-06 -> 2018-08-28

    (cherry picked from commit a3db672)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    2aab202 View commit details
  12. sayonara: 1.0.0-git5-20180115 -> 1.1.1-git1-20180828

    (cherry picked from commit 3149f84)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    d22277b View commit details
  13. photoflow: mark broken for aarch64

    (cherry picked from commit 507dfcc)
    worldofpeace authored and xeji committed Sep 3, 2018
    Copy the full SHA
    00a43c0 View commit details
  14. kodi: fix nfs support (#46006)

    libnfs is required to be in the LD_LIBRARY_PATH for kodi if you want nfs support 
    see: https://www.reddit.com/r/NixOS/comments/9aiquo/how_to_enable_nfs_support_in_kodi/
    
    (cherry picked from commit 435eccf)
    aanderse authored and xeji committed Sep 3, 2018
    Copy the full SHA
    427ac1a View commit details
  15. ion: broken on darwin (#46010)

    (cherry picked from commit 8954c1f)
    dywedir authored and xeji committed Sep 3, 2018
    Copy the full SHA
    05c52a7 View commit details
  16. Revert "arrow-cpp: 0.9.0 -> 0.10.0" (#45991)

    Hold off the upgrade until parquet 1.5.0 is released.
    
    This reverts commit 72d6307.
    
    (cherry picked from commit 992d64bf3e7210185e7145014bfc63f9b3719a9f)
    veprbl authored and xeji committed Sep 3, 2018
    Copy the full SHA
    6c988bc View commit details
  17. gede: 2.6.1 -> 2.10.9 (#45995)

    reverting to qt 5.9 fixed the build.
    
    (cherry picked from commit 3549879)
    symphorien authored and xeji committed Sep 3, 2018
    Copy the full SHA
    f391f6f View commit details
  18. magit-todos: fix build by providing git as input. (#45999)

    magit-todos requires git during builds. Fixes #45868.
    
    (cherry picked from commit 9d6ff38)
    Daniël de Kok authored and xeji committed Sep 3, 2018
    Copy the full SHA
    d0182e0 View commit details
  19. gnss-sdr: set boost version to 1.66 (#46014)

    (cherry picked from commit 7c915ab)
    markuskowa authored and xeji committed Sep 3, 2018
    Copy the full SHA
    a2aacb2 View commit details

Commits on Sep 4, 2018

  1. mkDerivation: Fix cross compilation

    Derivations where drawing their `system` attribute from `hostPlatform`
    instead of `buildPlatform`. Fix that, and add an explanatory commment.
    
    Fixes #45993
    Ericson2314 committed Sep 4, 2018
    Copy the full SHA
    06cd7c1 View commit details
  2. Merge pull request #46024 from Ericson2314/fix-45993

    mkDerivation: Fix cross compilation for 18.09
    John Ericson authored Sep 4, 2018
    Copy the full SHA
    46f4a93 View commit details
  3. vowpalwabbit: fix build against boost-python.

    Patch setup.py to look for libboost_python{Major}{Minor}.
    
    (cherry picked from commit 875bb6b)
    danieldk authored and xeji committed Sep 4, 2018
    Copy the full SHA
    8f33594 View commit details
  4. vowpal-wabbit: fix Darwin build.

    - Follow the same logic for finding boost-python as for Linux.
    - Set DYLD_LIBRARY_PATH so that ctypes find_library can find
      boost-python.
    - Do not use '-mt' suffix when linking against boost-serialization
      and boost-program_options on Darwin.
    
    (cherry picked from commit fe7e89b)
    danieldk authored and xeji committed Sep 4, 2018
    Copy the full SHA
    07ec5b5 View commit details
  5. vowpalwabbit: mark broken on aarch64.

    (cherry picked from commit 69d418a)
    danieldk authored and xeji committed Sep 4, 2018
    Copy the full SHA
    b447979 View commit details
  6. mxnet: 1.1.0 -> 1.2.1 (#46026)

    Update and fix the build:
    
    - Perl is a build-time requirement.
    - Fix hardcoded /bin/bash invocation.
    
    (cherry picked from commit 93a5947)
    Daniël de Kok authored and xeji committed Sep 4, 2018
    Copy the full SHA
    4b666f1 View commit details
  7. Merge #46016: openblas: fix pkg-config alias name

    (cherry picked from commit a774988)
    timokau authored and vcunat committed Sep 4, 2018
    Copy the full SHA
    6f8e07a View commit details
  8. sound-juicer: fix build (#46051)

    (cherry picked from commit 16e776f)
    symphorien authored and xeji committed Sep 4, 2018
    Copy the full SHA
    94b8a71 View commit details
Showing with 369 additions and 65 deletions.
  1. +3 −3 pkgs/applications/audio/sayonara/default.nix
  2. +2 −0 pkgs/applications/audio/sound-juicer/default.nix
  3. +6 −0 pkgs/applications/editors/emacs-modes/melpa-packages.nix
  4. +6 −0 pkgs/applications/editors/emacs-modes/melpa-stable-packages.nix
  5. +1 −1 pkgs/applications/graphics/imgcat/default.nix
  6. +5 −4 pkgs/applications/graphics/photoflow/default.nix
  7. +2 −2 pkgs/applications/networking/instant-messengers/SkypeExport/default.nix
  8. +16 −10 pkgs/applications/science/math/mxnet/default.nix
  9. +2 −2 pkgs/applications/version-management/gitea/default.nix
  10. +1 −1 pkgs/applications/video/kodi/default.nix
  11. +8 −1 pkgs/desktops/xfce4-13/xfce4-mixer/default.nix
  12. +2 −2 pkgs/development/libraries/arrow-cpp/default.nix
  13. +1 −1 pkgs/development/libraries/science/math/openblas/default.nix
  14. +8 −0 pkgs/development/python-modules/keras/default.nix
  15. +16 −3 pkgs/development/python-modules/vowpalwabbit/default.nix
  16. +34 −0 pkgs/development/python-modules/vowpalwabbit/vowpal-wabbit-find-boost.diff
  17. +3 −3 pkgs/development/tools/misc/gede/default.nix
  18. +4 −6 pkgs/development/tools/valadoc/default.nix
  19. +1 −0 pkgs/shells/ion/default.nix
  20. +9 −1 pkgs/stdenv/generic/make-derivation.nix
  21. +3 −0 pkgs/tools/networking/p2p/amule/default.nix
  22. +0 −21 pkgs/tools/networking/p2p/amule/gcc47.patch
  23. +230 −0 pkgs/tools/networking/p2p/amule/upnp-1.8.patch
  24. +2 −2 pkgs/top-level/all-packages.nix
  25. +4 −2 pkgs/top-level/perl-packages.nix
6 changes: 3 additions & 3 deletions pkgs/applications/audio/sayonara/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, cmake, qt5, zlib, taglib, pkgconfig, pcre, gst_all_1 }:

let
version = "1.0.0-git5-20180115";
version = "1.1.1-git1-20180828";
in
stdenv.mkDerivation {
name = "sayonara-player-${version}";

src = fetchurl {
url = "https://sayonara-player.com/sw/sayonara-player-${version}.tar.gz";
sha256 = "1fl7zplnrrvbv1xm4g348bpd46jj39jvbm808hyjjq92i64wqg37";
sha256 = "0rvy47qvavrp03zjdrw025dmq9fq5aaii3q1qq8b94byarl0c5kn";
};

nativeBuildInputs = [ cmake pkgconfig ];
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
{ description = "Sayonara music player";
homepage = https://sayonara-player.com/;
license = licenses.gpl3;
platforms = qt5.qtbase.meta.platforms;
platforms = platforms.linux;
maintainers = [ maintainers.deepfire ];
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/audio/sound-juicer/default.nix
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec{
gst_all_1.gst-libav
];

NIX_CFLAGS_COMPILE="-Wno-error=format-nonliteral";

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
6 changes: 6 additions & 0 deletions pkgs/applications/editors/emacs-modes/melpa-packages.nix
Original file line number Diff line number Diff line change
@@ -146,6 +146,12 @@ self:
(attrs.nativeBuildInputs or []) ++ [ external.git ];
});

magit-todos = super.magit-todos.overrideAttrs (attrs: {
# searches for Git at build time
nativeBuildInputs =
(attrs.nativeBuildInputs or []) ++ [ external.git ];
});

# missing OCaml
merlin = markBroken super.merlin;

Original file line number Diff line number Diff line change
@@ -151,6 +151,12 @@ self:
(attrs.nativeBuildInputs or []) ++ [ external.git ];
});

magit-todos = super.magit-todos.overrideAttrs (attrs: {
# searches for Git at build time
nativeBuildInputs =
(attrs.nativeBuildInputs or []) ++ [ external.git ];
});

# missing OCaml
merlin = markBroken super.merlin;

2 changes: 1 addition & 1 deletion pkgs/applications/graphics/imgcat/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "imgcat-${version}";
version = "2.3.0";

buildTools = [ autoconf automake libtool ncurses ];
buildInputs = [ autoconf automake libtool ncurses ];

preConfigure = ''
${autoconf}/bin/autoconf
9 changes: 5 additions & 4 deletions pkgs/applications/graphics/photoflow/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, gettext, glib, libxml2, pkgconfig, swig, automake, gobjectIntrospection, cmake, ninja, libtiff, libjpeg, fftw, exiv2, lensfun, gtkmm2, libraw, lcms2, libexif, vips, expat, pcre, pugixml }:

stdenv.mkDerivation {
name = "photoflow-unstable-2018-03-06";
name = "photoflow-unstable-2018-08-28";

src = fetchFromGitHub {
owner = "aferrero2707";
repo = "PhotoFlow";
rev = "f9bbea183fa02412d1d17075955d2284eeaf8174";
sha256 = "1fsk7kdmlkd64wcswbxrl87aqwmzqak6p3s38ggxzx2h51fa7lmf";
rev = "df03f2538ddd232e693c307db4ab63eb5bdfea38";
sha256 = "08ybhv08h24y4li8wb4m89xgrz1szlwpksf6vjharp8cznn4y4x9";
};

nativeBuildInputs = [
@@ -50,6 +50,7 @@ stdenv.mkDerivation {
homepage = https://aferrero2707.github.io/PhotoFlow/;
license = licenses.gpl3Plus;
maintainers = [ maintainers.MtP ];
platforms = platforms.all;
platforms = platforms.linux;
broken = stdenv.isAarch64;
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, boost }:
{ stdenv, fetchFromGitHub, cmake, boost166 }:

stdenv.mkDerivation rec {
name = "SkypeExport-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
buildInputs = [ boost166 ];

preConfigure = "cd src/SkypeExport/_gccbuild/linux";
installPhase = "install -Dt $out/bin SkypeExport";
26 changes: 16 additions & 10 deletions pkgs/applications/science/math/mxnet/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchgit, cmake
, opencv, gtest, openblas, liblapack
{ stdenv, lib, fetchurl, bash, cmake
, opencv, gtest, openblas, liblapack, perl
, cudaSupport ? false, cudatoolkit, nvidia_x11
, cudnnSupport ? false, cudnn
}:
@@ -8,16 +8,17 @@ assert cudnnSupport -> cudaSupport;

stdenv.mkDerivation rec {
name = "mxnet-${version}";
version = "1.1.0";

# Submodules needed
src = fetchgit {
url = "https://github.com/apache/incubator-mxnet";
rev = "refs/tags/${version}";
sha256 = "1qgns0c70a1gfyil96h17ms736nwdkp9kv496gvs9pkzqzvr6cpz";
version = "1.2.1";

# Fetching from git does not work at the time (1.2.1) due to an
# incorrect hash in one of the submodules. The provided tarballs
# contain all necessary sources.
src = fetchurl {
url = "https://github.com/apache/incubator-mxnet/releases/download/${version}/apache-mxnet-src-${version}-incubating.tar.gz";
sha256 = "053zbdgs4j8l79ipdz461zc7wyfbfcflmi5bw7lj2q08zm1glnb2";
};

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake perl ];

buildInputs = [ opencv gtest openblas liblapack ]
++ lib.optionals cudaSupport [ cudatoolkit nvidia_x11 ]
@@ -30,6 +31,11 @@ stdenv.mkDerivation rec {
] else [ "-DUSE_CUDA=OFF" ])
++ lib.optional (!cudnnSupport) "-DUSE_CUDNN=OFF";

postPatch = ''
substituteInPlace 3rdparty/mkldnn/tests/CMakeLists.txt \
--replace "/bin/bash" "${bash}/bin/bash"
'';

installPhase = ''
install -Dm755 libmxnet.so $out/lib/libmxnet.so
cp -r ../include $out
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/gitea/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@ with stdenv.lib;

buildGoPackage rec {
name = "gitea-${version}";
version = "1.5.0";
version = "1.5.1";

src = fetchFromGitHub {
owner = "go-gitea";
repo = "gitea";
rev = "v${version}";
sha256 = "0gp777x8yjbqvz9i79qv3bn3hrlp1bn7ib57r7w5a7jmr9rd0nca";
sha256 = "06h6v9py35mm0xk9l8xrq02vvr5vzl15gfbw9qqvpn8kiamkn53r";
};

patches = [ ./static-root-path.patch ];
2 changes: 1 addition & 1 deletion pkgs/applications/video/kodi/default.nix
Original file line number Diff line number Diff line change
@@ -189,7 +189,7 @@ in stdenv.mkDerivation rec {
wrapProgram $out/bin/$p \
--prefix PATH ":" "${lib.makeBinPath [ python2 glxinfo xdpyinfo ]}" \
--prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
[ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ]}"
([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}"
done
substituteInPlace $out/share/xsessions/kodi.desktop \
9 changes: 8 additions & 1 deletion pkgs/desktops/xfce4-13/xfce4-mixer/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{ mkXfceDerivation, automakeAddFlags, dbus-glib, gtk2, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
{ mkXfceDerivation, automakeAddFlags, dbus-glib, gtk2, libxfce4ui, libxfce4util, xfce4-panel, xfconf, gst-plugins-base, libunique }:

let
gst_plugins_minimal = gst-plugins-base.override {
minimalDeps = true;
};
in
mkXfceDerivation rec {
category = "apps";
pname = "xfce4-mixer";
@@ -16,7 +21,9 @@ mkXfceDerivation rec {

buildInputs = [
dbus-glib
gst_plugins_minimal
gtk2
libunique
libxfce4ui
libxfce4util
xfce4-panel
4 changes: 2 additions & 2 deletions pkgs/development/libraries/arrow-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "arrow-cpp-${version}";
version = "0.10.0";
version = "0.9.0";

src = fetchurl {
url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
sha256 = "0bc4krapz1kzdm16npzmgdz7zvg9lip6rnqbwph8vfn7zji0fcll";
sha256 = "16l91fixb5dgx3v6xc73ipn1w1hjgbmijyvs81j7ywzpna2cdcdy";
};

sourceRoot = "apache-arrow-${version}/cpp";
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ stdenv.mkDerivation rec {
# Write pkgconfig aliases. Upstream report:
# https://github.com/xianyi/OpenBLAS/issues/1740
for alias in blas cblas lapack; do
cat <<EOF > $out/lib/pkgconfig/openblas-$alias.pc
cat <<EOF > $out/lib/pkgconfig/$alias.pc
Name: $alias
Version: ${version}
Description: $alias provided by the OpenBLAS package.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/keras/default.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,14 @@ buildPythonPackage rec {
keras-applications keras-preprocessing
];

# Keras 2.2.2 expects older versions of keras_applications
# and keras_preprocessing. These substitutions can be removed
# for for the next Keras release.
postPatch = ''
substituteInPlace setup.py --replace "keras_applications==1.0.4" "keras_applications==1.0.5"
substituteInPlace setup.py --replace "keras_preprocessing==1.0.2" "keras_preprocessing==1.0.3"
'';

# Couldn't get tests working
doCheck = false;

19 changes: 16 additions & 3 deletions pkgs/development/python-modules/vowpalwabbit/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, python, boost, zlib, clang, ncurses
, pytest, docutils, pygments, numpy, scipy, scikitlearn }:
{ stdenv, lib, buildPythonPackage, fetchPypi, python, boost, zlib, clang
, ncurses, pytest, docutils, pygments, numpy, scipy, scikitlearn }:

buildPythonPackage rec {
pname = "vowpalwabbit";
@@ -9,15 +9,27 @@ buildPythonPackage rec {
inherit pname version;
sha256 = "0b517371fc64f1c728a0af42a31fa93def27306e9b4d25d6e5fd01bcff1b7304";
};

# Should be fixed in next Python release after 8.5.0:
# https://github.com/JohnLangford/vowpal_wabbit/pull/1533
patches = [
./vowpal-wabbit-find-boost.diff
];

# vw tries to write some explicit things to home
# python installed: The directory '/homeless-shelter/.cache/pip/http'
preInstall = ''
export HOME=$PWD
'';

buildInputs = [ boost.dev zlib.dev clang ncurses pytest docutils pygments ];
buildInputs = [ python.pkgs.boost zlib.dev clang ncurses pytest docutils pygments ];
propagatedBuildInputs = [ numpy scipy scikitlearn ];

# Python ctypes.find_library uses DYLD_LIBRARY_PATH.
preConfigure = lib.optionalString stdenv.isDarwin ''
export DYLD_LIBRARY_PATH="${python.pkgs.boost}/lib"
'';

checkPhase = ''
# check-manifest requires a git clone, not a tarball
# check-manifest --ignore "Makefile,PACKAGE.rst,*.cc,tox.ini,tests*,examples*,src*"
@@ -28,6 +40,7 @@ buildPythonPackage rec {
description = "Vowpal Wabbit is a fast machine learning library for online learning, and this is the python wrapper for the project.";
homepage = https://github.com/JohnLangford/vowpal_wabbit;
license = licenses.bsd3;
broken = stdenv.isAarch64;
maintainers = with maintainers; [ teh ];
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
--- vowpalwabbit-8.5.0.orig/setup.py 2018-09-03 20:32:39.000000000 +0200
+++ vowpalwabbit-8.5.0/setup.py 2018-09-03 20:34:09.000000000 +0200
@@ -23,18 +23,11 @@

def find_boost():
"""Find correct boost-python library information """
- if system == 'Linux':
+ if system == 'Linux' or system == 'Darwin':
# use version suffix if present
- boost_lib = 'boost_python-py{v[0]}{v[1]}'.format(v=sys.version_info)
- if sys.version_info.major == 3:
- for candidate in ['-py36', '-py35', '-py34', '3']:
- boost_lib = 'boost_python{}'.format(candidate)
- if find_library(boost_lib):
- exit
+ boost_lib = 'boost_python{v[0]}{v[1]}'.format(v=sys.version_info)
if not find_library(boost_lib):
boost_lib = "boost_python"
- elif system == 'Darwin':
- boost_lib = 'boost_python-mt' if sys.version_info[0] == 2 else 'boost_python3-mt'
elif system == 'Cygwin':
boost_lib = 'boost_python-mt' if sys.version_info[0] == 2 else 'boost_python3-mt'
else:
--- vowpalwabbit-8.5.0.orig/src/Makefile 2018-09-03 20:32:40.000000000 +0200
+++ vowpalwabbit-8.5.0/src/Makefile 2018-09-03 21:42:30.000000000 +0200
@@ -37,7 +37,7 @@
NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
endif
ifeq ($(UNAME), Darwin)
- LIBS = -lboost_program_options-mt -lboost_serialization-mt -l pthread -l z
+ LIBS = -lboost_program_options -lboost_serialization -l pthread -l z
# On Macs, the location isn't always clear
# brew uses /usr/local
# but /opt/local seems to be preferred by some users
6 changes: 3 additions & 3 deletions pkgs/development/tools/misc/gede/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "gede-${version}";
version = "2.6.1";
version = "2.10.9";

src = fetchurl {
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
sha256 = "0jallpchl3c3i90hwic4n7n0ggk5wra0fki4by9ag26ln0k42c4r";
sha256 = "0av9v3r6x6anjjm4hzn8wxnvrqc8zp1g7570m5ndg7cgc3sy3bg6";
};

nativeBuildInputs = [ qmake makeWrapper python ];
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
description = "Graphical frontend (GUI) to GDB";
homepage = http://gede.acidron.com;
license = licenses.bsd2;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = with maintainers; [ juliendehos ];
};
}
10 changes: 4 additions & 6 deletions pkgs/development/tools/valadoc/default.nix
Original file line number Diff line number Diff line change
@@ -11,19 +11,17 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobjectIntrospection ];
buildInputs = [ graphviz glib gnome3.libgee expat ];

preConfigure = "./autogen.sh";

passthru = {
updateScript = gnome3.updateScript {
packageName = "valadoc";
};
};

meta = with stdenv.lib; {
description = "valadoc is a documentation generator for generating API documentation from Vala source code";
homepage = https://valadoc.org;
license = stdenv.lib.licenses.gpl2;
description = "A documentation generator for generating API documentation from Vala source code";
homepage = https://valadoc.org;
license = licenses.gpl2;
maintainers = with maintainers; [ sternenseemann ];
platforms = with platforms; linux;
platforms = platforms.linux;
};
}
1 change: 1 addition & 0 deletions pkgs/shells/ion/default.nix
Original file line number Diff line number Diff line change
@@ -21,5 +21,6 @@ buildRustPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}
10 changes: 9 additions & 1 deletion pkgs/stdenv/generic/make-derivation.nix
Original file line number Diff line number Diff line change
@@ -187,7 +187,15 @@ rec {
builder = attrs.realBuilder or stdenv.shell;
args = attrs.args or ["-e" (attrs.builder or ./default-builder.sh)];
inherit stdenv;
inherit (stdenv.hostPlatform) system;

# The `system` attribute of a derivation has special meaning to Nix.
# Derivations set it to choose what sort of machine could be used to
# execute the build, The build platform entirely determines this,
# indeed more finely than Nix knows or cares about. The `system`
# attribute of `buildPlatfom` matches Nix's degree of specificity.
# exactly.
inherit (stdenv.buildPlatform) system;

userHook = config.stdenv.userHook or null;
__ignoreNulls = true;

Loading