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: a9d62189e71e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0405eaf127da
Choose a head ref

Commits on Sep 26, 2017

  1. pythonPackages.channels: 1.1.6 -> 1.1.8 (#29772)

    (cherry picked from commit f1a2b86)
    lsix authored and globin committed Sep 26, 2017
    Copy the full SHA
    877c957 View commit details
  2. mediawiki: 1.27.3 -> 1.29.1

    (cherry picked from commit 0b1c73f)
    samueldr authored and globin committed Sep 26, 2017
    Copy the full SHA
    b968e8a View commit details
  3. nixos/zfs: import encrypted datasets by default for zfsUnstable

    (cherry picked from commit 9164517)
    Mic92 authored and globin committed Sep 26, 2017
    Copy the full SHA
    b97384a View commit details
  4. {zfsUnstable,splUnstable}: 2017-09-12 -> 2017-09-26

    (cherry picked from commit 8fcf95f)
    Mic92 authored and globin committed Sep 26, 2017
    Copy the full SHA
    16ad9ed View commit details
  5. oslo-config: 4.11.0 -> 4.12.0, fix build

    also updated the following dependencies:
    keystoneauth1: 3.1.0 -> 3.2.0
      disabled tests which require oslo-config, oslo-test or requests-kerberos
    oslo-i18n: 2.7.0 -> 3.18.0
    oslotest: 1.12.0 -> 2.18.0
    os-client-config: 1.8.1 -> 1.28.0
      needed to disable testing due to circular dependency with oslotest
    mox3: 0.11.0 -> 0.23.0
      disable tests for py36 due to upstream bug
    debtcollector: 0.9.0 -> 1.17.0
      tests enabled
    
    extra packages:
    requestsexceptions: init at 1.3.0
    
    (cherry picked from commit 7251699)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    e6fff35 View commit details
  6. keystoneauth1: enable tests

    requires a later version of betamax, bumped to 0.8.0
    
    (cherry picked from commit 97644a9)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    7af7e87 View commit details
  7. sqlalchemy-migrate: re-enable tests

    (cherry picked from commit 42edc6f)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    4b26ccd View commit details
  8. oslo-service: 0.10.0 -> 1.26.0, with dependencies

    oslo-service:
      needs to disable tests due to network errors when importing eventlet
      for tests ( socket.getprotobyname('tcp') -> no such protocol )
    eventlet: 0.17.4 -> 0.20.0
      cannot update to 0.21.0 due to version pinning ( < 0.21.0 ) of oslo-service
    monotonic: 0.4 -> 1.3
    oslo-serialization: 1.10.0 -> 2.20.0
    oslo-utils: 2.6.0 -> 3.29.0
    oslo-concurrency: 2.7.0 -> 3.22.0
    oslo-log: 1.12.1 -> 3.31.0
    oslo-context: 0.7.0 -> 2.18.1
    routes: 1.12.3 -> 2.4.1
    webob: 1.4.1 -> 1.7.3
    
    when updating i rewrote the package to use fetchPypi for making future
    updating easier
    
    (cherry picked from commit 78621e3)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    743e2cc View commit details
  9. oslo-config,sqlalchemy: add makefu to list of maintainers

    (cherry picked from commit d7c26f2)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    a3969e2 View commit details
  10. celery: disable eventlet tests

    eventlet cannot be imported in any tests because it fails to be imported
    inside the sandboxed environment
    
    (cherry picked from commit d00ba80)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    7f532c3 View commit details
  11. pyramid: 1.7 -> 1.9.1

    (cherry picked from commit dcc36a4)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    27c46a7 View commit details
  12. celery: fix eventlet tests

    (cherry picked from commit 1b628fb)
    Mic92 authored and globin committed Sep 26, 2017
    Copy the full SHA
    d1b4142 View commit details
  13. gdal: fix path to pg_config

    (cherry picked from commit 032c50d)
    makefu authored and globin committed Sep 26, 2017
    Copy the full SHA
    9e8f046 View commit details
  14. uchiwa: 0.25.3 -> 0.26.0

    (cherry picked from commit dd6591c)
    peterhoeg authored and globin committed Sep 26, 2017
    Copy the full SHA
    df997bd View commit details
  15. rhino: remove dependency on GCJ (#29759)

    (cherry picked from commit 472bb96)
    berdario authored and globin committed Sep 26, 2017
    Copy the full SHA
    17c4f37 View commit details
  16. kotlin: 1.1.4-2 -> 1.1.50

    (cherry picked from commit bec98b7)
    NeQuissimus authored and globin committed Sep 26, 2017
    Copy the full SHA
    03ff20e View commit details
  17. clojure: correct license (three-clause BSD -> EPLv1.0)

    This is retroactive. See: https://clojure.org/community/license
    
    (cherry picked from commit 2f3af25)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    a9f7a2e View commit details
  18. oath-toolkit: 2.6.1 -> 2.6.2

    (cherry picked from commit 6259738)
    fadenb authored and globin committed Sep 26, 2017
    Copy the full SHA
    aaed97d View commit details
  19. libmirage: add to top level

    (cherry picked from commit 8815b81)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    e96e0a2 View commit details
  20. skopeo: 0.1.22 -> 0.1.23

    (cherry picked from commit 4ec02cc)
    NeQuissimus authored and globin committed Sep 26, 2017
    Copy the full SHA
    276cddd View commit details
  21. oraclejdk: add version 9

    Oracle JDK 9 does not seems to contain jre directory, so oraclejre9
    package now uses a dedicated archive file.
    
    There is no 32-bit version nor arm version (yet). If Oracle releases
    them, I will update the package.
    
    (cherry picked from commit 692fcd9)
    taku0 authored and globin committed Sep 26, 2017
    Copy the full SHA
    d2f824f View commit details
  22. wlc: Refactor the code

    The code was a bit messy (unused parameters, etc.) and caused some
    warnings/errors which could potentially cause some problems.
    
    (cherry picked from commit 4b85b23)
    Michael Weiss authored and globin committed Sep 26, 2017
    Copy the full SHA
    1ee3559 View commit details
  23. wlc: 0.0.9 -> 0.0.10

    Initially the build was failing but it seems like
    4b85b23 already fixed it.
    
    (cherry picked from commit 05d79c0)
    primeos authored and globin committed Sep 26, 2017
    Copy the full SHA
    6b6989e View commit details
  24. sway: Fix the build

    While the last wlc upgrade (05d79c0)
    makes it possible to build sway 0.14.0 it also breaks the current build
    of sway 0.13.0.
    
    Unfortunately sway 0.14.0 segfaults on launch and I couldn't fix it yet
    (there are multiple upstream issues as well). I'll overwrite the wlc
    version for sway in order to have a usable version in nixpkgs for the
    meantime.
    
    (cherry picked from commit 676f5cb)
    primeos authored and globin committed Sep 26, 2017
    Copy the full SHA
    87557cb View commit details
  25. sct: fix segfault when DISPLAY is empty, clean up derivation

    (cherry picked from commit 44beb56)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    145eeb6 View commit details
  26. wlc: fix homepage / eval

    (cherry picked from commit a33402b)
    FRidh authored and globin committed Sep 26, 2017
    Copy the full SHA
    8e3dc89 View commit details
  27. mba6x_bl: update to 2016-12-08

    (cherry picked from commit fbc8fa8)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    b2fd3eb View commit details
  28. epsxe: init at 2.0.5 (#29810)

    * epsxe: init at 2.0.5
    
    * epsxe: nitpicks
    
    (cherry picked from commit 0ddca07)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    2de0784 View commit details
  29. epsxe: fix install, 32-bit executable uses mixed case

    (cherry picked from commit c3e6e9b)
    lukateras authored and globin committed Sep 26, 2017
    Copy the full SHA
    fdf61a4 View commit details
  30. 17.09 release notes: fix typo

    (cherry picked from commit 6ab200b)
    globin committed Sep 26, 2017
    Copy the full SHA
    0405eaf View commit details
Showing with 652 additions and 226 deletions.
  1. +1 −0 lib/maintainers.nix
  2. +1 −1 nixos/doc/manual/release-notes/rl-1709.xml
  3. +3 −3 nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
  4. +18 −0 nixos/modules/tasks/filesystems/zfs.nix
  5. +51 −32 pkgs/applications/window-managers/sway/default.nix
  6. +2 −2 pkgs/development/compilers/kotlin/default.nix
  7. +175 −0 pkgs/development/compilers/oraclejdk/jdk9-linux.nix
  8. +4 −4 pkgs/development/interpreters/clojure/default.nix
  9. +1 −1 pkgs/development/libraries/gdal/default.nix
  10. +1 −2 pkgs/development/libraries/java/rhino/default.nix
  11. +18 −17 pkgs/development/libraries/wlc/default.nix
  12. +5 −5 pkgs/development/python-modules/channels/default.nix
  13. +20 −0 pkgs/development/python-modules/hupper/default.nix
  14. +16 −6 pkgs/development/python-modules/keystoneauth1/default.nix
  15. +13 −6 pkgs/development/python-modules/oslo-config/default.nix
  16. +22 −0 pkgs/development/python-modules/plaster-pastedeploy/default.nix
  17. +20 −0 pkgs/development/python-modules/plaster/default.nix
  18. +27 −0 pkgs/development/python-modules/requestsexceptions/default.nix
  19. +3 −3 pkgs/development/python-modules/sqlalchemy-migrate/default.nix
  20. +2 −2 pkgs/development/tools/skopeo/default.nix
  21. +55 −0 pkgs/misc/emulators/epsxe/default.nix
  22. +5 −12 pkgs/os-specific/linux/mba6x_bl/default.nix
  23. +3 −3 pkgs/os-specific/linux/spl/default.nix
  24. +3 −3 pkgs/os-specific/linux/zfs/default.nix
  25. +6 −6 pkgs/servers/monitoring/uchiwa/bower-packages.nix
  26. +2 −2 pkgs/servers/monitoring/uchiwa/src.nix
  27. +10 −0 pkgs/tools/X11/sct/DISPLAY-segfault.patch
  28. +18 −23 pkgs/tools/X11/sct/default.nix
  29. +3 −3 pkgs/tools/security/oath-toolkit/default.nix
  30. +19 −4 pkgs/top-level/all-packages.nix
  31. +125 −86 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
@@ -647,6 +647,7 @@
xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
xwvvvvwx = "David Terry <davidterry@posteo.de>";
yarr = "Dmitry V. <savraz@gmail.com>";
yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
yochai = "Yochai <yochai@titat.info>";
yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>";
yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>";
2 changes: 1 addition & 1 deletion nixos/doc/manual/release-notes/rl-1709.xml
Original file line number Diff line number Diff line change
@@ -344,7 +344,7 @@ FLUSH PRIVILEGES;
</listitem>
<listitem>
<para>
Definitions for <filename>/etc/hosts</filename> can now be sped
Definitions for <filename>/etc/hosts</filename> can now be specified
declaratively with <literal>networking.hosts</literal>.
</para>
</listitem>
6 changes: 3 additions & 3 deletions nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
Original file line number Diff line number Diff line change
@@ -83,11 +83,11 @@ let

# Unpack Mediawiki and put the config file in its root directory.
mediawikiRoot = pkgs.stdenv.mkDerivation rec {
name= "mediawiki-1.27.3";
name= "mediawiki-1.29.1";

src = pkgs.fetchurl {
url = "http://download.wikimedia.org/mediawiki/1.27/${name}.tar.gz";
sha256 = "08x8mvc0y1gwq8rg0zm98wc6hc5j8imb6dcpx6s7392j5dc71m0i";
url = "http://download.wikimedia.org/mediawiki/1.29/${name}.tar.gz";
sha256 = "03mpazbxvb011s2nmlw5p6dc43yjgl5yrsilmj1imyykm57bwb3m";
};

skins = config.skins;
18 changes: 18 additions & 0 deletions nixos/modules/tasks/filesystems/zfs.nix
Original file line number Diff line number Diff line change
@@ -140,6 +140,17 @@ in
this once.
'';
};

requestEncryptionCredentials = mkOption {
type = types.bool;
default = config.boot.zfs.enableUnstable;
description = ''
Request encryption keys or passwords for all encrypted datasets on import.
Dataset encryption is only supported in zfsUnstable at the moment.
'';
};

};

services.zfs.autoSnapshot = {
@@ -263,6 +274,10 @@ in
assertion = !cfgZfs.forceImportAll || cfgZfs.forceImportRoot;
message = "If you enable boot.zfs.forceImportAll, you must also enable boot.zfs.forceImportRoot";
}
{
assertion = cfgZfs.requestEncryptionCredentials -> cfgZfs.enableUnstable;
message = "This feature is only available for zfs unstable. Set the NixOS option boot.zfs.enableUnstable.";
}
];

boot = {
@@ -306,6 +321,9 @@ in
done
echo
if [[ -n "$msg" ]]; then echo "$msg"; fi
${lib.optionalString cfgZfs.requestEncryptionCredentials ''
zfs load-key -a
''}
'') rootPools));
};

