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

Commits on Oct 20, 2019

  1. zabbix: init at 4.4.0

    aanderse committed Oct 20, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    thoughtpolice Austin Seipp
    Copy the full SHA
    fdee83d View commit details
  2. softmaker-office: fix product unlock error

    SoftMaker/FreeOffice collects some system information upon unlocking the
    product. But in doing so, it attempts to execute /bin/ls. If the execve
    syscall fails, the whole unlock procedure fails. This works around that
    by rewriting /bin/ls to the proper path.
    
    SoftMaker Office restarts itself upon some operations, such changing the
    theme and unlocking. Unfortunately, we do not have control over its
    environment then and it will fail with an error. Starting SoftMaker
    Office from scratch will then work.
    
    Fixes #71228
    danieldk committed Oct 20, 2019
    Copy the full SHA
    6f6331d View commit details
  3. openxcom: 1.0.0.2018.10.08 -> 1.0.0.2019.10.18

    - Updated repo owner
    sengaya committed Oct 20, 2019
    Copy the full SHA
    b09794c View commit details

Commits on Oct 21, 2019

  1. diffoscope: 125 -> 126

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/diffoscope/versions
    r-ryantm committed Oct 21, 2019
    Copy the full SHA
    a225530 View commit details
  2. Copy the full SHA
    aa910d1 View commit details
  3. pantheon.elementary-wallpapers: 5.3 -> 5.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/elementary-wallpapers/versions
    r-ryantm committed Oct 21, 2019
    Copy the full SHA
    a2a6f1b View commit details
  4. Copy the full SHA
    18ad0a8 View commit details
  5. Copy the full SHA
    fe143ba View commit details
  6. fanficfare: 3.11.0 -> 3.12.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/fanficfare/versions
    r-ryantm authored and Jon committed Oct 21, 2019
    Copy the full SHA
    2e71b42 View commit details
  7. tridactyl-native: 1.16.3 -> 1.17.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/tridactyl-native/versions
    r-ryantm authored and Jon committed Oct 21, 2019
    Copy the full SHA
    f2d81e4 View commit details
  8. Merge pull request #71469 from sengaya/openxcom-1.0.0.2019.10.18

    openxcom: 1.0.0.2018.10.08 -> 1.0.0.2019.10.18
    cpages authored Oct 21, 2019
    Copy the full SHA
    4ee309a View commit details
  9. Merge pull request #71573 from aanderse/msodbc

    unixODBCDrivers.msodbcsql17: add missing openssl dependency
    aanderse authored Oct 21, 2019
    Copy the full SHA
    7defff8 View commit details
  10. Merge pull request #71542 from r-ryantm/auto-update/diffoscope

    diffoscope: 125 -> 126
    flokli authored Oct 21, 2019
    Copy the full SHA
    d7c0e4a View commit details
  11. Merge pull request #71561 from r-ryantm/auto-update/elementary-wallpa…

    …pers
    
    pantheon.elementary-wallpapers: 5.3 -> 5.4
    flokli authored Oct 21, 2019
    Copy the full SHA
    0c4a165 View commit details
  12. Merge pull request #71584 from maralorn/master

    nixos/redis: Disable hugepages for redis via sysctl and not via a systemd-oneshot
    flokli authored Oct 21, 2019
    Copy the full SHA
    f4725b3 View commit details
  13. Merge pull request #71547 from hedning/seahorse-ssh-askpass

    nixos/seahorse: Use seahorse's askpass by default
    worldofpeace authored Oct 21, 2019
    Copy the full SHA
    4f890f8 View commit details
  14. Merge pull request #71450 from aanderse/zabbix

    zabbix: init at 4.4.0
    aanderse authored Oct 21, 2019
    Copy the full SHA
    57cf330 View commit details
  15. Merge pull request #71460 from danieldk/softmaker-office-fix-unlock

    softmaker-office: fix product unlock error
    romildo authored Oct 21, 2019
    Copy the full SHA
    c0dd1e5 View commit details

Commits on Oct 22, 2019

  1. libinjection: init at 3.10.0

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Oct 22, 2019
    Copy the full SHA
    b09fbcc View commit details
2 changes: 2 additions & 0 deletions nixos/modules/programs/seahorse.nix
Original file line number Diff line number Diff line change
@@ -31,6 +31,8 @@ with lib;

