Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
c09e02a
boost,boost16x: 1.67 -> 1.69 (upgrade default boost version)
dtzWill Feb 24, 2019
e74d575
remove a few boost overrides optimistically
dtzWill Feb 24, 2019
1601a7f
generic/setup.sh: Unset locally defined variables
matthewbauer Sep 26, 2019
e494de2
libcxxapi: don't produce shared libs on musl
nmattia Oct 2, 2019
fadd37b
libcxx: don't produce shared libs on musl
nmattia Oct 2, 2019
4d33b41
unzip: CVE-2019-13232
thorstenweber83 Oct 19, 2019
1d1cbbc
libsForQt5.phonon: 4.10.3 -> 4.11.1
r-ryantm Oct 23, 2019
640677c
sudo: 1.8.28 -> 1.8.29
dtzWill Oct 29, 2019
43a9886
common setup hooks: set -u robustness
Ericson2314 Oct 29, 2019
545e751
bintools-wrapper: Don't stop `set -u`-ing
Ericson2314 Oct 29, 2019
d21a660
gettext, libiconv: `dontAddExtraLibs` can be legitimately undefined
Ericson2314 Oct 29, 2019
3835442
patchelf: `dontPatchELF` in setup hook is allowed to be undefined
Ericson2314 Oct 30, 2019
1290e53
treewide: Make more `dont*` variables OK to be undefined in setup hooks
Ericson2314 Oct 30, 2019
2811b03
treewide: Make still dont* Variables are optional in most cases
Ericson2314 Oct 31, 2019
7eecf4f
find-xml-catalogues: Ensure XML_CATALOG_FILES is defined
Ericson2314 Oct 31, 2019
b7f4bda
treewide: `*Phase(s)?` variables are optional
Ericson2314 Oct 31, 2019
45e5e68
rust: Allow IN_NIX_SHELL to be undefined
Ericson2314 Nov 1, 2019
373236c
treewide: JAVA_HOME may not always be defined
Ericson2314 Nov 1, 2019
9df7efe
stdenv: Don't stop `set -u`-ing
Ericson2314 Oct 29, 2019
d254966
mpg123: 1.25.12 -> 1.25.13
r-ryantm Nov 2, 2019
d1270ac
gnugp: adding option for minimal build
wucke13 Oct 20, 2019
29ac226
systemd: adding support for systemd-importd
wucke13 Oct 3, 2019
9b274e2
qtbase-setup-hook: `postPhases` may be undefined
Ericson2314 Nov 2, 2019
02c3bce
vim: 8.1.2188 -> 8.1.2237
r-ryantm Nov 3, 2019
52ed193
nixosTests.systemd-nspawn: add test
flokli Nov 2, 2019
e88fb2d
networkmanager: fix PPPD_PATH
worldofpeace Oct 31, 2019
d1d3807
networkmanager: add worldofpeace to maintainers
worldofpeace Oct 31, 2019
4b63c91
git: drop extraneous sysconfdir trailing slash
alyssais Oct 22, 2019
32e3f4a
Merge pull request #72745 from alyssais/git-slash
wmertens Nov 4, 2019
0a9e548
git: 2.23.0 -> 2.24.0
NeQuissimus Nov 4, 2019
c5cf009
multiple-outputs setup hook: Remove accidentally added tab
Ericson2314 Nov 5, 2019
acd2d19
Merge pull request #72347 from NixOS/bash-no-undef-vars
Ericson2314 Nov 5, 2019
fae8d26
cc-wrapper, bintools-wrapper: Remove now unneeded `set {+,-}u`
Ericson2314 Nov 5, 2019
49afaab
perl: fix errant references when cross-compiling
lopsided98 Aug 2, 2019
c4e30cf
Merge staging-next into staging
FRidh Nov 5, 2019
4db1cae
Merge pull request #72262 from dtzWill/update/sudo-1.8.29
dtzWill Nov 5, 2019
c3566c7
Merge pull request #70352 from wucke13/systemd-importd
flokli Nov 5, 2019
b7b3d3a
gcr: Clean up
jtojnar Nov 5, 2019
03f7753
gcr: 3.33.4 → 3.34.0
jtojnar Nov 5, 2019
901e851
gnu-efi: apply patch to fix build on armv6l
lopsided98 Nov 5, 2019
95ba61b
Merge pull request #72837 from jtojnar/gcr-3.34
worldofpeace Nov 5, 2019
cdbbaa9
cmake: CMAKE_*_PATH can be undefined
Ericson2314 Nov 5, 2019
e6393df
Merge pull request #72362 from worldofpeace/nm-fix-pppd-path
worldofpeace Nov 5, 2019
f11ed19
Merge pull request #65761 from lopsided98/perl-cross-references
Ericson2314 Nov 5, 2019
9ffedfe
Merge pull request #69603 from matthewbauer/unset-unused-setup-var
matthewbauer Nov 5, 2019
2c1d9d8
i-score: CMAKE_PREFIX_PATH can be undefined
Ericson2314 Nov 5, 2019
5b6da99
stdenv: Don't unset propagated*DepFiles before main phases
Ericson2314 Nov 5, 2019
c8bfae0
icu: bugfix #71142 - Fixes icu-config reporting bad location
redvers Nov 6, 2019
699418d
Merge pull request #72819 from lopsided98/gnu-efi-armv6l
Ericson2314 Nov 6, 2019
5270c3a
libtiff: Patch CVE-2019-7663
JohnAZoidberg Oct 27, 2019
2223e61
libtiff: 4.0.10 -> 4.1.0
JohnAZoidberg Nov 6, 2019
3f2a425
Merge branch 'staging-next' into staging
jtojnar Nov 6, 2019
66488f3
Merge pull request #72869 from redvers/icu-issue-71142
7c6f434c Nov 7, 2019
c100983
Merge pull request #70244 from nmattia/nm-fix-libcxx
matthewbauer Nov 7, 2019
d3cf603
zotero: 5.0.73 -> 5.0.77 (#72693)
r-ryantm Nov 7, 2019
770a4c7
glib: Fix setup hook
Ericson2314 Nov 6, 2019
42ffaf5
cmake: NIX_CFLAGS_COMPILE NIX_LDFLAG could be undefined
Ericson2314 Nov 6, 2019
9167482
opensp: `sgmlHookDone` can be undefined
Ericson2314 Nov 6, 2019
67cc85e
OCaml findlib: OCAMLPATH could be undefined
Ericson2314 Nov 6, 2019
0b90a7f
lispPackages.clwrapper: NIX_LISP_LD_LIBRARY_PATH might be undefined
Ericson2314 Nov 6, 2019
aaf0fd2
lua-5 setup hook: LUA_PATH and LUA_CPATH can be undefined
Ericson2314 Nov 6, 2019
b78e840
gdk-pixbuf setup hook: GDK_PIXBUF_MODULE_FILE might not be defined
Ericson2314 Nov 7, 2019
beda036
darwin private frameworks setup hook: NIX_CFLAGS_COMPILE may be undef…
Ericson2314 Nov 7, 2019
12a85a7
SDL, SDL2: SDL{,2}_PATH may be undefined
Ericson2314 Nov 7, 2019
908b143
gstreamer: GST_PLUGIN_SYSTEM_PATH.* may be undefined
Ericson2314 Nov 7, 2019
6fb526b
findlib setup hook: `createFindlibDestdir` may not be defined
Ericson2314 Nov 7, 2019
f1481f2
apple-sdk setup hooks: NIX_CFLAGS_COMPILE may be undefined
Ericson2314 Nov 7, 2019
ca78249
emacs package setup hook: Fix
Ericson2314 Nov 7, 2019
784c3dc
qt5 qmake setup hook: `qmakeFlags` may be undefined
Ericson2314 Nov 8, 2019
f7fdc99
Merge commit 'afa48f16f265fd3e88073bca7929e1e103bd3dc3' into bash-no-…
Ericson2314 Nov 8, 2019
5132cc8
Merge pull request #72812 from NixOS/bash-no-undef-vars
Ericson2314 Nov 8, 2019
57908c1
SDL2: Keep .a files on `dontDisableStatic`; don't move them to $dev; …
nh2 Nov 3, 2019
832f46a
gst-plugins-base: use fetchpatch for better hash stability
vcunat Nov 9, 2019
f364708
Merge #72092: libtiff: 4.0.10 -> 4.1.0 (security)
vcunat Nov 9, 2019
f6eb4b0
kodi: Don't use libGLU_combined
adisbladis Nov 7, 2019
13acfd0
maim: Don't use libGLU_combined
adisbladis Nov 7, 2019
5e433b4
retroarch: Don't use libGLU_combined
adisbladis Nov 7, 2019
d053944
octave: Don't use libGLU_combined
adisbladis Nov 7, 2019
cd1a02a
pythonPackages.pyside: Add missing input libGL
adisbladis Nov 7, 2019
5d24b1e
webkitgtk: Don't use libGLU_combined
adisbladis Nov 7, 2019
52997f1
coin3d: Don't use libGLU_combined
adisbladis Nov 7, 2019
1733a6f
mesa: 19.2.1 -> 19.2.3
adisbladis Nov 7, 2019
a6929e9
xorg.xorgserver: Fix build with mesa 19.2.3
adisbladis Nov 7, 2019
4b616ab
mutter: Fix build with mesa 19.2.3
adisbladis Nov 7, 2019
2de37c4
openscenegraph: Don't use libGLU_combined
adisbladis Nov 7, 2019
46ff2ef
libtxc_dxtn: Don't use libGLU_combined
adisbladis Nov 7, 2019
1dc8093
libtxc_dxtn_s2tc: Don't use libGLU_combined
adisbladis Nov 7, 2019
87e4e71
vtk: Fix build with mesa 19.2.3
adisbladis Nov 7, 2019
f509874
libglvnd: Apply patches to work with mesa 19.2.3
adisbladis Nov 7, 2019
2f292f0
gle: Don't use libGLU_combined
adisbladis Nov 7, 2019
53731cb
leptonica: Don't use libGLU_combined
adisbladis Nov 7, 2019
317958d
ftgl: Don't use libGLU_combined
adisbladis Nov 7, 2019
803f9cc
fltk: Don't use libGLU_combined
adisbladis Nov 7, 2019
ec8fc7b
cogl: Apply patches to work with mesa 19.2.3
adisbladis Nov 7, 2019
01543a4
clutter: Don't use libGLU_combined
adisbladis Nov 7, 2019
7668f68
libretro: Dont use libGLU_combined
adisbladis Nov 7, 2019
dfac4a0
cfn-lint: propagate setuptools
rtimush Nov 8, 2019
735894c
Merge pull request #71745 from r-ryantm/auto-update/phonon-qt5
ttuegel Nov 9, 2019
802c81e
Merge #71401: unzip: CVE-2019-13232 (into staging)
vcunat Nov 9, 2019
c9774cb
qt512.qtbase: Fix darwin build
adisbladis Nov 10, 2019
d5937a8
qt5/libsForQt5: Switch MacOS to Qt 5.12 by default
adisbladis Nov 10, 2019
119b1b6
Merge pull request #72999 from adisbladis/mesa-19_2_3
adisbladis Nov 10, 2019
539e940
Merge pull request #72736 from nh2/nix-sdl2-static-fixes
cpages Nov 10, 2019
73b88e1
Merge staging-next into staging
FRidh Nov 11, 2019
92edb06
libmad: fix three CVE from 2017
c0bw3b Nov 11, 2019
1289606
mpg321: fix CVE-2018-7263
c0bw3b Nov 11, 2019
1569632
Merge branch 'staging-next' into staging
jtojnar Nov 11, 2019
5979cae
Merge pull request #72687 from r-ryantm/auto-update/vim
markuskowa Nov 12, 2019
20b3bd1
Merge pull request #72582 from r-ryantm/auto-update/mpg123
markuskowa Nov 12, 2019
326e5ec
Merge master into staging-next
FRidh Nov 12, 2019
d688c7c
Merge staging-next into staging
FRidh Nov 12, 2019
d45d620
setup.sh: rewrite stripHash
lilyball Aug 6, 2019
c7fbf93
ncurses: add infocmp utility
listx Oct 28, 2019
30e428c
ffmpeg: add options for QuickSync and libaom AV1
nrdxp Nov 6, 2019
fe758f5
cpio: 2.12 -> 2.13
lsix Nov 6, 2019
2cef6ac
curl: 7.66.0 -> 7.67.0
Izorkin Nov 8, 2019
35a537d
Merge pull request #56479 from dtzWill/feature/upgrade-default-boost
FRidh Nov 12, 2019
3e267ad
gettext: 0.19.8.1 -> 0.20.1
lsix Nov 6, 2019
8bff104
rustc: bump runtime LLVM to match upstream
lblasc Aug 31, 2019
571c59f
mariadb-connector-c: 3.1.4 -> 3.1.5
Izorkin Nov 11, 2019
23fb174
python: mpi4py: 3.0.2 -> 3.0.3
FRidh Nov 11, 2019
5c56836
python: mwoauth: 0.3.5 -> 0.3.7
FRidh Nov 11, 2019
89c2ae5
python: myfitnesspal: 1.13.3 -> 1.13.4
FRidh Nov 11, 2019
fbf6941
python: mysqlclient: 1.4.4 -> 1.4.5
FRidh Nov 11, 2019
66693c7
python: nbconvert: 5.6.0 -> 5.6.1
FRidh Nov 11, 2019
4c26c54
python: nbdime: 1.0.6 -> 1.0.7
FRidh Nov 11, 2019
b27b8ab
python: notebook: 6.0.1 -> 6.0.2
FRidh Nov 11, 2019
30e2290
python: numcodecs: 0.6.3 -> 0.6.4
FRidh Nov 11, 2019
80ac560
python: numpy: 1.17.3 -> 1.17.4
FRidh Nov 11, 2019
31f5550
python: pandas: 0.25.2 -> 0.25.3
FRidh Nov 11, 2019
689697f
python: pandas: 0.25.2 -> 0.25.3
FRidh Nov 11, 2019
f11407d
python: persistent: 4.5.0 -> 4.5.1
FRidh Nov 11, 2019
0e17d02
python: phonenumbers: 8.10.21 -> 8.10.22
FRidh Nov 11, 2019
e3c848b
python: pipdate: 0.3.2 -> 0.3.4
FRidh Nov 11, 2019
c1ab98f
python: plac: 1.1.0 -> 1.1.3
FRidh Nov 11, 2019
088824c
python: psutil: 5.6.3 -> 5.6.5
FRidh Nov 11, 2019
67d8bb5
python: pyatmo: 2.3.2 -> 2.3.3
FRidh Nov 11, 2019
d3e83e2
python: pybase64: 1.0.0 -> 1.0.1
FRidh Nov 11, 2019
4237da9
python: pybids: 0.9.4 -> 0.9.5
FRidh Nov 11, 2019
d0207fc
python: pybullet: 2.5.6 -> 2.5.7
FRidh Nov 11, 2019
2bfa475
python: pycryptodome: 3.9.0 -> 3.9.2
FRidh Nov 11, 2019
1a6ec3c
python: pycryptodomex: 3.9.0 -> 3.9.2
FRidh Nov 11, 2019
4ff18fe
python: PyMuPDF: 1.16.5 -> 1.16.7
FRidh Nov 11, 2019
c29e664
python: pyopencl: 2019.1.1 -> 2019.1.2
FRidh Nov 11, 2019
95cbd02
python: pyparsing: 2.4.2 -> 2.4.5
FRidh Nov 11, 2019
b30a5a6
python: pyrsistent: 0.15.4 -> 0.15.5
FRidh Nov 11, 2019
be48e82
python: pytest-mypy: 0.4.1 -> 0.4.2
FRidh Nov 11, 2019
fbe93c0
python: pytest: 5.2.1 -> 5.2.2
FRidh Nov 11, 2019
0456dd3
python: python-daemon: 2.2.3 -> 2.2.4
FRidh Nov 11, 2019
e6ef3d4
python: reportlab: 3.5.31 -> 3.5.32
FRidh Nov 11, 2019
e007ae5
python: rethinkdb: 2.4.4 -> 2.4.4.post1
FRidh Nov 11, 2019
c461edc
python: runway-python: 0.5.0 -> 0.5.1
FRidh Nov 11, 2019
17a30b8
python: scipy: 1.3.1 -> 1.3.2
FRidh Nov 11, 2019
cc0f38e
python: sentry-sdk: 0.13.0 -> 0.13.2
FRidh Nov 11, 2019
f041911
python: soupsieve: 1.9.4 -> 1.9.5
FRidh Nov 11, 2019
bab7fcf
python: sqlmap: 1.3.10 -> 1.3.11
FRidh Nov 11, 2019
1f2790d
python: starlette: 0.12.10 -> 0.12.13
FRidh Nov 11, 2019
ff2691e
python: strictyaml: 1.0.5 -> 1.0.6
FRidh Nov 11, 2019
2cbf167
python: tables: 3.6.0 -> 3.6.1
FRidh Nov 11, 2019
76fbb5c
python: tenacity: 5.1.1 -> 5.1.5
FRidh Nov 11, 2019
116bd5d
python: testfixtures: 6.10.0 -> 6.10.1
FRidh Nov 11, 2019
ad9c1d0
python: testpath: 0.4.2 -> 0.4.4
FRidh Nov 11, 2019
0f76036
python: tld: 0.9.6 -> 0.9.7
FRidh Nov 11, 2019
e0b82e7
python: trustme: 0.5.2 -> 0.5.3
FRidh Nov 11, 2019
c9d25f2
python: typing_extensions: 3.7.4 -> 3.7.4.1
FRidh Nov 11, 2019
1552b22
python: unittest-xml-reporting: 2.5.1 -> 2.5.2
FRidh Nov 11, 2019
9446eb4
python: uproot: 3.10.8 -> 3.10.10
FRidh Nov 11, 2019
d9cfcfe
python: vcrpy: 2.1.0 -> 2.1.1
FRidh Nov 11, 2019
363980e
python: whisper: 1.1.5 -> 1.1.6
FRidh Nov 11, 2019
8a66f4d
python: wxPython: 4.0.7 -> 4.0.7.post1
FRidh Nov 11, 2019
59817b7
python: zstd: 1.4.3.2 -> 1.4.4.0
FRidh Nov 11, 2019
aaad7ca
Merge staging into staging-next
FRidh Nov 12, 2019
afd716f
gettext: add patch to fix --for-msgfmt
FRidh Nov 13, 2019
f799388
p11-kit: 0.23.16.1 -> 0.23.18.1
FRidh Nov 13, 2019
c6e31d0
Merge master into staging-next
FRidh Nov 14, 2019
a951f2a
mesa: 19.2.3 -> 19.2.4
eadwu Nov 14, 2019
bca2e82
treewide: CAML_LD_LIBRARY_PATH may be undefined
Ericson2314 Nov 14, 2019
da76def
Merge branch 'master' into staging-next
jtojnar Nov 14, 2019
2731376
gettext: fix darwin build
LnL7 Nov 14, 2019
be7125d
Merge master into staging-next
FRidh Nov 16, 2019
3864800
Merge master into staging-next
FRidh Nov 17, 2019
41ca861
darwin.CF: workaround intermittent CFRuntime.c failures
LnL7 Nov 17, 2019
ef43c5f
wrap-qt-apps-hook: `qtWrapperArgs` may be undefined
Ericson2314 Nov 17, 2019
ed9fb90
Merge #73572: darwin.CF: hack around build failures
vcunat Nov 18, 2019
f6b39f8
Merge master into staging-next
FRidh Nov 19, 2019
44083d9
SDL: fix setup hook
jtojnar Nov 20, 2019
7429f5f
dleyna-core: fix setup hook
jtojnar Nov 20, 2019
ae46562
pythonPackages.pipBuildHook: fix unbound variable
jtojnar Nov 20, 2019
2a85ee8
guile: fix unbound variable in setup-hook
jtojnar Nov 20, 2019
78d7e56
plasma5 setup hook: provide a default hookName
FRidh Nov 19, 2019
13bab29
kdeFrameworks: provide a default hookName
FRidh Nov 19, 2019
65edeb8
Merge master into staging-next
FRidh Nov 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,19 @@
<link linkend="opt-networking.interfaces">networking.interfaces.&lt;name&gt;.…</link> options.
</para>
</listitem>
<listitem>
<para>
The stdenv now runs all bash with <literal>set -u</literal>, to catch the use of undefined variables.
Before, it itself used <literal>set -u</literal> but was careful to unset it so other packages' code ran as before.
Now, all bash code is held to the same high standard, and the rather complex stateful manipulation of the options can be discarded.
</para>
</listitem>
<listitem>
<para>
The SLIM Display Manager has been removed, as it has been unmaintained since 2013.
Consider migrating to a different display manager such as LightDM (current default in NixOS),
SDDM, GDM, or using the startx module which uses Xinitrc.
</para>
</para>
</listitem>
<listitem>
<para>
Expand Down
2 changes: 2 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ let
"systemd-logind.service"
"autovt@.service"
"systemd-user-sessions.service"
"dbus-org.freedesktop.import1.service"
"dbus-org.freedesktop.machine1.service"
"user@.service"
"user-runtime-dir@.service"
Expand Down Expand Up @@ -145,6 +146,7 @@ let
"user.slice"
"machine.slice"
"machines.target"
"systemd-importd.service"
"systemd-machined.service"
"systemd-nspawn@.service"

Expand Down
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ in
systemd-confinement = handleTest ./systemd-confinement.nix {};
systemd-timesyncd = handleTest ./systemd-timesyncd.nix {};
systemd-networkd-wireguard = handleTest ./systemd-networkd-wireguard.nix {};
systemd-nspawn = handleTest ./systemd-nspawn.nix {};
pdns-recursor = handleTest ./pdns-recursor.nix {};
taskserver = handleTest ./taskserver.nix {};
telegraf = handleTest ./telegraf.nix {};
Expand Down
58 changes: 58 additions & 0 deletions nixos/tests/systemd-nspawn.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import ./make-test.nix ({pkgs, lib, ...}:
let
gpgKeyring = (pkgs.runCommand "gpg-keyring" { buildInputs = [ pkgs.gnupg ]; } ''
mkdir -p $out
export GNUPGHOME=$out
cat > foo <<EOF
%echo Generating a basic OpenPGP key
%no-protection
Key-Type: DSA
Key-Length: 1024
Subkey-Type: ELG-E
Subkey-Length: 1024
Name-Real: Joe Tester
Name-Email: joe@foo.bar
Expire-Date: 0
# Do a commit here, so that we can later print "done"
%commit
%echo done
EOF
gpg --batch --generate-key foo
rm $out/S.gpg-agent $out/S.gpg-agent.*
gpg --export joe@foo.bar -a > $out/pubkey.gpg
'');

nspawnImages = (pkgs.runCommand "localhost" { buildInputs = [ pkgs.coreutils pkgs.gnupg ]; } ''
mkdir -p $out
cd $out
dd if=/dev/urandom of=$out/testimage.raw bs=$((1024*1024+7)) count=5
sha256sum testimage.raw > SHA256SUMS
export GNUPGHOME="$(mktemp -d)"
cp -R ${gpgKeyring}/* $GNUPGHOME
gpg --batch --sign --detach-sign --output SHA256SUMS.gpg SHA256SUMS
'');
in {
name = "opensmtpd";

nodes = {
server = { pkgs, ... }: {
networking.firewall.allowedTCPPorts = [ 80 ];
services.nginx = {
enable = true;
virtualHosts."server".root = nspawnImages;
};
};
client = { pkgs, ... }: {
environment.etc."systemd/import-pubring.gpg".source = "${gpgKeyring}/pubkey.gpg";
};
};

testScript = ''
startAll;

$server->waitForUnit("nginx.service");
$client->waitForUnit("network-online.target");
$client->succeed("machinectl pull-raw --verify=signature http://server/testimage.raw");
$client->succeed("cmp /var/lib/machines/testimage.raw ${nspawnImages}/testimage.raw");
'';
})
2 changes: 1 addition & 1 deletion pkgs/applications/audio/i-score/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
];

preConfigure = ''
export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
export CMAKE_PREFIX_PATH="''${CMAKE_PREFIX_PATH-}:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
'';

postInstall = ''rm $out/bin/i-score.sh'';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mpg123/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
}:

stdenv.mkDerivation rec {
name = "mpg123-1.25.12";
name = "mpg123-1.25.13";

src = fetchurl {
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
sha256 = "1l9iwwgqzw6yg5zk9pqmlbfyq6d8dqysbmj0j3m8dyrxd34wgzhz";
sha256 = "02l915jq0ymndb082g6w89bpf66z04ifa1lr7ga3yycw6m46hc4h";
};

buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
Expand Down
10 changes: 9 additions & 1 deletion pkgs/applications/audio/mpg321/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, libao, libmad, libid3tag, zlib, alsaLib
{stdenv, fetchurl, fetchpatch, libao, libmad, libid3tag, zlib, alsaLib
# Specify default libao output plugin to use (e.g. "alsa", "pulse" …).
# If null, it will use the libao system default.
, defaultAudio ? null
Expand All @@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
sha256 = "0ki8mh76bbmdh77qsiw682dvi8y468yhbdabqwg05igmwc1wqvq5";
};

patches = [
(fetchpatch {
name = "CVE-2018-7263.patch";
url = "https://sources.debian.org/data/main/m/mpg321/0.3.2-3/debian/patches/handle_illegal_bitrate_value.patch";
sha256 = "15simp5fjvm9b024ryfh441rkh2d5bcrizqkzlrh07n9sm7fkw6x";
})
];

hardeningDisable = [ "format" ];

configureFlags =
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/vim/common.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
version = "8.1.2188";
version = "8.1.2237";

src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
sha256 = "0ixq96l991b84sj66v63ds61yr75gx5zz411213yn6bz3s2fvlcv";
sha256 = "1qwh3cw5zmjmnk07g0nc8nz8k5nlq9ilvvygnfdjy1fqg69q8p0h";
};

enableParallelBuilding = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/office/zotero/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

stdenv.mkDerivation rec {
pname = "zotero";
version = "5.0.73";
version = "5.0.77";

src = fetchurl {
url = "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
sha256 = "0m2i3l0gy22h6c7rk39cd17vyksyz5l5py2fn9pza8lcbypkwf3l";
sha256 = "1dgxzprpb8f5wpmvlvkxix0xxckfgjsi3wfcy9mb221a17cv0029";
};

buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme gnome3.dconf ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;

let
version = "2.23.0";
version = "2.24.0";
svn = subversionClient.override { perlBindings = perlSupport; };

gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
Expand All @@ -33,7 +33,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "0rv0y45gcd3h191isppn77acih695v4pipdj031jvs9rd1ds0kr3";
sha256 = "06rpakbwzck85ncfsgv4xmq3iwab9d4f5y6dqhl8nvb2fccxcwcz";
};

outputs = [ "out" ];
Expand Down Expand Up @@ -93,7 +93,7 @@ stdenv.mkDerivation {
++ (if perlSupport then ["PERL_PATH=${perlPackages.perl}/bin/perl"] else ["NO_PERL=1"])
++ (if pythonSupport then ["PYTHON_PATH=${python}/bin/python"] else ["NO_PYTHON=1"])
++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="]
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc/"])
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"])
++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"]
++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/kodi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, libXt, libXmu, libXext
, libXinerama, libXrandr
, libXtst, libXfixes, systemd
, alsaLib, libGLU_combined, glew, fontconfig, freetype, ftgl
, alsaLib, libGLU, libGL, glew, fontconfig, freetype, ftgl
, libjpeg, jasper, libpng, libtiff
, libmpeg2, libsamplerate, libmad
, libogg, libvorbis, flac, libxslt
Expand Down Expand Up @@ -156,7 +156,7 @@ in stdenv.mkDerivation {
openssl gperf tinyxml2 taglib libssh swig jre
libX11 xorgproto libXt libXmu libXext
libXinerama libXrandr libXtst libXfixes
alsaLib libGLU_combined glew fontconfig freetype ftgl
alsaLib libGL libGLU glew fontconfig freetype ftgl
libjpeg jasper libpng libtiff
libmpeg2 libsamplerate libmad
libogg libvorbis flac libxslt systemd
Expand Down
13 changes: 1 addition & 12 deletions pkgs/build-support/bintools-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,13 @@ stdenv.mkDerivation {

installPhase =
''
set -u

mkdir -p $out/bin $out/nix-support

wrap() {
local dst="$1"
local wrapper="$2"
export prog="$3"
set +u
substituteAll "$wrapper" "$out/bin/$dst"
set -u
chmod +x "$out/bin/$dst"
}
''
Expand Down Expand Up @@ -163,8 +159,6 @@ stdenv.mkDerivation {
[[ -e "$underlying" ]] || continue
wrap ${targetPrefix}$variant ${./ld-wrapper.sh} $underlying
done

set +u
'';

emulation = let
Expand Down Expand Up @@ -205,11 +199,7 @@ stdenv.mkDerivation {
];

postFixup =
''
set -u
''

+ optionalString (libc != null) (''
optionalString (libc != null) (''
##
## General libc support
##
Expand Down Expand Up @@ -307,7 +297,6 @@ stdenv.mkDerivation {
''

+ ''
set +u
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
Expand Down
3 changes: 0 additions & 3 deletions pkgs/build-support/bintools-wrapper/setup-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#
# See comments in cc-wrapper's setup hook. This works exactly the same way.

set -u

# Skip setup hook if we're neither a build-time dep, nor, temporarily, doing a
# native compile.
#
Expand Down Expand Up @@ -73,4 +71,3 @@ export NIX_HARDENING_ENABLE

# No local scope in sourced file
unset -v role_pre role_post cmd upper_case
set +u
8 changes: 4 additions & 4 deletions pkgs/build-support/build-dotnet-package/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ attrsOrig @
configurePhase = ''
runHook preConfigure

[ -z "$dontPlacateNuget" ] && placate-nuget.sh
[ -z "$dontPlacatePaket" ] && placate-paket.sh
[ -z "$dontPatchFSharpTargets" ] && patch-fsharp-targets.sh
[ -z "''${dontPlacateNuget-}" ] && placate-nuget.sh
[ -z "''${dontPlacatePaket-}" ] && placate-paket.sh
[ -z "''${dontPatchFSharpTargets-}" ] && patch-fsharp-targets.sh

runHook postConfigure
'';
Expand Down Expand Up @@ -69,7 +69,7 @@ attrsOrig @

cp -rv ${arrayToShell outputFiles} "''${outputFilesArray[@]}" "$target"

if [ -z "$dontRemoveDuplicatedDlls" ]
if [ -z "''${dontRemoveDuplicatedDlls-}" ]
then
pushd "$out"
remove-duplicated-dlls.sh
Expand Down
4 changes: 0 additions & 4 deletions pkgs/build-support/cc-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ stdenv.mkDerivation {

installPhase =
''
set -u

mkdir -p $out/bin $out/nix-support

wrap() {
Expand Down Expand Up @@ -224,8 +222,6 @@ stdenv.mkDerivation {

postFixup =
''
set -u

# Backwards compatability for packages expecting this file, e.g. with
# `$NIX_CC/nix-support/dynamic-linker`.
#
Expand Down
3 changes: 0 additions & 3 deletions pkgs/build-support/cc-wrapper/setup-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
# For more details, read the individual files where the mechanisms used to
# accomplish this will be individually documented.

set -u

# Skip setup hook if we're neither a build-time dep, nor, temporarily, doing a
# native compile.
#
Expand Down Expand Up @@ -120,4 +118,3 @@ export NIX_HARDENING_ENABLE

# No local scope in sourced file
unset -v role_pre role_post
set +u
6 changes: 3 additions & 3 deletions pkgs/build-support/emacs/setup-hook.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
addEmacsVars () {
if test -d $1/share/emacs/site-lisp; then
export EMACSLOADPATH="$1/share/emacs/site-lisp:$EMACSLOADPATH"
if [[ -d "$1/share/emacs/site-lisp" ]]; then
export EMACSLOADPATH="$1/share/emacs/site-lisp${EMACSLOADPATH:+:}${EMACSLOADPATH-}"
fi
}

# If this is for a wrapper derivation, emacs and the dependencies are all
# run-time dependencies. If this is for precompiling packages into bytecode,
# emacs is a compile-time dependency of the package.
addEnvHooks "$targetOffset" addEmacsVars
addEnvHooks "$hostOffset" addEmacsVars
addEnvHooks "$targetOffset" addEmacsVars
2 changes: 1 addition & 1 deletion pkgs/build-support/ocaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stdenv.mkDerivation (args // {

setupHook = if setupHook == null && hasSharedObjects
then writeText "setupHook.sh" ''
export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${name}/"
export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH-}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${name}/"
''
else setupHook;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/audit-tmpdir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# the moment that would produce too many spurious errors (e.g. debug
# info or assertion messages that refer to $TMPDIR).

fixupOutputHooks+=('if [ -z "$noAuditTmpdir" -a -e "$prefix" ]; then auditTmpdir "$prefix"; fi')
fixupOutputHooks+=('if [[ -z "${noAuditTmpdir-}" && -e "$prefix" ]]; then auditTmpdir "$prefix"; fi')

auditTmpdir() {
local dir="$1"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/auto-patchelf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ autoPatchelf() {
# behaviour as fixupOutputHooks because the setup hook for patchelf is run in
# fixupOutput and the postFixup hook runs later.
postFixupHooks+=('
if [ -z "$dontAutoPatchelf" ]; then
if [ -z "${dontAutoPatchelf-}" ]; then
autoPatchelf -- $(for output in $outputs; do
[ -e "${!output}" ] || continue
echo "${!output}"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/compress-man-pages.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fixupOutputHooks+=('if [ -z "$dontGzipMan" ]; then compressManPages "$prefix"; fi')
fixupOutputHooks+=('if [ -z "${dontGzipMan-}" ]; then compressManPages "$prefix"; fi')

compressManPages() {
local dir="$1"
Expand Down
Loading