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: 7c76c8ce3226
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: 81760f32353f
Choose a head ref

Commits on Aug 7, 2019

  1. rocksdb: 6.1.2 -> 6.2.2

    magenbluten committed Aug 7, 2019
    Copy the full SHA
    7ea1d15 View commit details

Commits on Aug 19, 2019

  1. Copy the full SHA
    f71fd79 View commit details
  2. sd-image.nix: set installer.cloneConfig to false

    As SD Card images are both installation media and installation target,
    don't copy over a /etc/nixos/configuration.nix
    
    Closes #63576.
    flokli committed Aug 19, 2019
    Copy the full SHA
    0aa5e31 View commit details
  3. nixos/doc: update installation-device.nix

    This got quite outdated. We now have both the nixos and root user
    available for example.
    flokli committed Aug 19, 2019
    Copy the full SHA
    1515afe View commit details
  4. Copy the full SHA
    d6eb5b0 View commit details

Commits on Aug 20, 2019

  1. Copy the full SHA
    13d5fc4 View commit details

Commits on Aug 27, 2019

  1. Copy the full SHA
    2c0bb59 View commit details

Commits on Aug 28, 2019

  1. Copy the full SHA
    1f3aa24 View commit details

Commits on Aug 29, 2019

  1. include-what-you-use: 0.10 -> 0.12

    Release notes:
    https://github.com/include-what-you-use/include-what-you-use/releases/tag/clang_8.0
    
    IWYU version 0.12 is based on LLVM/Clang version 8.0.
    strager committed Aug 29, 2019
    Copy the full SHA
    7ba8b72 View commit details
  2. postgresqlPackages.plv8: narrow platforms to x86_64-linux

    plv8 uses a custom version v8 version, which is reported to only build
    on x86_64-linux. The next major version plv8 should drop the custom v8.
    marsam committed Aug 29, 2019
    Copy the full SHA
    f24c729 View commit details
  3. Copy the full SHA
    964974b View commit details

Commits on Aug 30, 2019

  1. filezilla: 3.43.0 -> 3.44.2

    Jonathan Ringer committed Aug 30, 2019
    Copy the full SHA
    260314e View commit details
  2. exempi: 2.4.5 -> 2.5.1

    Jonathan Ringer committed Aug 30, 2019
    Copy the full SHA
    e594088 View commit details
  3. maturin: 0.6.1 -> 0.7.0

    pyo3-pack has been renamed to maturin version 0.7.0. Other larger
    changes are:
    
    - Mixed rust/python layout
    - Added PEP 517 support
    - Support settings all applicable fields from the python core
      metadata specification in Cargo.toml
    danieldk committed Aug 30, 2019
    Copy the full SHA
    7e29ce8 View commit details
  4. Merge pull request #67778 from jonringer/bump-filezilla

    filezilla: 3.43.0 -> 3.44.2
    Ma27 authored Aug 30, 2019
    Copy the full SHA
    00762b5 View commit details
  5. Merge pull request #67786 from danieldk/maturin

    maturin: 0.6.1 -> 0.7.0
    Ma27 authored Aug 30, 2019
    Copy the full SHA
    1a1d1bc View commit details
  6. nixos/fontconfig-penultimate: disable by default

    It currently lacks an emoji font-family which means it has to be
    disabled for them to function [0].  Additionally it's fallen out of
    necessity to ship custom font rendering settings (as far as I'm aware
    of).
    
    [0]: NixOS/nixpkgs#67215
    worldofpeace committed Aug 30, 2019
    Copy the full SHA
    0d220e4 View commit details
  7. Merge pull request #67529 from worldofpeace/disable-penultimate

    nixos/fontconfig-penultimate: disable by default
    worldofpeace authored Aug 30, 2019
    Copy the full SHA
    f0dce64 View commit details