config = mkIf config.programs.seahorse.enable {

programs.ssh.askPassword = mkDefault "${pkgs.gnome3.seahorse}/libexec/seahorse/ssh-askpass";

environment.systemPackages = [
pkgs.gnome3.seahorse
];
14 changes: 3 additions & 11 deletions nixos/modules/services/databases/redis.nix
Original file line number Diff line number Diff line change
@@ -186,9 +186,9 @@ in

config = mkIf config.services.redis.enable {

boot.kernel.sysctl = mkIf cfg.vmOverCommit {
"vm.overcommit_memory" = "1";
};
boot.kernel.sysctl = {
"vm.nr_hugepages" = "0";
} // mkIf cfg.vmOverCommit { "vm.overcommit_memory" = "1"; };

networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
@@ -198,14 +198,6 @@ in

environment.systemPackages = [ cfg.package ];

systemd.services.disable-transparent-huge-pages = {
description = "Disable Transparent Huge Pages (required by Redis)";
before = [ "redis.service" ];
wantedBy = [ "redis.service" ];
script = "echo never > /sys/kernel/mm/transparent_hugepage/enabled";
serviceConfig.Type = "oneshot";
};

systemd.services.redis =
{ description = "Redis Server";

30 changes: 26 additions & 4 deletions pkgs/applications/office/softmaker/generic.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,10 @@
# Dynamic Libraries
, curl, libGL, libX11, libXext, libXmu, libXrandr, libXrender

# For fixing up execution of /bin/ls, which is necessary for
# product unlocking.
, coreutils, libredirect

, pname, version, edition, suiteName, src, archive

, ...
@@ -45,7 +49,22 @@ in stdenv.mkDerivation rec {
runHook postUnpack
'';

installPhase = ''
installPhase = let
# SoftMaker/FreeOffice collects some system information upon
# unlocking the product. But in doing so, it attempts to execute
# /bin/ls. If the execve syscall fails, the whole unlock
# procedure fails. This works around that by rewriting /bin/ls
# to the proper path.
#
# SoftMaker Office restarts itself upon some operations, such
# changing the theme and unlocking. Unfortunately, we do not
# have control over its environment then and it will fail
# with an error.
lsIntercept = ''
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
--set NIX_REDIRECTS "/bin/ls=${coreutils}/bin/ls"
'';
in ''
runHook preInstall
mkdir -p $out/share
@@ -54,9 +73,12 @@ in stdenv.mkDerivation rec {
# Wrap rather than symlinking, so that the programs can determine
# their resource path.
mkdir -p $out/bin
makeWrapper $out/share/${pname}${edition}/planmaker $out/bin/${pname}-planmaker
makeWrapper $out/share/${pname}${edition}/presentations $out/bin/${pname}-presentations
makeWrapper $out/share/${pname}${edition}/textmaker $out/bin/${pname}-textmaker
makeWrapper $out/share/${pname}${edition}/planmaker $out/bin/${pname}-planmaker \
${lsIntercept}
makeWrapper $out/share/${pname}${edition}/presentations $out/bin/${pname}-presentations \
${lsIntercept}
makeWrapper $out/share/${pname}${edition}/textmaker $out/bin/${pname}-textmaker \
${lsIntercept}
for size in 16 32 48 64 96 128 256 512 1024; do
mkdir -p $out/share/icons/hicolor/''${size}x''${size}/apps
Original file line number Diff line number Diff line change
@@ -5,15 +5,15 @@

stdenv.mkDerivation rec {
pname = "elementary-wallpapers";
version = "5.3";
version = "5.4";

repoName = "wallpapers";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1i0zf9gzhwm8hgq5cp1xnxipqjvgzd9wfiicz612hgp6ivc0z0ag";
sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
};

passthru = {
37 changes: 37 additions & 0 deletions pkgs/development/libraries/libinjection/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub
, python
}:

stdenv.mkDerivation rec {
pname = "libinjection";
version = "3.10.0";

src = fetchFromGitHub {
owner = "client9";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0chsgam5dqr9vjfhdcp8cgk7la6nf3lq44zs6z6si98cq743550g";
};

nativeBuildInputs = [ python ];

patchPhase = ''
patchShebangs src
substituteInPlace src/Makefile \
--replace /usr/local $out
'';

configurePhase = "cd src";
buildPhase = "make all";

# no binaries, so out = library, dev = headers
outputs = [ "out" "dev" ];

meta = with stdenv.lib; {
description = "SQL / SQLI tokenizer parser analyzer";
homepage = "https://github.com/client9/libinjection";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ thoughtpolice ];
};
}
10 changes: 7 additions & 3 deletions pkgs/development/libraries/unixODBCDrivers/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql, libmysqlclient, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, curl, libuuid, autoPatchelfHook }:
{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql, libmysqlclient, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, libuuid, patchelf }:

# I haven't done any parameter tweaking.. So the defaults provided here might be bad

@@ -138,8 +138,7 @@
sha256 = "0jb16irr7qlgd2zshg0vyia7zqipd0pcvwfcr6z807pss1mnzj8w";
};

nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ unixODBC dpkg kerberos libuuid stdenv.cc.cc ];
nativeBuildInputs = [ dpkg patchelf ];

unpackPhase = "dpkg -x $src ./";
buildPhase = "";
@@ -150,6 +149,11 @@
cp -r opt/microsoft/msodbcsql${versionMajor}/lib64 opt/microsoft/msodbcsql${versionMajor}/share $out/
'';

postFixup = ''
patchelf --set-rpath ${lib.makeLibraryPath [ unixODBC openssl.out kerberos libuuid stdenv.cc.cc ]} \
$out/lib/libmsodbcsql-${versionMajor}.${versionMinor}.so.${versionAdditional}
'';

passthru = {
fancyName = "ODBC Driver 17 for SQL Server";
driver = "lib/libmsodbcsql-${versionMajor}.${versionMinor}.so.${versionAdditional}";
8 changes: 4 additions & 4 deletions pkgs/games/openxcom/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost
, SDL, SDL_image, SDL_mixer, SDL_gfx }:

let version = "1.0.0.2018.10.08"; in
let version = "1.0.0.2019.10.18"; in
stdenv.mkDerivation {
pname = "openxcom";
inherit version;
src = fetchFromGitHub {
owner = "SupSuper";
owner = "OpenXcom";
repo = "OpenXcom";
rev = "13049d617fe762b91893faaf7c14ddefa49e2f1d";
sha256 = "0vpcfk3g1bnwwmrln14jkj2wvw2z8igxw2mdb7c3y66466wm93ig";
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
sha256 = "0kbfawj5wsp1mwfcm5mwpkq6s3d13pailjm5w268gqpxjksziyq0";
};

nativeBuildInputs = [ cmake ];
5 changes: 5 additions & 0 deletions pkgs/servers/monitoring/zabbix/versions.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
generic: {
v44 = generic {
version = "4.4.0";
sha256 = "1a4csx1i21lcavfvj5djalcnxnlyh4mhk4dddzm895ipl87afzf4";
};

v42 = generic {
version = "4.2.7";
sha256 = "09znh8x1sass5mw6wjrfmizjbfls8ad2c16y24ldfj40hlfxz6wx";
4 changes: 2 additions & 2 deletions pkgs/tools/misc/diffoscope/default.nix
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
python3Packages.buildPythonApplication rec {
pname = "diffoscope";
version = "125";
version = "126";

src = fetchurl {
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
sha256 = "0qwib44f43hinidbdjqnr2zanj678mgckx34x48jyywppvbj8yq4";
sha256 = "0jbmpxj3y1gnmd00pj9x3jrx0hnjlkrzvk1m9miswgfq0ac1ws3p";
};

patches = [
4 changes: 2 additions & 2 deletions pkgs/tools/networking/tridactyl-native/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@ stdenv.mkDerivation rec {
pname = "tridactyl-native";
# this is actually the version of tridactyl itself; the native messenger will
# probably not change with every tridactyl version
version = "1.16.3";
version = "1.17.0";

src = fetchFromGitHub {
owner = "tridactyl";
repo = "tridactyl";
rev = version;
sha256 = "1cp2iaa9fhlxmbml41wnq984jp2r75n6w0qxz38rd24jxsj5vz06";
sha256 = "0dpd4jdym644rqm9h83lb8cwfccnwrnqm1g91nl913pj4k5x4hqr";
};
sourceRoot = "source/native";

4 changes: 2 additions & 2 deletions pkgs/tools/text/fanficfare/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

python3Packages.buildPythonApplication rec {
pname = "FanFicFare";
version = "3.11.0";
version = "3.12.0";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1w1crc32p5rnbah6x9km6yvjiy5qrmpmvzb4ignsprfxjq803r3a";
sha256 = "1hzb668fga9y422670iw22ggfn8a9jp2jdxs2xhzbqxnfrw08wq0";
};

propagatedBuildInputs = with python3Packages; [
3 changes: 3 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -12001,6 +12001,8 @@ in

libiio = callPackage ../development/libraries/libiio { };

libinjection = callPackage ../development/libraries/libinjection { };

liburing = callPackage ../development/libraries/liburing { };

librseq = callPackage ../development/libraries/librseq { };
@@ -15512,6 +15514,7 @@ in
server = server-pgsql;
};

zabbix44 = zabbixFor "v44";
zabbix42 = zabbixFor "v42";
zabbix40 = zabbixFor "v40";
zabbix30 = zabbixFor "v30";