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

Commits on Apr 17, 2020

  1. azureus: fix build

    globin committed Apr 17, 2020
    Copy the full SHA
    fef6d50 View commit details
  2. ardour: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    0e61d42 View commit details
  3. evolution: fix build

    globin committed Apr 17, 2020
    Copy the full SHA
    04ce999 View commit details
  4. Copy the full SHA
    5a91b08 View commit details
  5. gnustep-make: fix build

    globin committed Apr 17, 2020
    Copy the full SHA
    3119af3 View commit details
  6. llvm6.compiler-rt: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    6ec22bc View commit details
  7. guile: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    f83a072 View commit details
  8. qm-dsp: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    cb7feb3 View commit details
  9. kinit: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    1ad6dea View commit details
  10. sword: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    b2531b3 View commit details
  11. base16-builder: fix eval

    globin committed Apr 17, 2020
    Copy the full SHA
    f9cf8a5 View commit details
  12. texlive.dvisvgm: fix build

    globin committed Apr 17, 2020
    Copy the full SHA
    bc15f27 View commit details
2 changes: 1 addition & 1 deletion pkgs/applications/audio/ardour/default.nix
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ in stdenv.mkDerivation rec {
"--with-backends=jack,alsa,dummy"
];

NIX_CFLAGS_COMPILE = "-I${qm-dsp}/include/qm-dsp";
env.NIX_CFLAGS_COMPILE = "-I${qm-dsp}/include/qm-dsp";

# ardour's wscript has a "tarball" target but that required the git revision
# be available. Since this is an unzipped tarball fetched from github we
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome-3/apps/evolution/default.nix
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ stdenv.mkDerivation rec {
};
};

PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
env.PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";

meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Apps/Evolution";
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
prePatch = ''
substitute ${./hardcode-gsettings.patch} hardcode-gsettings.patch --subst-var-by ESD_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} \
--subst-var-by GDS_GSETTINGS_PATH ${glib.getSchemaPath gsettings-desktop-schemas}
patches="$patches $PWD/hardcode-gsettings.patch"
patches+=("$PWD/hardcode-gsettings.patch")
'';

nativeBuildInputs = [
2 changes: 1 addition & 1 deletion pkgs/desktops/gnustep/make/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
];

preConfigure = ''
configureFlags="$configureFlags --with-config-file=$out/etc/GNUstep/GNUstep.conf"
configureFlags+=("--with-config-file=$out/etc/GNUstep/GNUstep.conf")
'';

makeFlags = [
4 changes: 1 addition & 3 deletions pkgs/development/compilers/llvm/6/compiler-rt.nix
Original file line number Diff line number Diff line change
@@ -16,9 +16,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python3 llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;

NIX_CFLAGS_COMPILE = [
"-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
];
env.NIX_CFLAGS_COMPILE = "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0";

cmakeFlags = [
"-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON"
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/guile/default.nix
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@
# "libgcc_s.so.1 must be installed for pthread_cancel to work".

# don't have "libgcc_s.so.1" on darwin
LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
env.LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";

configureFlags = [ "--with-libreadline-prefix=${readline.dev}" ]
++ stdenv.lib.optionals stdenv.isSunOS [
2 changes: 1 addition & 1 deletion pkgs/development/libraries/audio/qm-dsp/default.nix
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
"LIBDIR=${placeholder "out"}/lib"
];

NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";
env.NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";

meta = with stdenv.lib; {
description = "A C++ library of functions for DSP and Music Informatics purposes";
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ mkDerivation {
./0003-kdeinit-extra-libs.patch
./0004-start_kdeinit-environ-hard-limit.patch
];
CXXFLAGS = [
env.CXXFLAGS = toString [
''-DNIXPKGS_KF5_KIOCORE=\"${getLib kio}/lib/libKF5KIOCore.so.5\"''
''-DNIXPKGS_KF5_PARTS=\"${getLib kparts}/lib/libKF5Parts.so.5\"''
''-DNIXPKGS_KF5_PLASMA=\"${getLib plasma-framework}/lib/libKF5Plasma.so.5\"''
2 changes: 1 addition & 1 deletion pkgs/development/libraries/sword/default.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
];

configureFlags = [ "--without-conf" "--enable-tests=no" ];
CXXFLAGS = [
env.CXXFLAGS = toString [
"-Wno-unused-but-set-variable"
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
"-DU_USING_ICU_NAMESPACE=1"
4 changes: 2 additions & 2 deletions pkgs/misc/base16-builder/node-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions pkgs/tools/networking/p2p/azureus/builder.sh

This file was deleted.

26 changes: 23 additions & 3 deletions pkgs/tools/networking/p2p/azureus/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,33 @@

stdenv.mkDerivation {
name = "azureus-2.3.0.6";
builder = ./builder.sh;

src = fetchurl {
url = "http://tarballs.nixos.org/Azureus2.3.0.6.jar";
sha256 = "1hwrh3n0b0jbpsdk15zrs7pw175418phhmg6pn4xi1bvilxq1wrd";
};
# buildInputs = [unzip];
inherit jdk swt;

dontUnpack = true;

installPhase = ''
mkdir -p $out/jars
cp $src $out/jars/azureus.jar
mkdir -p $out/bin
cat > $out/bin/azureus <<EOF
#! $SHELL -e
azureusHome=$out
if test -n "\$HOME"; then
azureusHome=\$HOME/.Azureus
fi
exec ${jdk}/bin/java -Xms16m -Xmx128m \
-cp $out/jars/azureus.jar:${swt}/jars/swt.jar \
-Djava.library.path=$swt/lib \
-Dazureus.install.path=\$azureusHome \
org.gudy.azureus2.ui.swt.Main
EOF
chmod +x $out/bin/azureus
'';

meta = {
platforms = stdenv.lib.platforms.linux;
2 changes: 1 addition & 1 deletion pkgs/tools/typesetting/tex/texlive/bin.nix
Original file line number Diff line number Diff line change
@@ -287,7 +287,7 @@ dvisvgm = stdenv.mkDerivation {

# configure script has a bug: it refers to $HAVE_LIBGS but sets $have_libgs
# TODO: remove for texlive 2020?
HAVE_LIBGS = 1;
env.HAVE_LIBGS = 1;

configureFlags = common.configureFlags
++ [ "--with-system-kpathsea" ];