83 changes: 51 additions & 32 deletions pkgs/applications/window-managers/sway/default.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,64 @@
{ stdenv, fetchFromGitHub, pango, libinput
, makeWrapper, cmake, pkgconfig, asciidoc, libxslt, docbook_xsl, cairo
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs, libcap
, xwayland, pam, gdk_pixbuf
{ stdenv, fetchFromGitHub
, makeWrapper, cmake, pkgconfig, asciidoc, libxslt, docbook_xsl
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs
, pango, cairo, libinput, libcap, xwayland, pam, gdk_pixbuf, libpthreadstubs
, libXdmcp
}:

let
version = "0.13.0";
in
stdenv.mkDerivation rec {
name = "sway-${version}";
# Temporary workaround (0.14.0 segfaults)
wlc_009 = stdenv.lib.overrideDerivation wlc (oldAttrs: rec {
name = "wlc-${version}";
version = "0.0.9";

src = fetchFromGitHub {
owner = "Sircmpwn";
repo = "sway";
rev = "${version}";
sha256 = "1vgk4rl51nx66yzpwg4yhnbj7wc30k5q0hh5lf8y0i1nvpal0p3q";
owner = "Cloudef";
repo = "wlc";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1r6jf64gs7n9a8129wsc0mdwhcv44p8k87kg0714rhx3g2w22asg";
};
});
in stdenv.mkDerivation rec {
name = "sway-${version}";

nativeBuildInputs = [ makeWrapper cmake pkgconfig asciidoc libxslt docbook_xsl ];
src = fetchFromGitHub {
owner = "Sircmpwn";
repo = "sway";
rev = "${version}";
sha256 = "1vgk4rl51nx66yzpwg4yhnbj7wc30k5q0hh5lf8y0i1nvpal0p3q";
};

buildInputs = [ wayland wlc libxkbcommon pixman fontconfig pcre json_c dbus_libs pango cairo libinput libcap xwayland pam gdk_pixbuf ];
nativeBuildInputs = [
makeWrapper cmake pkgconfig
asciidoc libxslt docbook_xsl
];
buildInputs = [
wayland wlc_009 libxkbcommon pixman fontconfig pcre json_c dbus_libs
pango cairo libinput libcap xwayland pam gdk_pixbuf libpthreadstubs
libXdmcp
];

patchPhase = ''
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
'';
patchPhase = ''
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
'';

makeFlags = "PREFIX=$(out)";
cmakeFlags = "-DVERSION=${version}";
installPhase = "PREFIX=$out make install";
makeFlags = "PREFIX=$(out)";
cmakeFlags = "-DVERSION=${version}";
installPhase = "PREFIX=$out make install";

LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ wlc dbus_libs ];
preFixup = ''
wrapProgram $out/bin/sway \
--prefix LD_LIBRARY_PATH : "${LD_LIBRARY_PATH}";
'';
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ wlc_009 dbus_libs ];
preFixup = ''
wrapProgram $out/bin/sway \
--prefix LD_LIBRARY_PATH : "${LD_LIBRARY_PATH}";
'';

meta = with stdenv.lib; {
description = "i3-compatible window manager for Wayland";
homepage = "http://swaywm.org";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}
meta = with stdenv.lib; {
description = "i3-compatible window manager for Wayland";
homepage = http://swaywm.org;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ]; # Trying to keep it up-to-date.
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/kotlin/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, jre, unzip }:

stdenv.mkDerivation rec {
version = "1.1.4-2";
version = "1.1.50";
name = "kotlin-${version}";

src = fetchurl {
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
sha256 = "09sikwk5xxn4b30icbq28mjs4lm9xbj0bv5yjx75r165iz65g2cv";
sha256 = "01y7m0r5wa2apd05c38h77060javgbj8072vd08lz4qaw6c6445m";
};

propagatedBuildInputs = [ jre ] ;
175 changes: 175 additions & 0 deletions pkgs/development/compilers/oraclejdk/jdk9-linux.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{ swingSupport ? true
, stdenv
, requireFile
, makeWrapper
, unzip
, file
, xorg ? null
, packageType ? "JDK" # JDK, JRE, or ServerJRE
, pluginSupport ? true
, installjce ? false
, glib
, libxml2
, ffmpeg_2
, libxslt
, mesa_noglu
, freetype
, fontconfig
, gtk2
, pango
, cairo
, alsaLib
, atk
, gdk_pixbuf
, zlib
, elfutils
, setJavaClassPath
}:

assert stdenv.system == "x86_64-linux";
assert swingSupport -> xorg != null;

let
version = "9";

downloadUrlBase = http://www.oracle.com/technetwork/java/javase/downloads;

jce =
if installjce then
requireFile {
name = "jce_policy-8.zip";
url = "${downloadUrlBase}/jce8-download-2133166.html";
sha256 = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
}
else
"";

rSubPaths = [
"lib/jli"
"lib/server"
"lib"
];

in

let result = stdenv.mkDerivation rec {
name = if packageType == "JDK" then "oraclejdk-${version}"
else if packageType == "JRE" then "oraclejre-${version}"
else if packageType == "ServerJRE" then "oracleserverjre-${version}"
else abort "unknown package Type ${packageType}";

src =
if packageType == "JDK" then
requireFile {
name = "jdk-${version}_linux-x64_bin.tar.gz";
url = "${downloadUrlBase}/jdk9-downloads-3848520.html";
sha256 = "0vbgy7h9h089l3xh6sl57v57g28x1djyiigqs4z6gh7wahx7hv8w";
}
else if packageType == "JRE" then
requireFile {
name = "jre-${version}_linux-x64_bin.tar.gz";
url = "${downloadUrlBase}/jre9-downloads-3848532.html";
sha256 = "18i4jjb6sby67xg5ql6dkk3ja1nackbb23g1bnp522450nclpxdb";
}
else if packageType == "ServerJRE" then
requireFile {
name = "serverjre-${version}_linux-x64_bin.tar.gz";
url = "${downloadUrlBase}/server-jre9-downloads-3848530.html";
sha256 = "01bxi7lx13lhlpbifw93b6r7a9bayiykw8kzwlyyqi8pz3pw8c5h";
}
else abort "unknown package Type ${packageType}";

nativeBuildInputs = [ file ]
++ stdenv.lib.optional installjce unzip;

buildInputs = [ makeWrapper ];

# See: https://github.com/NixOS/patchelf/issues/10
dontStrip = 1;

installPhase = ''
cd ..
# Set PaX markings
exes=$(file $sourceRoot/bin/* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//')
for file in $exes; do
paxmark m "$file"
# On x86 for heap sizes over 700MB disable SEGMEXEC and PAGEEXEC as well.
${stdenv.lib.optionalString stdenv.isi686 ''paxmark msp "$file"''}
done
mv $sourceRoot $out
shopt -s extglob
for file in $out/*
do
if test -f $file ; then
rm $file
fi
done
if test -n "${jce}"; then
unzip ${jce}
cp -v UnlimitedJCEPolicy*/*.jar $out/lib/security
fi
if test -z "$pluginSupport"; then
rm -f $out/bin/javaws
fi
mkdir $out/lib/plugins
ln -s $out/lib/libnpjp2.so $out/lib/plugins
# for backward compatibility
ln -s $out $out/jre
mkdir -p $out/nix-support
printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
# Set JAVA_HOME automatically.
cat <<EOF >> $out/nix-support/setup-hook
if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out; fi
EOF
'';

postFixup = ''
rpath+="''${rpath:+:}${stdenv.lib.concatStringsSep ":" (map (a: "$out/${a}") rSubPaths)}"
# set all the dynamic linkers
find $out -type f -perm -0100 \
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "$rpath" {} \;
find $out -name "*.so" -exec patchelf --set-rpath "$rpath" {} \;
# Oracle Java Mission Control needs to know where libgtk-x11 and related is
if test -x $out/bin/jmc; then
wrapProgram "$out/bin/jmc" \
--suffix-each LD_LIBRARY_PATH ':' "$rpath"
fi
'';

/**
* libXt is only needed on amd64
*/
libraries =
[stdenv.cc.libc glib libxml2 ffmpeg_2 libxslt mesa_noglu xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk zlib elfutils] ++
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);

rpath = stdenv.lib.strings.makeLibraryPath libraries;

passthru.mozillaPlugin = "/lib/plugins";

passthru.jre = result; # FIXME: use multiple outputs or return actual JRE package

passthru.home = result;

# for backward compatibility
passthru.architecture = "";

meta = with stdenv.lib; {
license = licenses.unfree;
platforms = [ "x86_64-linux" ]; # some inherit jre.meta.platforms
};

}; in result
8 changes: 4 additions & 4 deletions pkgs/development/interpreters/clojure/default.nix
Original file line number Diff line number Diff line change
@@ -20,10 +20,10 @@ stdenv.mkDerivation {
makeWrapper ${jdk.jre}/bin/java $out/bin/clojure --add-flags "-cp $out/share/java/clojure.jar clojure.main"
'';

meta = {
meta = with stdenv.lib; {
description = "A Lisp dialect for the JVM";
homepage = https://clojure.org/;
license = stdenv.lib.licenses.bsd3;
license = licenses.epl10;
longDescription = ''
Clojure is a dynamic programming language that targets the Java
Virtual Machine. It is designed to be a general-purpose language,
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
offers a software transactional memory system and reactive Agent
system that ensure clean, correct, multithreaded designs.
'';
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
platforms = with stdenv.lib.platforms; unix;
maintainers = with maintainers; [ the-kenny ];
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/gdal/default.nix
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
"--with-png=${libpng.dev}" # optional
"--with-poppler=${poppler.dev}" # optional
"--with-libz=${zlib.dev}" # optional
"--with-pg=${postgresql}/bin/pg_config"
"--with-pg=${postgresql.dev}/bin/pg_config"
"--with-mysql=${mysql.lib.dev}/bin/mysql_config"
"--with-geotiff=${libgeotiff}"
"--with-sqlite3=${sqlite.dev}"
Loading