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

Commits on Oct 14, 2019

  1. ocrmypdf: 8.2.3 -> 9.0.3

    Version bump and bug fix
    Fixes runtime dependencies ( #67497 ) and the version bump fixed other issues
    
    (cherry picked from commit 82c4218)
    Kiwi authored and ivan committed Oct 14, 2019
    Copy the full SHA
    57a1576 View commit details

Commits on Oct 15, 2019

  1. Backport pull request #69131 from xzfc/subshells

    Avoid using subshells
    
    (cherry picked from commit 268d510)
    
    #69131
    matthewbauer committed Oct 15, 2019
    Copy the full SHA
    2d81865 View commit details

Commits on Oct 16, 2019

  1. Merge pull request #71196 from matthewbauer/avoid-subshells-19-09

    Backport pull request #69131 from xzfc/subshells
    matthewbauer authored Oct 16, 2019
    Copy the full SHA
    d3a928f View commit details

Commits on Oct 18, 2019

  1. prometheus-blackbox-exporter: fixing path issue

    This fixes an issue with a recent addition of a config file
    check in c28ded3.
    
    Previously it was possible to supply a path as a string
    to `configFile`. Now it will fail checking the config file
    during evaluation of the module due to sandboxing.
    
    A toggle to disable the check, more informative log messages
    and handling for various configFile values are added.
    
    (cherry picked from commit b788467)
    d-goldin authored and WilliButz committed Oct 18, 2019
    Copy the full SHA
    3ddf0b3 View commit details
  2. Revert "nixos/gitlab: properly clear out initializers"

    This reverts commit 2ee14c3.
    
    This caused the initializers directory to be cleaned out while gitlab
    was running in some instances. We clean out the directory on the
    preStart stage already, so ensuring existance and permissions should
    suffice.
    
    (cherry picked from commit 201cca9)
    talyz committed Oct 18, 2019
    Copy the full SHA
    4d0a45c View commit details
  3. Copy the full SHA
    7254103 View commit details
  4. linux: 4.19.79 -> 4.19.80

    NeQuissimus committed Oct 18, 2019
    Copy the full SHA
    b125bfc View commit details
  5. linux: 4.4.196 -> 4.4.197

    NeQuissimus committed Oct 18, 2019
    Copy the full SHA
    4628e1f View commit details
  6. linux: 4.9.196 -> 4.9.197

    NeQuissimus committed Oct 18, 2019
    Copy the full SHA
    e82ef89 View commit details
  7. linux: 5.3.6 -> 5.3.7

    NeQuissimus committed Oct 18, 2019
    Copy the full SHA
    df02110 View commit details
  8. pypi2nix: add missing setuptools dependency

    Broken by f7e28bf, which removed
    setuptools from the default propagatedBuildInputs of Python packages.
    
    (cherry picked from commit 23fd70d)
    edef1c authored and worldofpeace committed Oct 18, 2019
    Copy the full SHA
    65d0d80 View commit details
  9. pythonPackages.pgsanity: add missing postgresql checkInput

    (cherry picked from commit a7aa69c)
    edef1c authored and worldofpeace committed Oct 18, 2019
    Copy the full SHA
    e5cc98f View commit details
  10. pythonPackages.pgsanity: don't mark broken

    (cherry picked from commit 625cad3)
    worldofpeace committed Oct 18, 2019
    Copy the full SHA
    7cb8176 View commit details
  11. Copy the full SHA
    d0d8012 View commit details
  12. Merge pull request #71361 from vaibhavsagar/ghc-8-8-fixes

    configuration-ghc-8.8.nix: fix overrides
    peti authored Oct 18, 2019
    Copy the full SHA
    3ef4db4 View commit details
  13. Copy the full SHA
    9cb599a View commit details
  14. Merge pull request #71149 from ivan/ocrmypdf-backport

    [19.09] ocrmypdf: 8.2.3 -> 9.0.3
    worldofpeace authored Oct 18, 2019
    Copy the full SHA
    c107ff9 View commit details
  15. kazam: fix

    - work around strictDeps issue wit python packages
    - use pr 21 commit instead of debian patch to fix configparser issue
    
    (cherry picked from commit 15953b7)
    thorstenweber83 authored and worldofpeace committed Oct 18, 2019
    Copy the full SHA
    4ba1af2 View commit details
  16. networkmanager-fortisslvpn: create the local state directory

    Otherwise connecting simply fails:
    VPN connection: failed to connect: 'La création du fichier « /tmp/lib/NetworkManager-fortisslvpn/0507e3ef-f0e0-4153-af64-b3d9a025877c.config.XSB19Z » a échoué : No such file or directory'
    symphorien authored and worldofpeace committed Oct 18, 2019
    Copy the full SHA
    847fe16 View commit details
  17. Merge pull request #71366 from symphorien/nm-fortissl-backport

    [19.09] networkmanager-fortisslvpn: create the local state directory
    worldofpeace authored Oct 18, 2019
    Copy the full SHA
    da65d01 View commit details

Commits on Oct 19, 2019

  1. screenfetch: add to path pciutils

    (cherry picked from commit ec82baa)
    Izorkin authored and worldofpeace committed Oct 19, 2019
    Copy the full SHA
    372dd72 View commit details
  2. Merge pull request #71370 from risicle/ris-rsyslog-CVE-2019-17040-r19.09

    [r19.09] rsyslog: add patch for CVE-2019-17040
    c0bw3b authored Oct 19, 2019
    Copy the full SHA
    9ffddd8 View commit details
  3. rrsync: Make perl a run-time dependency (#71344)

    perl is a run-time dependency, so it should be in buildInputs rather
    than nativeBuildInputs.
    
    This has been preventing patchShebangsAuto() in fixupOutputHooks from
    patching the /usr/bin/perl interpreter shebang in $out/bin/rrsync since
    61bc03c.
    
    Resolves #71198
    
    (cherry picked from commit f203d50)
    ryanfitzsimon authored and c0bw3b committed Oct 19, 2019
    Copy the full SHA
    2af038e View commit details
  4. release-notes 19.09: removal of non-LTS kernel attrs

    Even though the release obviously already happened, I think it might
    still make sense to add a short note about the attributes not being
    supported any longer (and going forward).
    d-goldin committed Oct 19, 2019
    Copy the full SHA
    7163d3a View commit details
  5. steam: add at_spi2_atk to chrootenv

    This is required for the new Stellaris 2.4 series launcher
    
    (cherry picked from commit 977828d)
    mweinelt authored and Jon committed Oct 19, 2019
    Copy the full SHA
    e97f19a View commit details
  6. arx-libertatis: 2019-02-16 -> 2019-07-22

    (cherry picked from commit 4af7f63)
    rnhmjoj authored and worldofpeace committed Oct 19, 2019
    Copy the full SHA
    851b51f View commit details
  7. steam: don't use at-spi2-atk alias

    (cherry picked from commit 486a728)
    worldofpeace committed Oct 19, 2019
    Copy the full SHA
    f63a24b View commit details

Commits on Oct 20, 2019

  1. mediawiki: 1.33.0 -> 1.33.1

    redvers committed Oct 20, 2019
    Copy the full SHA
    3913815 View commit details
  2. Merge pull request #71415 from redvers/mediawiki-1.33.1

    mediawiki: 1.33.0 -> 1.33.1
    aanderse authored Oct 20, 2019
    Copy the full SHA
    3969e44 View commit details
  3. tor-browser-bundle-bin: fix icons

    (cherry picked from commit 0b424ec)
    shreyanshk authored and worldofpeace committed Oct 20, 2019
    Copy the full SHA
    8be529f View commit details
  4. Copy the full SHA
    9200a7f View commit details
  5. Copy the full SHA
    a64b8c3 View commit details
  6. Merge pull request #71321 from talyz/gitlab-revert-clear-out-initiali…

    …zers-release-19.09
    
    Revert "nixos/gitlab: properly clear out initializers"
    flokli authored Oct 20, 2019
    Copy the full SHA
    5907393 View commit details
  7. Merge pull request #71397 from d-goldin/kernel_attrs_releasenotes

    release-notes 19.09: removal of non-LTS kernel attrs
    NeQuissimus authored Oct 20, 2019
    Copy the full SHA
    9ff6916 View commit details

Commits on Oct 21, 2019

  1. nixos release notes: interfaces might get renamed

    Fixes #71086.
    
    (cherry picked from commit 9a54d17)
    vcunat authored and worldofpeace committed Oct 21, 2019
    Copy the full SHA
    80b42e6 View commit details
  2. home-assistant: 20190514.0 -> 20190719.0

    Fixes compatibility with current home-assistant.
    
    See #71400
    globin committed Oct 21, 2019
    Copy the full SHA
    97fc74f View commit details
  3. bind: 9.14.4 -> 9.14.6

    9.14.5: https://gitlab.isc.org/isc-projects/bind9/blob/v9_14_5/CHANGES
    9.14.6: https://gitlab.isc.org/isc-projects/bind9/blob/v9_14/CHANGES
    
    9.14.6 above links to the 9.14 branch CHANGES, no tag yet.
    ISC's website has 9.14.6, which is the authoritative source.
    
    (cherry picked from commit 88aaa57)
    dtzWill authored and globin committed Oct 21, 2019
    Copy the full SHA
    58d2c0c View commit details
  4. bind: 9.14.6 -> 9.14.7

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/bind/versions
    
    (cherry picked from commit 0060782)
    r-ryantm authored and globin committed Oct 21, 2019
    Copy the full SHA
    a25b39f View commit details
  5. Copy the full SHA
    8ed475b View commit details
  6. Revert "mbedtls: 2.16.0 -> 2.17.0"

    This reverts commit ba3b9c0.
    
    cc #60625 #71452
    
    (cherry picked from commit bf2f1c8)
    fpletz committed Oct 21, 2019
    Copy the full SHA
    ffb830c View commit details
  7. mbedtls: 2.16.0 -> 2.16.3

    Fixes CVE-2019-16910. Fixes #71452.
    
    (cherry picked from commit 360e57a)
    fpletz committed Oct 21, 2019
    Copy the full SHA
    69e6d73 View commit details
  8. Merge pull request #71386 from d-goldin/docker_runc_cve

    docker-runc: switch to OCI runc 1.0.0-rc8+dev (security)
    (cherry picked from commit 2dc7d61)
    NeQuissimus committed Oct 21, 2019
    Copy the full SHA
    e6163fb View commit details
Showing with 201 additions and 110 deletions.
  1. +28 −0 nixos/doc/manual/release-notes/rl-1909.xml
  2. +1 −1 nixos/modules/services/misc/gitlab.nix
  3. +43 −10 nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix
  4. +1 −1 nixos/modules/services/networking/networkmanager.nix
  5. +5 −1 pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
  6. +1 −2 pkgs/applications/networking/sync/rsync/rrsync.nix
  7. +9 −5 pkgs/applications/video/kazam/default.nix
  8. +6 −6 pkgs/applications/virtualization/docker/default.nix
  9. +4 −4 pkgs/build-support/bintools-wrapper/setup-hook.sh
  10. +8 −5 pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
  11. +3 −2 pkgs/development/libraries/mbedtls/default.nix
  12. +4 −4 pkgs/development/python-modules/pgsanity/default.nix
  13. +1 −1 pkgs/development/tools/pypi2nix/default.nix
  14. +5 −5 pkgs/games/arx-libertatis/default.nix
  15. +1 −0 pkgs/games/steam/chrootenv.nix
  16. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  17. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  18. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  19. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  20. +2 −2 pkgs/os-specific/linux/kernel/linux-5.3.nix
  21. +2 −4 pkgs/servers/dns/bind/default.nix
  22. +2 −2 pkgs/servers/home-assistant/frontend.nix
  23. +2 −2 pkgs/servers/web-apps/mediawiki/default.nix
  24. +42 −36 pkgs/stdenv/generic/setup.sh
  25. +2 −2 pkgs/tools/misc/screenfetch/default.nix
  26. +5 −1 pkgs/tools/networking/network-manager/fortisslvpn/default.nix
  27. +9 −2 pkgs/tools/system/rsyslog/default.nix
  28. +7 −4 pkgs/tools/text/ocrmypdf/default.nix
28 changes: 28 additions & 0 deletions nixos/doc/manual/release-notes/rl-1909.xml
Original file line number Diff line number Diff line change
@@ -190,6 +190,13 @@
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
<xref linkend="opt-services.blueman.enable"/> has been added.
If you previously had blueman installed via <option>environment.systemPackages</option> please
migrate to using the NixOS module, as this would result in an insufficiently configured blueman.
</para>
</listitem>
</itemizedlist>

</section>
@@ -563,6 +570,27 @@
earlier version of NixOS.
</para>
</listitem>
<listitem>
<para>
Due to the short lifetime of non-LTS kernel releases package attributes like <literal>linux_5_1</literal>,
<literal>linux_5_2</literal> and <literal>linux_5_3</literal> have been removed to discourage dependence
on specific non-LTS kernel versions in stable NixOS releases.

Going forward, versioned attributes like <literal>linux_4_9</literal> will exist for LTS versions only.
Please use <literal>linux_latest</literal> or <literal>linux_testing</literal> if you depend on non-LTS
releases. Keep in mind that <literal>linux_latest</literal> and <literal>linux_testing</literal> will
change versions under the hood during the lifetime of a stable release and might include breaking changes.
</para>
</listitem>
<listitem>
<para>
Because of the systemd upgrade,
some network interfaces might change their name. For details see
<link xlink:href="https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html#History">
upstream docs</link> or <link xlink:href="https://github.com/NixOS/nixpkgs/issues/71086">
our ticket</link>.
</para>
</listitem>
</itemizedlist>
</section>

2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
@@ -651,7 +651,7 @@ in {
"d ${cfg.statePath} 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/builds 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config 0750 ${cfg.user} ${cfg.group} -"
"D ${cfg.statePath}/config/initializers 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config/initializers 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/db 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/log 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/repositories 2770 ${cfg.user} ${cfg.group} -"
53 changes: 43 additions & 10 deletions nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix
Original file line number Diff line number Diff line change
@@ -3,16 +3,34 @@
with lib;

let
logPrefix = "services.prometheus.exporter.blackbox";
cfg = config.services.prometheus.exporters.blackbox;

checkConfig = file: pkgs.runCommand "checked-blackbox-exporter.conf" {
preferLocalBuild = true;
buildInputs = [ pkgs.buildPackages.prometheus-blackbox-exporter ]; } ''
ln -s ${file} $out
blackbox_exporter --config.check --config.file $out
'';
in
{
# This ensures that we can deal with string paths, path types and
# store-path strings with context.
coerceConfigFile = file:
if (builtins.isPath file) || (lib.isStorePath file) then
file
else
(lib.warn ''
${logPrefix}: configuration file "${file}" is being copied to the nix-store.
If you would like to avoid that, please set enableConfigCheck to false.
'' /. + file);
checkConfigLocation = file:
if lib.hasPrefix "/tmp/" file then
throw
"${logPrefix}: configuration file must not reside within /tmp - it won't be visible to the systemd service."
else
true;
checkConfig = file:
pkgs.runCommand "checked-blackbox-exporter.conf" {
preferLocalBuild = true;
buildInputs = [ pkgs.buildPackages.prometheus-blackbox-exporter ];
} ''
ln -s ${coerceConfigFile file} $out
blackbox_exporter --config.check --config.file $out
'';
in {
port = 9115;
extraOpts = {
configFile = mkOption {
@@ -21,14 +39,29 @@ in
Path to configuration file.
'';
};
enableConfigCheck = mkOption {
type = types.bool;
default = true;
description = ''
Whether to run a correctness check for the configuration file. This depends
on the configuration file residing in the nix-store. Paths passed as string will
be copied to the store.
'';
};
};
serviceOpts = {

serviceOpts = let
adjustedConfigFile = if cfg.enableConfigCheck then
checkConfig cfg.configFile
else
checkConfigLocation cfg.configFile;
in {
serviceConfig = {
AmbientCapabilities = [ "CAP_NET_RAW" ]; # for ping probes
ExecStart = ''
${pkgs.prometheus-blackbox-exporter}/bin/blackbox_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
--config.file ${checkConfig cfg.configFile} \
--config.file ${adjustedConfigFile} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/networkmanager.nix
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ let
enableIwd = cfg.wifi.backend == "iwd";

# /var/lib/misc is for dnsmasq.leases.
stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc /var/lib/NetworkManager-fortisslvpn";

configFile = pkgs.writeText "NetworkManager.conf" ''
[main]
Original file line number Diff line number Diff line change
@@ -376,7 +376,11 @@ stdenv.mkDerivation rec {
cp $desktopItem/share/applications"/"* $out/share/applications
sed -i $out/share/applications/torbrowser.desktop \
-e "s,Exec=.*,Exec=$out/bin/tor-browser," \
-e "s,Icon=.*,Icon=web-browser,"
-e "s,Icon=.*,Icon=tor-browser,"
for i in 16 32 48 64 128; do
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps/
ln -s $out/share/tor-browser/browser/chrome/icons/default/default$i.png $out/share/icons/hicolor/''${i}x''${i}/apps/tor-browser.png
done
# Check installed apps
echo "Checking bundled Tor ..."
3 changes: 1 addition & 2 deletions pkgs/applications/networking/sync/rsync/rrsync.nix
Original file line number Diff line number Diff line change
@@ -8,8 +8,7 @@ stdenv.mkDerivation {

src = base.src;

buildInputs = [ rsync ];
nativeBuildInputs = [perl];
buildInputs = [ rsync perl ];

# Skip configure and build phases.
# We just want something from the support directory
14 changes: 9 additions & 5 deletions pkgs/applications/video/kazam/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobject-introspection
, gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio }:
, gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio
, fetchpatch }:

python3.pkgs.buildPythonApplication rec {
name = "kazam-${version}";
@@ -18,6 +19,9 @@ python3.pkgs.buildPythonApplication rec {
];

propagatedBuildInputs = with python3.pkgs; [ pygobject3 pyxdg pycairo dbus-python ];

# workaround https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;

patches = [
# Fix paths
@@ -26,10 +30,10 @@ python3.pkgs.buildPythonApplication rec {
libcanberra = libcanberra-gtk3;
inherit libpulseaudio;
})
# Fix compability with Python 3.4
(fetchurl {
url = https://sources.debian.org/data/main/k/kazam/1.4.5-2/debian/patches/configparser_api_changes.patch;
sha256 = "0yvmipnh98s7y07cp1f113l0qqfw65k13an96byq707z3ymv1c2h";
# https://github.com/hzbd/kazam/pull/21
(fetchpatch {
url = https://github.com/hzbd/kazam/commit/37e53a5aa61f4223a9ea03ceeda26eeba2b9d37b.patch;
sha256 = "1q5dpmdm6cvgzw8xa7bwclnqa05xc73ja1lszwmwv5glyik0fk4z";
})
];

12 changes: 6 additions & 6 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ rec {
name = "docker-runc-${version}";
inherit version;
src = fetchFromGitHub {
owner = "docker";
owner = "opencontainers";
repo = "runc";
rev = runcRev;
sha256 = runcSha256;
@@ -198,14 +198,14 @@ rec {
});

# Get revisions from
# https://github.com/docker/docker-ce/tree/v${version}/components/engine/hack/dockerfile/install/*
# https://github.com/docker/docker-ce/tree/${version}/components/engine/hack/dockerfile/install/*

docker_18_09 = makeOverridable dockerGen {
version = "18.09.9";
rev = "039a7df9ba8097dd987370782fcdd6ea79b26016";
sha256 = "0wqhjx9qs96q2jd091wffn3cyv2aslqn2cvpdpgljk8yr9s0yg7h";
runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
runcRev = "3e425f80a8c931f88e6d94a8c831b9d5aa481657";
runcSha256 = "18psc830b2rkwml1x6vxngam5b5wi3pj14mw817rshpzy87prspj";
containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
@@ -216,8 +216,8 @@ rec {
version = "19.03.2";
rev = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e";
sha256 = "0bghqwxlx4v06bwcv3c2wizbihhf983gvypx5sjcbgmiyd3bgb47";
runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
runcRev = "3e425f80a8c931f88e6d94a8c831b9d5aa481657";
runcSha256 = "18psc830b2rkwml1x6vxngam5b5wi3pj14mw817rshpzy87prspj";
containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
8 changes: 4 additions & 4 deletions pkgs/build-support/bintools-wrapper/setup-hook.sh
Original file line number Diff line number Diff line change
@@ -24,7 +24,8 @@ bintoolsWrapper_addLDVars () {
# Python and Haskell packages often only have directories like $out/lib/ghc-8.4.3/ or
# $out/lib/python3.6/, so having them in LDFLAGS just makes the linker search unnecessary
# directories and bloats the size of the environment variable space.
if [[ -n "$(echo $1/lib/lib*)" ]]; then
local -a glob=( $1/lib/lib* )
if [ "${#glob[*]}" -gt 0 ]; then
export NIX_${role_pre}LDFLAGS+=" -L$1/lib"
fi
fi
@@ -61,9 +62,8 @@ do
if
PATH=$_PATH type -p "@targetPrefix@${cmd}" > /dev/null
then
upper_case="$(echo "$cmd" | tr "[:lower:]" "[:upper:]")"
export "${role_pre}${upper_case}=@targetPrefix@${cmd}";
export "${upper_case}${role_post}=@targetPrefix@${cmd}";
export "${role_pre}${cmd^^}=@targetPrefix@${cmd}";
export "${cmd^^}${role_post}=@targetPrefix@${cmd}";
fi
done

13 changes: 8 additions & 5 deletions pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
Original file line number Diff line number Diff line change
@@ -70,11 +70,10 @@ self: super: {
sha256 = "1p1pinca33vd10iy7hl20c1fc99vharcgcai6z3ngqbq50k2pd3q";
};
};
vector-th-unbox = appendPatch super.vector-th-unbox (pkgs.fetchpatch {
vector-th-unbox = appendPatch (doJailbreak super.vector-th-unbox) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/vector-th-unbox-0.2.1.6.patch";
sha256 = "0169yf9ms1g5mmkc5l6hpffzm34zdrqdng4df02nbdmfgba45h19";
});
cabal-doctest = super.cabal-doctest_1_0_7;
regex-base = overrideCabal (appendPatch super.regex-base (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-base-0.93.2.patch";
sha256 = "01d1plrdx6hcspwn2h6y9pyi5366qk926vb5cl5qcl6x4m23l6y1";
@@ -85,7 +84,7 @@ self: super: {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-posix-0.95.2.patch";
sha256 = "006yli58jpqp786zm1xlncjsilc38iv3a09r4pv94l587sdzasd2";
});
haskell-src-exts = appendPatch super.haskell-src-exts (pkgs.fetchpatch {
haskell-src-exts = appendPatch (doJailbreak super.haskell-src-exts) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/haskell-src-exts-1.21.0.patch";
sha256 = "0alb28hcsp774c9s73dgrajcb44vgv1xqfg2n5a9y2bpyngqscs3";
});
@@ -122,7 +121,7 @@ self: super: {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shakespeare-2.0.20.patch";
sha256 = "1dgx41ylahj4wk8r422aik0d7qdpawdga4gqz905nvlnhqjla58y";
});
socks = appendPatch super.socks (pkgs.fetchpatch {
socks = appendPatch (doJailbreak super.socks) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/socks-0.6.0.patch";
sha256 = "1dsqmx0sw62x4glh43c0sbizd2y00v5xybiqadn96v6pmfrap5cp";
});
@@ -159,7 +158,6 @@ self: super: {
'';
});
system-fileio = doJailbreak super.system-fileio;
yaml = self.yaml_0_11_1_2;
haskell-src-meta = appendPatch (dontCheck (doJailbreak super.haskell-src-meta)) (pkgs.fetchpatch {
url = "https://gitlab.haskell.org/ghc/head.hackage/raw/8be3fb8a6779d0317066d501a3b9dffdf6bb06b0/patches/haskell-src-meta-0.8.2.patch";
sha256 = "146im1amywyl29kcldvgrxpwj22lrpzxysl7vc8rmn3hrq130dyc";
@@ -169,4 +167,9 @@ self: super: {
sha256 = "0a3159rnaw6shjzdm46799crd4pxh33s23qy51xa7z6nv5q8wsb5";
});
tls = self.tls_1_5_1;
alex = appendPatch (super.alex) (pkgs.fetchpatch {
url = "https://github.com/simonmar/alex/commit/deaae6eddef5186bfd0e42e2c3ced39e26afa4d6.patch";
sha256 = "1v40gmnw4lqyk271wngdwz8whpfdhmza58srbkka8icwwwrck3l5";
});
connection = doJailbreak super.connection;
}
5 changes: 3 additions & 2 deletions pkgs/development/libraries/mbedtls/default.nix
Original file line number Diff line number Diff line change
@@ -11,13 +11,14 @@

stdenv.mkDerivation rec {
pname = "mbedtls";
version = "2.17.0";
name = "mbedtls-${version}";
version = "2.16.3";

src = fetchFromGitHub {
owner = "ARMmbed";
repo = "mbedtls";
rev = "${pname}-${version}";
sha256 = "1mk3xv61wvqqrzd6jnrz8csyfnwwwwpjzywj3fsfy99p51d7wqgw";
sha256 = "1mzh92yyz93099a1gb2wvwc76jv12d1k1wg9k3dimbgczxgrkirc";
};

nativeBuildInputs = [ cmake ninja perl python ];
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/pgsanity/default.nix
Original file line number Diff line number Diff line change
@@ -17,20 +17,20 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover -s test
'';

checkInputs = [ postgresql ];
propagatedBuildInputs = [ postgresql ];

meta = with stdenv.lib; {
homepage = "https://github.com/markdrago/pgsanity";
description = "Checks the syntax of Postgresql SQL files";
longDescription = ''
PgSanity checks the syntax of Postgresql SQL files by
taking a file that has a list of bare SQL in it,
making that file look like a C file with embedded SQL,
run it through ecpg and
taking a file that has a list of bare SQL in it,
making that file look like a C file with embedded SQL,
run it through ecpg and
let ecpg report on the syntax errors of the SQL.
'';
license = stdenv.lib.licenses.mit;
maintainers = with maintainers; [ nalbyuites ];
broken = true;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/tools/pypi2nix/default.nix
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
requests
];
buildInputs = [
pythonPackages.python pythonPackages.flake8
pythonPackages.python pythonPackages.flake8 pythonPackages.setuptools
zip makeWrapper nix.out nix-prefetch-git nix-prefetch-hg
];

10 changes: 5 additions & 5 deletions pkgs/games/arx-libertatis/default.nix
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@ with stdenv.lib;

stdenv.mkDerivation {
pname = "arx-libertatis";
version = "2019-02-16";
version = "2019-07-22";

src = fetchFromGitHub {
owner = "arx";
repo = "ArxLibertatis";
rev = "fbce6ccbc7f58583f33f29b838c38ef527edc267";
sha256 = "0qrygp09dqhpb5q6a1zl6l03qh9bi7xcahd8hy9177z1cix3k0kz";
owner = "arx";
repo = "ArxLibertatis";
rev = "db77aa26bb8612f711b65e72b1cd8cf6481700c7";
sha256 = "0c88djyzjna17wjcvkgsfx3011m1rba5xdzdldy1hjmafpqgb4jj";
};


1 change: 1 addition & 0 deletions pkgs/games/steam/chrootenv.nix
Original file line number Diff line number Diff line change
@@ -77,6 +77,7 @@ in buildFHSUserEnv rec {
libGL

# Not formally in runtime but needed by some games
at-spi2-atk
gst_all_1.gstreamer
gst_all_1.gst-plugins-ugly
libdrm
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.14.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.14.149";
version = "4.14.150";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "15pjngy3j5vnisv462ll7wsg78qv7q2cz86da0bcwh446v9ap7g6";
sha256 = "1c2pxfvv31af0mzcqnbfjk8pc0wrhg4yhspl8a3ab2w5dfwa9ib5";
};
} // (args.argsOverride or {}))
Loading