Commits on Aug 31, 2019

  1. Merge pull request #67600 from marsam/update-plv8

    postgresqlPackages.plv8: 2.3.12 -> 2.3.13
    marsam authored Aug 31, 2019
    Copy the full SHA
    4e24cf1 View commit details
  2. Merge pull request #67668 from strager/iwyu-0.12

    include-what-you-use: 0.10 -> 0.12
    aanderse authored Aug 31, 2019
    Copy the full SHA
    27bd71c View commit details
  3. Merge pull request #63773 from flokli/installation-device-fixes

    installation-device.nix: explain sshd usage, don't include clone-config
    flokli authored Aug 31, 2019
    Copy the full SHA
    4e586de View commit details
  4. Merge pull request #67583 from jollheef/dino-unstable-2019-08-27

    dino: 2019-02-06 -> 2019-08-27
    aanderse authored Aug 31, 2019
    Copy the full SHA
    37c6e32 View commit details
  5. olive-editor: 0.1.0 -> 0.1.1

    Commit updated according to #65399
    luzpaz committed Aug 31, 2019
    Copy the full SHA
    aaad52b View commit details
  6. Merge pull request #67711 from luzpaz/olive-editor-update

    olive-editor: 0.1.0 -> 0.1.1
    aanderse authored Aug 31, 2019
    Copy the full SHA
    6baeab2 View commit details
  7. Merge pull request #66253 from magenbluten/rocksdb

    rocksdb: 6.1.2 -> 6.2.2
    disassembler authored Aug 31, 2019
    Copy the full SHA
    41a3746 View commit details
  8. monero-gui: cleanup for qt wrappers

    rnhmjoj authored and worldofpeace committed Aug 31, 2019
    Copy the full SHA
    bd1e442 View commit details
  9. Merge pull request #67802 from rnhmjoj/monero

    monero-gui: cleanup
    worldofpeace authored Aug 31, 2019
    Copy the full SHA
    1a4903a View commit details
  10. hexchat: 2.12.4 -> 2.14.2 (#67714)

    averelld authored and disassembler committed Aug 31, 2019
    Copy the full SHA
    60216e8 View commit details
  11. Copy the full SHA
    5a581c4 View commit details
  12. nixos/tests/systemd: Fix x-initrd-mount flakiness (#67798)

    It turns out that checking for the last mount time of an ext4 file
    system isn't a very reliable way to check whether the file system was
    properly unmounted.
    
    When creating that test in the first place (88530e0),
    I was reluctant to inspect the file system when the VM is down and was
    searching for a way to check for a clean unmount *after* the file system
    was mounted again to make sure we don't need to create a 512 MB raw
    image on the host.
    
    Fortunately however, when converting from qcow2, qemu-img actually
    writes a sparse file, so for most file systems (that is, file systems
    supporting sparse files) this shouldn't waste a lot of disk space.
    
    So when investigating the flakiness, I found that whenever the test is
    failing, the unmount of /test-x-initrd-mount was done *before* the final
    step during which systemd remounts+unmounts all the remaining file
    systems.
    
    I haven't investigated why this is the case, but the test is a
    regression test for NixOS/nixpkgs#35268, which
    actually didn't unmount the file system *at* *all*, so really all we
    need to take care here is whether the unmount has happened and not
    *how*.
    
    To make sure that checking the filesystem state is enough for this, I
    temporarily replaced the $machine->shutdown call with $machine->crash
    and verified that the file system state is "not clean".
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Fixes: NixOS/nixpkgs#67555
    aszlig authored and disassembler committed Aug 31, 2019
    Copy the full SHA
    d7c7fc4 View commit details
  13. bazel: cctools runtime dependency on darwin (#66724)

    The bazel build patches paths like `/usr/bin/install_name_tool` to refer
    to `${cctools}/bin/install_name_tool` instead. If the corresponding
    runtime dependency is not denoted, then darwin users can encounter "file
    not found" errors, e.g. when they fetch bazel from a binary cache and
    don't have `cctools` in their own nix store.
    aherrmann authored and kalbasit committed Aug 31, 2019
    Copy the full SHA
    1bf70fd View commit details
  14. neofetch: 6.0.0 -> 6.1.0

    tadeokondrak committed Aug 31, 2019
    Copy the full SHA
    b79f6f6 View commit details
  15. Merge pull request #67782 from jonringer/bump-exempi

    exempi: 2.4.5 -> 2.5.1
    ryantm authored Aug 31, 2019
    Copy the full SHA
    c56a764 View commit details
  16. Merge pull request #67811 from tadeokondrak/neofetch-6.1.0

    neofetch: 6.0.0 -> 6.1.0
    dywedir authored Aug 31, 2019
    Copy the full SHA
    a5ba6ba View commit details
  17. Merge pull request #66576 from input-output-hk/nvme-apple-ssd

    kernelPatches: mac nvme t2 support
    lheckemann authored Aug 31, 2019
    Copy the full SHA
    4b8755a View commit details
  18. Copy the full SHA
    d33df05 View commit details
  19. Copy the full SHA
    e9edc75 View commit details
  20. Copy the full SHA
    10ffd51 View commit details
  21. ocamlPackages.cstruct: 3.1.1 -> 4.0.0

    ocamlPackages.cstruct-sexp: init at 4.0.0
    
    ocamlPackages.x509: 0.6.1 -> 0.7.1
    
    ocamlPackages.tls: 0.9.0 -> 0.10.4
    
    jackline: 2018-05-11 -> 2019-08-08
    vbgl committed Aug 31, 2019
    Copy the full SHA
    81760f3 View commit details
Showing with 587 additions and 178 deletions.
  1. +7 −0 nixos/doc/manual/configuration/profiles/clone-config.xml
  2. +18 −20 nixos/doc/manual/configuration/profiles/installation-device.xml
  3. +6 −0 nixos/doc/manual/release-notes/rl-1909.xml
  4. +1 −1 nixos/modules/config/fonts/fontconfig-penultimate.nix
  5. +4 −0 nixos/modules/installer/cd-dvd/sd-image.nix
  6. +10 −7 nixos/modules/profiles/installation-device.nix
  7. +6 −4 nixos/tests/systemd.nix
  8. +6 −21 pkgs/applications/blockchains/monero-gui/default.nix
  9. +2 −2 pkgs/applications/networking/ftp/filezilla/default.nix
  10. +3 −3 pkgs/applications/networking/instant-messengers/dino/default.nix
  11. +3 −3 pkgs/applications/networking/instant-messengers/jackline/default.nix
  12. +30 −21 pkgs/applications/networking/irc/hexchat/default.nix
  13. +4 −4 pkgs/applications/video/olive-editor/default.nix
  14. +3 −13 pkgs/development/libraries/exempi/default.nix
  15. +0 −13 pkgs/development/libraries/rocksdb/0001-findzlib.patch
  16. +5 −3 pkgs/development/libraries/rocksdb/default.nix
  17. +4 −2 pkgs/development/libraries/v8/plv8_6_x.nix
  18. +20 −0 pkgs/development/ocaml-modules/bigarray-compat/default.nix
  19. +6 −8 pkgs/development/ocaml-modules/cstruct/default.nix
  20. +3 −3 pkgs/development/ocaml-modules/cstruct/ppx.nix
  21. +16 −0 pkgs/development/ocaml-modules/cstruct/sexp.nix
  22. +1 −1 pkgs/development/ocaml-modules/cstruct/unix.nix
  23. +29 −0 pkgs/development/ocaml-modules/domain-name/default.nix
  24. +2 −2 pkgs/development/ocaml-modules/git/default.nix
  25. +24 −0 pkgs/development/ocaml-modules/gmap/default.nix
  26. +10 −2 pkgs/development/ocaml-modules/nocrypto/default.nix
  27. +8 −7 pkgs/development/ocaml-modules/tls/default.nix
  28. +12 −17 pkgs/development/ocaml-modules/x509/default.nix
  29. +21 −0 pkgs/development/python-modules/handout/default.nix
  30. +3 −3 pkgs/development/tools/analysis/include-what-you-use/default.nix
  31. +2 −0 pkgs/development/tools/build-managers/bazel/default.nix
  32. +6 −6 pkgs/development/tools/rust/{pyo3-pack → maturin}/default.nix
  33. +283 −0 pkgs/os-specific/linux/kernel/mac-nvme-t2.patch
  34. +6 −0 pkgs/os-specific/linux/kernel/patches.nix
  35. +4 −4 pkgs/servers/sql/postgresql/ext/plv8.nix
  36. +6 −6 pkgs/tools/misc/neofetch/default.nix
  37. +1 −0 pkgs/top-level/aliases.nix
  38. +2 −2 pkgs/top-level/all-packages.nix
  39. +8 −0 pkgs/top-level/ocaml-packages.nix
  40. +2 −0 pkgs/top-level/python-packages.nix
7 changes: 7 additions & 0 deletions nixos/doc/manual/configuration/profiles/clone-config.xml
Original file line number Diff line number Diff line change
@@ -11,4 +11,11 @@
creating the image in the first place. As a result it allows users to edit
and rebuild the live-system.
</para>

<para>
On images where the installation media also becomes an installation target,
copying over <literal>configuration.nix</literal> should be disabled by
setting <literal>installer.cloneConfig</literal> to <literal>false</literal>.
This is already done in <literal>sd-image.nix</literal>.
</para>
</section>
38 changes: 18 additions & 20 deletions nixos/doc/manual/configuration/profiles/installation-device.xml
Original file line number Diff line number Diff line change
@@ -6,33 +6,31 @@
<title>Installation Device</title>

<para>
Provides a basic configuration for installation devices like CDs. This means
enabling hardware scans, using the <link linkend="sec-profile-clone-config">
Clone Config profile</link> to guarantee
<filename>/etc/nixos/configuration.nix</filename> exists (for
<command>nixos-rebuild</command> to work), a copy of the Nixpkgs channel
snapshot used to create the install media.
Provides a basic configuration for installation devices like CDs.
This enables redistributable firmware, includes the
<link linkend="sec-profile-clone-config">Clone Config profile</link>
and a copy of the Nixpkgs channel, so <command>nixos-install</command>
works out of the box.
</para>

<para>
Additionally, documentation for <link linkend="opt-documentation.enable">
Nixpkgs</link> and <link linkend="opt-documentation.nixos.enable">NixOS
</link> are forcefully enabled (to override the
Documentation for <link linkend="opt-documentation.enable">Nixpkgs</link>
and <link linkend="opt-documentation.nixos.enable">NixOS</link> are
forcefully enabled (to override the
<link linkend="sec-profile-minimal">Minimal profile</link> preference); the
NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled.
Autologin is enabled as root.
NixOS manual is shown automatically on TTY 8, udisks is disabled.
Autologin is enabled as <literal>nixos</literal> user, while passwordless
login as both <literal>root</literal> and <literal>nixos</literal> is possible.
Passwordless <command>sudo</command> is enabled too.
<link linkend="opt-networking.wireless.enable">wpa_supplicant</link> is
enabled, but configured to not autostart.
</para>

<para>
A message is shown to the user to start a display manager if needed, ssh with
<xref linkend="opt-services.openssh.permitRootLogin"/> are enabled (but
doesn't autostart). WPA Supplicant is also enabled without autostart.
It is explained how to login, start the ssh server, and if available,
how to start the display manager.
</para>

<para>
Finally, vim is installed, root is set to not have a password, the kernel is
made more silent for remote public IP installs, and several settings are
tweaked so that the installer has a better chance of succeeding under
low-memory environments.
Several settings are tweaked so that the installer has a better chance of
succeeding under low-memory environments.
</para>
</section>
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-1909.xml
Original file line number Diff line number Diff line change
@@ -585,6 +585,12 @@
features.
</para>
</listitem>
<listitem>
<para>
We no longer enable custom font rendering settings with <option>fonts.fontconfig.penultimate.enable</option> by default.
The defaults from fontconfig are sufficient.
</para>
</listitem>
</itemizedlist>
</section>
</section>
2 changes: 1 addition & 1 deletion nixos/modules/config/fonts/fontconfig-penultimate.nix
Original file line number Diff line number Diff line change
@@ -269,7 +269,7 @@ in
penultimate = {
enable = mkOption {
type = types.bool;
default = true;
default = false;
description = ''
Enable fontconfig-penultimate settings to supplement the
NixOS defaults by providing per-font rendering defaults and
4 changes: 4 additions & 0 deletions nixos/modules/installer/cd-dvd/sd-image.nix
Original file line number Diff line number Diff line change
@@ -194,5 +194,9 @@ in
rm -f /nix-path-registration
fi
'';

# the installation media is also the installation target,
# so we don't want to provide the installation configuration.nix.
installer.cloneConfig = false;
};
}
17 changes: 10 additions & 7 deletions nixos/modules/profiles/installation-device.nix
Original file line number Diff line number Diff line change
@@ -55,13 +55,16 @@ with lib;
services.mingetty.autologinUser = "nixos";

# Some more help text.
services.mingetty.helpLine =
''
The "nixos" and "root" account have empty passwords. ${
optionalString config.services.xserver.enable
"Type `sudo systemctl start display-manager' to\nstart the graphical user interface."}
'';
services.mingetty.helpLine = ''
The "nixos" and "root" accounts have empty passwords.
Type `sudo systemctl start sshd` to start the SSH daemon.
You then must set a password for either "root" or "nixos"
with `passwd` to be able to login.
'' + optionalString config.services.xserver.enable ''
Type `sudo systemctl start display-manager' to
start the graphical user interface.
'';

# Allow sshd to be started manually through "systemctl start sshd".
services.openssh = {
10 changes: 6 additions & 4 deletions nixos/tests/systemd.nix
Original file line number Diff line number Diff line change
@@ -71,11 +71,13 @@ import ./make-test.nix ({ pkgs, ... }: {
# Regression test for https://github.com/NixOS/nixpkgs/issues/35268
subtest "file system with x-initrd.mount is not unmounted", sub {
$machine->succeed('mountpoint -q /test-x-initrd-mount');
$machine->shutdown;
$machine->waitForUnit('multi-user.target');
# If the file system was unmounted during the shutdown the file system
# has a last mount time, because the file system wasn't checked.
$machine->fail('dumpe2fs /dev/vdb | grep -q "^Last mount time: *n/a"');
system('qemu-img', 'convert', '-O', 'raw',
'vm-state-machine/empty2.qcow2', 'x-initrd-mount.raw');
my $extinfo = `${pkgs.e2fsprogs}/bin/dumpe2fs x-initrd-mount.raw`;
die "File system was not cleanly unmounted: $extinfo"
unless $extinfo =~ /^Filesystem state: *clean$/m;
};
subtest "systemd-shutdown works", sub {
27 changes: 6 additions & 21 deletions pkgs/applications/blockchains/monero-gui/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub
, wrapQtAppsHook, makeDesktopItem
{ mkDerivation, lib, makeDesktopItem, fetchFromGitHub
, qtbase, qmake, qtmultimedia, qttools
, qtgraphicaleffects, qtdeclarative
, qtlocation, qtquickcontrols, qtquickcontrols2
@@ -9,22 +8,10 @@
, hidapi
}:

with stdenv.lib;
with lib;

let
qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";

qml2ImportPath = concatMapStringsSep ":" qmlPath [
qtbase.bin qtmultimedia.bin qtgraphicaleffects
qtdeclarative.bin qtlocation.bin
qtquickcontrols qtquickcontrols2.bin
qtwebchannel.bin qtwebengine.bin qtxmlpatterns
];

in

stdenv.mkDerivation rec {
name = "monero-gui-${version}";
mkDerivation rec {
pname = "monero-gui";
version = "0.14.1.2";

src = fetchFromGitHub {
@@ -34,7 +21,7 @@ stdenv.mkDerivation rec {
sha256 = "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k";
};

nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
nativeBuildInputs = [ qmake pkgconfig ];

buildInputs = [
qtbase qtmultimedia qtgraphicaleffects
@@ -46,9 +33,7 @@ stdenv.mkDerivation rec {
cppzmq hidapi
];

patches = [
./move-log-file.patch
];
patches = [ ./move-log-file.patch ];

postPatch = ''
echo '
4 changes: 2 additions & 2 deletions pkgs/applications/networking/ftp/filezilla/default.nix
Original file line number Diff line number Diff line change
@@ -18,11 +18,11 @@

stdenv.mkDerivation rec {
pname = "filezilla";
version = "3.43.0";
version = "3.44.2";

src = fetchurl {
url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2";
sha256 = "13i505y34b6lg7knzznf8812d9nwpnbf3hidpq58cbv8c31m5rkg";
sha256 = "1dny16ybzml6py1y8vprylqq1xc08221w5xcwcmygkjrb0820kax";
};

configureFlags = [
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@
}:

stdenv.mkDerivation rec {
name = "dino-unstable-2019-03-07";
name = "dino-unstable-2019-08-27";

src = fetchFromGitHub {
owner = "dino";
repo = "dino";
rev = "cc7b0aa7bd5b6599159f654fdd8a2fd111e16a3e";
sha256 = "1cq62vif92fz38si2bl49qwy4ys9gxdrvzkv25av6c6nwmyih4gv";
rev = "ff6caf241c4d57d3ef124a8b7c3144a09f320ea0";
sha256 = "1gjxfnywlypi3slvxb91b2mycrsqjinmafnkkngahyikr7gmqgnf";
fetchSubmodules = true;
};

Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@
assert stdenv.lib.versionAtLeast ocamlPackages.ocaml.version "4.02.2";

stdenv.mkDerivation rec {
version = "2018-05-11";
version = "2019-08-08";
name = "jackline-${version}";

src = fetchFromGitHub {
owner = "hannesm";
repo = "jackline";
rev = "bc36b1c8b80fee6baba4f91011cd01b82a06e8eb";
sha256 = "1xx2yx8a95m84sa1bkxi3rlx7pd39zkqwk3znj0zzz3cni6apfrz";
rev = "b934594010a563ded9c0f436e3fab8f1cae29856";
sha256 = "076h03jd970xlii90ax6kvgyq67g81gs30yvdzps366n7zzy3yfc";
};

buildInputs = with ocamlPackages; [
51 changes: 30 additions & 21 deletions pkgs/applications/networking/irc/hexchat/default.nix
Original file line number Diff line number Diff line change
@@ -1,43 +1,52 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, lua, perl, python2
, libtool, pciutils, dbus-glib, libcanberra-gtk2, libproxy
, libsexy, enchant1, libnotify, openssl, intltool
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, gtk2, lua, perl, python3
, pciutils, dbus-glib, libcanberra-gtk2, libproxy
, libsexy, enchant2, libnotify, openssl, isocodes
, desktop-file-utils, hicolor-icon-theme
, autoconf, automake, autoconf-archive
, meson, ninja
}:

stdenv.mkDerivation rec {
version = "2.12.4";
name = "hexchat-${version}";
version = "2.14.2";
pname = "hexchat";

src = fetchFromGitHub {
owner = "hexchat";
repo = "hexchat";
rev = "v${version}";
sha256 = "1z8v7jg1mc2277k3jihnq4rixw1q27305aw6b6rpb1x7vpiy2zr3";
sha256 = "1kz81xfis0bw2cfd6ndw32jdzdl5azk9ixqj4a3lginmlj6fs45a";
};

nativeBuildInputs = [
pkgconfig libtool intltool
autoconf autoconf-archive automake
];
nativeBuildInputs = [ meson ninja pkgconfig ];

buildInputs = [
gtk2 lua perl python2 pciutils dbus-glib libcanberra-gtk2 libproxy
gtk2 lua perl python3 pciutils dbus-glib libcanberra-gtk2 libproxy
libsexy libnotify openssl desktop-file-utils hicolor-icon-theme
isocodes
];

enableParallelBuilding = true;

#hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
patchPhase = ''
sed -i "s,libenchant.so.1,${enchant1}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
'';
patches = [
#https://github.com/hexchat/hexchat/issues/2237
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/hexchat/raw/8a08a0c8a8da503b18f2fbb15194c5f3728a689a/f/0001-Python-plugin-Call-EndInterpreter-when-deinit-ing-th.patch";
sha256 = "1199dj3wvjqj6h5vlm7lzhaax84j9ki6an8y8fs4rww27iq0lk8g";
})
];

preConfigure = ''
./autogen.sh
#hexchat and hexchat-text loads enchant spell checking library at run time and so it needs to have route to the path
postPatch = ''
sed -i "s,libenchant-2.so.2,${enchant2}/lib/libenchant-2.so.2,g" src/fe-gtk/sexy-spell-entry.c
sed -i "/flag.startswith('-I')/i if flag.contains('no-such-path')\ncontinue\nendif" plugins/perl/meson.build
chmod +x meson_post_install.py
for f in meson_post_install.py \
src/common/make-te.py \
plugins/perl/generate_header.py \
po/validate-textevent-translations
do
patchShebangs $f
done
'';

configureFlags = [ "--enable-shm" "--enable-textfe" ];
mesonFlags = [ "-Dwith-lua=lua" "-Dwith-text=true" ];

meta = with stdenv.lib; {
description = "A popular and easy to use graphical IRC (chat) client";
8 changes: 4 additions & 4 deletions pkgs/applications/video/olive-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ stdenv, fetchFromGitHub, pkgconfig, which, qmake,
{ stdenv, fetchFromGitHub, pkgconfig, which, qmake, mkDerivation,
qtbase, qtmultimedia, frei0r, opencolorio, hicolor-icon-theme, ffmpeg-full,
CoreFoundation }:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "olive-editor";
version = "0.1.0";
version = "0.1.1";

src = fetchFromGitHub {
owner = "olive-editor";
repo = "olive";
rev = version;
sha256 = "191nk4c35gys4iypykcidn6h27c3sbjfy117q7h9h1qilz2wm94z";
sha256 = "15q4qwf5rc3adssywl72jrhkpqk55ihpd5h5wf07baw0s47vv5kq";
};

nativeBuildInputs = [
16 changes: 3 additions & 13 deletions pkgs/development/libraries/exempi/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
{ stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:

stdenv.mkDerivation rec {
name = "exempi-2.4.5";
pname = "exempi";
version = "2.5.1";

src = fetchurl {
url = "https://libopenraw.freedesktop.org/download/${name}.tar.bz2";
url = "https://libopenraw.freedesktop.org/download/${pname}-${version}.tar.bz2";
sha256 = "07i29xmg8bqriviaf4vi1mwha4lrw85kfla29cfym14fp3z8aqa0";
};

patches = [
# CVE-2018-12648
# https://gitlab.freedesktop.org/libopenraw/exempi/issues/9
# remove with exempi > 2.4.5
(fetchpatch {
name = "CVE-2018-12648.patch";
url = https://gitlab.freedesktop.org/libopenraw/exempi/commit/8ed2f034705fd2d032c81383eee8208fd4eee0ac.patch;
sha256 = "1nh8irk5p26868875wq5n8g92xp4crfb8fdd8gyna76ldyzqqx9q";
})
];

configureFlags = [
"--with-boost=${boost.dev}"
];
13 changes: 0 additions & 13 deletions pkgs/development/libraries/rocksdb/0001-findzlib.patch

This file was deleted.

Loading