Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
4b93708
ruby: fix soname tag
Izorkin May 8, 2020
2ea669b
libdrm: 2.4.100 -> 2.4.102
akvadrako Jun 18, 2020
6053264
cryptsetup: 2.1.0 -> 2.3.3
mmilata Jun 17, 2020
2c23cba
pythonPackages.blivet: drop cryptsetup dependency
mmilata Jun 18, 2020
f6ef3ac
zstd: build programs and tests against the shared library
veprbl Jul 2, 2020
7e5bfbc
Merge pull request #91017 from mmilata/cryptsetup-2.3.3
jtojnar Jul 2, 2020
9e7f109
json_c: 0.13.1 -> 0.14
mmilata Jun 18, 2020
f85535f
libu2f-host: support json_c-0.14
mmilata Jun 18, 2020
1bfa734
libu2f-server: support json_c-0.14
mmilata Jun 18, 2020
9d1b3a1
connman-ncurses: support json_c-0.14
mmilata Jun 18, 2020
542c8ff
multipath-tools: support json_c-0.14
mmilata Jun 18, 2020
9aadc46
yubikey-personalization: support json_c-0.14
mmilata Jun 18, 2020
b39c3a1
zmap: support json_c-0.14
mmilata Jun 18, 2020
b81594a
Merge pull request #90883 from mmilata/json-c-0.14
jtojnar Jul 2, 2020
57f3c83
automake115x: 1.15 -> 1.15.1
alyssais Jul 3, 2020
10ad3f6
gd: fix "Error: Problem doing text layout"
alyssais Jul 3, 2020
8b5bb18
sqlite: 3.32.2 -> 3.32.3
Jul 3, 2020
ee5f705
wayland: documentation outputs
alyssais Jul 3, 2020
f02d1db
python3Packages.awkward1: 0.2.23 -> 0.2.24
veprbl Jul 3, 2020
6ca2afc
curl: 7.70.0 -> 7.71.1
dasj19 Jul 4, 2020
60fb772
python36: 3.6.10 -> 3.6.11
FRidh Jul 4, 2020
7935bf7
python37: 3.7.7 -> 3.7.8
FRidh Jul 4, 2020
d2ee5fd
btrfs-progs: 5.6.1 -> 5.7
r-ryantm Jul 4, 2020
3d6fcff
Merge branch 'staging-next' into staging
jtojnar Jul 4, 2020
906c560
man: 2.9.2 -> 2.9.3
r-ryantm Jul 5, 2020
a8842fd
librsvg: 2.48.7 -> 2.48.8
r-ryantm Jul 5, 2020
d8af01b
libqmi: 1.25.900 -> 1.26.0
r-ryantm Jul 5, 2020
cebca41
nspr: 4.25 -> 4.26
ajs124 Jun 29, 2020
b01f391
Merge branch 'staging-next' into staging
jtojnar Jul 5, 2020
9beef71
help2man: 1.47.15 -> 1.47.16
r-ryantm Jul 5, 2020
dde3311
libuv: 1.38.0 -> 1.38.1
r-ryantm Jul 5, 2020
82153b8
glib: 2.64.3 -> 2.64.4
r-ryantm Jul 3, 2020
aa02946
gssdp: 1.2.2 -> 1.2.3
r-ryantm Jul 3, 2020
b1c6615
libinput: 1.15.5 -> 1.15.6
r-ryantm Jul 5, 2020
f25b933
lcms2: 2.10 -> 2.11
r-ryantm Jul 3, 2020
253431d
dbus: 1.12.18 -> 1.12.20
r-ryantm Jul 3, 2020
0a5fd4c
bison: 3.6.3 -> 3.6.4
r-ryantm Jul 2, 2020
573bff4
libwacom: 1.3 -> 1.4.1
r-ryantm Jul 2, 2020
a60b186
libgcrypt: 1.8.5 -> 1.8.6
lsix Jul 6, 2020
a130b5a
Merge pull request #92153 from ckauhaus/sqlite-cves
Jul 7, 2020
519606e
vala: 0.48.1 -> 0.48.7
worldofpeace Jul 7, 2020
9002e5c
flrig: 1.3.50 -> 1.3.51
r-ryantm Jul 4, 2020
71d6910
Merge pull request #92592 from worldofpeace/vala-update
worldofpeace Jul 7, 2020
8d28b32
vim: 8.2.0701 -> 8.2.1123
r-ryantm Jul 7, 2020
9ad2c16
Merge pull request #92655 from r-ryantm/auto-update/vim
ryantm Jul 8, 2020
a58c2d2
networkmanager: 1.22.10 → 1.24.0
mweinelt May 8, 2020
7daccdb
networkmanager: 1.24.0 -> 1.24.2
worldofpeace Jul 8, 2020
3abffce
libmbim: 1.23.900 -> 1.24.0
jtojnar Jul 6, 2020
0bbeec1
Merge pull request #92285 from r-ryantm/auto-update/btrfs-progs
7c6f434c Jul 9, 2020
adda7cf
libevent: 2.1.11 -> 2.1.12
r-ryantm Jul 9, 2020
9c833ae
poppler: 0.89.0 -> 0.90.0
r-ryantm Jul 10, 2020
4be4ae7
Merge pull request #92829 from r-ryantm/auto-update/poppler-glib
jtojnar Jul 10, 2020
483dbe9
systemd: Allow setting the transient hostname via DHCP
primeos Jun 21, 2020
a3a40ac
Merge staging-next into staging
FRidh Jul 11, 2020
27b14ee
fontconfig: 2.12.6 -> 2.13.92
worldofpeace Nov 20, 2019
87786bc
fontconfig: bump configVersion to 2.13
worldofpeace Nov 22, 2019
edf2541
fontconfig: Only read versioned config dirs
jtojnar May 27, 2020
993deed
fontconfig: Load fonts also from FHS paths
jtojnar Jun 15, 2020
6f83450
fontconfig: remove its rules from configs
jtojnar Jun 23, 2020
12834b3
Merge pull request #91232 from primeos/systemd-allow-transient-hostname
flokli Jul 11, 2020
2d2b751
lvm2: remove unused default.upstream file
flokli May 5, 2020
5e1eb7b
lvm2: cleanups, make udev optional
flokli Aug 19, 2019
33030f1
lvm2: add myself as maintainer
ajs124 May 21, 2020
fbe7027
lvm2: fetch sources from http instead of git
flokli Apr 30, 2020
3ca74a9
lvm2: 2.03.01 -> 2.03.09
ajs124 May 25, 2020
198d1e6
lvm2: make --enable-cmdlib optional
flokli May 24, 2020
df67459
lvm2: don't embed ./configure line in lvm2 binary
flokli May 24, 2020
d3a991d
lvm2: add multiple output support
flokli May 24, 2020
e6a6846
lvm2: fix paths to use /run instead of /var/run.
ajs124 May 21, 2020
b812931
lvm2: fix location to systemd-run invocation
flokli Jul 12, 2020
9f83907
lvm2: only split bin and lib out from out if cmdlib isn't enabled
flokli Jul 12, 2020
09558f1
Merge pull request #73795 from worldofpeace/fontconfig-2.13.92
jtojnar Jul 13, 2020
9403c99
Merge master into staging-next
FRidh Jul 13, 2020
0e93ae3
mesa: 20.0.8 -> 20.1.3 (#92977)
colemickens Jul 13, 2020
1a1e723
nixos/tasks/lvm: add dmeventd and lvmthin support
ajs124 May 25, 2020
e55ef86
systemd_with_lvm2: remove
flokli May 13, 2019
d056f6e
nixos/test/installer: add postBootCommands
ajs124 May 25, 2020
53a3436
nixos/tests/installer: lvm: test lvm2-pvscan@ units
ajs124 May 31, 2020
12d32ee
lvm2: rename enable_{cmdlib,dmeventd} to enable{Cmdlib,Dmeventd}
flokli Jul 14, 2020
9583669
lvm2: passthru tests
flokli Jul 14, 2020
a224b6e
Merge pull request #93024 from flokli/lvm-fixes
flokli Jul 14, 2020
4cfaf5b
networkmanager: 1.24.2 -> 1.26.0
worldofpeace Jul 14, 2020
7713fba
Revert "buildRustPackage: fix cargoBuildFlags"
Ma27 Jul 14, 2020
ac94f1a
Merge pull request #91984 from veprbl/pr/zstd_use_shared_lib
veprbl Jul 14, 2020
10e5b93
python3.pkgs.libevdev: hardcode path
jtojnar Jul 8, 2020
7c75c1e
python3.pkgs.libevdev: enable tests
jtojnar Jul 8, 2020
6cf8110
libinput: fix subcommands
jtojnar Jul 8, 2020
d9f4163
python3.pkgs.pyudev: do not propagate systemd
jtojnar Jul 8, 2020
f83c9a7
libevdev: fix aarch64 support
jtojnar Jul 15, 2020
5788f71
Merge branch 'master' into staging-next
jtojnar Jul 15, 2020
821dba7
Merge branch 'staging-next' into staging
jtojnar Jul 15, 2020
487373f
nss: 3.52.1 -> 3.54
ajs124 Jun 29, 2020
d2694d9
rustPlatform: don't install artifacts modified by `checkPhase`
Ma27 Jul 14, 2020
80a3c33
gtk3: 3.24.20 -> 3.24.21
worldofpeace Jul 15, 2020
e8cf168
Merge branch 'master' into staging-next
veprbl Jul 16, 2020
9173beb
Merge branch 'staging-next' into staging
veprbl Jul 16, 2020
166a71a
arrow-cpp: fix eval, enable linking against zstd_shared
veprbl Jul 16, 2020
75fdc1c
cmake.setupHook: define shareDocName
jtojnar Jul 15, 2020
2596c96
Revert "transmission: Remove $out/share/doc"
jtojnar Jul 14, 2020
812d124
Revert "darktable: Remove $out/share/doc"
jtojnar Jul 14, 2020
d49b38b
Merge pull request #92715 from jtojnar/fix-libinput-commands
jtojnar Jul 16, 2020
ab0171b
fluent-bit: 1.4.6 -> 1.5.0
r-ryantm Jul 16, 2020
1e816de
fly: 6.3.0 -> 6.4.0
r-ryantm Jul 16, 2020
ba20bc8
Merge pull request #93128 from Ma27/fix-rust-build-flags
flokli Jul 16, 2020
af1b0c9
go: 1.14.4 -> 1.14.5
zowoq Jul 16, 2020
92cfd28
ffmpeg_2_8: 2.8.16 -> 2.8.17
zowoq Jul 16, 2020
88c720f
ffmpeg_3_4: 3.4.7 -> 3.4.8
zowoq Jul 16, 2020
916bc99
ffmpeg: 4.3 -> 4.3.1
zowoq Jul 16, 2020
7c58c7e
Merge pull request #93220 from r-ryantm/auto-update/fluent-bit
marsam Jul 17, 2020
64b2319
Merge pull request #93221 from r-ryantm/auto-update/fly
marsam Jul 17, 2020
4c99c55
go: 1.14.5 -> 1.14.6
zowoq Jul 17, 2020
7d51e48
Merge pull request #93300 from worldofpeace/update-gtk3
worldofpeace Jul 17, 2020
b595268
Merge pull request #87239 from Izorkin/ruby-soname
Mic92 Jul 17, 2020
ab1cbc8
Merge pull request #91746 from helsinki-systems/upd/nss-3.54
flokli Jul 17, 2020
7dff6d6
Merge pull request #93166 from jtojnar/cmake-docdir
jtojnar Jul 18, 2020
e33bed7
rust: 1.44.1 -> 1.45.0
alyssais Jul 16, 2020
d41cd15
scons: 3.1.2 -> 4.0.0
primeos Jul 7, 2020
595a36d
scons.py2: Replace with sconsPackages.scons_3_1_2
primeos Jul 17, 2020
5b14758
Merge pull request #92920 from primeos/scons
primeos Jul 18, 2020
4244b73
Merge branch 'master' into staging
vcunat Jul 18, 2020
6f8b1ae
Revert "apparmor: only apply the gnumake fix to the parser"
vcunat Jul 18, 2020
b8aa90c
Merge pull request #87286 from mweinelt/pr/nm
worldofpeace Jul 18, 2020
fe562bd
Merge #92345: man: 2.9.2 -> 2.9.3 (into staging)
vcunat Jul 19, 2020
fc76d24
Merge #92282: curl: 7.71.0 -> 7.71.1 (into staging)
vcunat Jul 19, 2020
f3b606e
Merge #90731: libdrm: 2.4.100 -> 2.4.102 (in staging)
vcunat Jul 19, 2020
327bb71
Merge #92499: libgcrypt: 1.8.5 -> 1.8.6 (in staging)
vcunat Jul 19, 2020
7441e61
Merge #92805: libevent: 2.1.11 -> 2.1.12 (in staging)
vcunat Jul 19, 2020
956f322
Merge #92128: wayland: documentation outputs (in staging)
vcunat Jul 19, 2020
b9de39c
scons: 4.0.0 -> 4.0.1 (#93415)
primeos Jul 19, 2020
0c50808
gpgme: 1.13.1 -> 1.14.0 (#93353)
primeos Jul 19, 2020
0513a91
nss_3_44: bring back this older branch for firefox-esr
vcunat Jul 12, 2020
99a531d
Merge branch 'staging' into staging-next
vcunat Jul 19, 2020
d4e479a
firefox: 77.0.1 -> 78.0.1 (security)
ajs124 Jul 1, 2020
939337f
thunderbird: fix build after nss update
vcunat Jul 19, 2020
83442a3
Merge branch 'master' into staging-next
jtojnar Jul 20, 2020
6f77852
pythonPackages.gyp: 2015-06-11 -> 2020-05-12
ajs124 Jul 20, 2020
6760ec6
nss: gyp supports python3 now
ajs124 Jul 20, 2020
8f92520
nss: try to fix darwin build
ajs124 Jul 20, 2020
29d0b7b
Merge pull request #93534 from helsinki-systems/gyp-python3
flokli Jul 20, 2020
cf04e77
Merge branch 'staging' into staging-next
vcunat Jul 20, 2020
34432ad
libreoffice*: fix build after nss update
vcunat Jul 21, 2020
22fdfc7
rustfmt: fix build with rustc 1.45.0
cole-h Jul 21, 2020
e7a68aa
Merge pull request #93600 from cole-h/fix-rustfmt-1_45_0
Mic92 Jul 21, 2020
7a5c6fe
Merge branch 'master' into staging-next
vcunat Jul 22, 2020
19be541
Merge master into staging-next
FRidh Jul 22, 2020
2988feb
Merge branch 'master' into staging-next
jtojnar Jul 23, 2020
744b380
poppler: 0.90.0 → 0.90.1:
jtojnar Jul 23, 2020
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
16 changes: 6 additions & 10 deletions nixos/modules/config/fonts/fontconfig.nix
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,7 @@ let
# fontconfig default config files
ln -s ${supportPkg.out}/etc/fonts/conf.d/*.conf \
$support_folder/
ln -s ${latestPkg.out}/etc/fonts/conf.d/*.conf \
$latest_folder/

# update latest 51-local.conf path to look at the latest local.conf
rm $latest_folder/51-local.conf

substitute ${latestPkg.out}/etc/fonts/conf.d/51-local.conf \
$latest_folder/51-local.conf \
--replace local.conf /etc/fonts/${latestVersion}/local.conf
# Latest fontconfig is configured to look for the upstream defaults inside the package.

# 00-nixos-cache.conf
ln -s ${cacheConfSupport} \
Expand All @@ -236,7 +228,11 @@ let
# 50-user.conf
${optionalString (!cfg.includeUserConf) ''
rm $support_folder/50-user.conf
rm $latest_folder/50-user.conf
''}
# Since latest fontconfig looks for default files inside the package,
# we had to move this one elsewhere to be able to exclude it here.
${optionalString cfg.includeUserConf ''
ln -s ${latestPkg.out}/etc/fonts/conf.d.bak/50-user.conf $latest_folder/50-user.conf
''}

# local.conf (indirect priority 51)
Expand Down
6 changes: 3 additions & 3 deletions nixos/modules/system/boot/stage-1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ let
copy_bin_and_libs ${pkgs.utillinux}/sbin/blkid

# Copy dmsetup and lvm.
copy_bin_and_libs ${pkgs.lvm2}/sbin/dmsetup
copy_bin_and_libs ${pkgs.lvm2}/sbin/lvm
copy_bin_and_libs ${getBin pkgs.lvm2}/bin/dmsetup
copy_bin_and_libs ${getBin pkgs.lvm2}/bin/lvm

# Add RAID mdadm tool.
copy_bin_and_libs ${pkgs.mdadm}/sbin/mdadm
Expand Down Expand Up @@ -235,7 +235,7 @@ let
--replace cdrom_id ${extraUtils}/bin/cdrom_id \
--replace ${pkgs.coreutils}/bin/basename ${extraUtils}/bin/basename \
--replace ${pkgs.utillinux}/bin/blkid ${extraUtils}/bin/blkid \
--replace ${pkgs.lvm2}/sbin ${extraUtils}/bin \
--replace ${getBin pkgs.lvm2}/bin ${extraUtils}/bin \
--replace ${pkgs.mdadm}/sbin ${extraUtils}/sbin \
--replace ${pkgs.bash}/bin/sh ${extraUtils}/bin/sh \
--replace ${udev} ${extraUtils}
Expand Down
67 changes: 60 additions & 7 deletions nixos/modules/tasks/lvm.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,70 @@
{ config, lib, pkgs, ... }:

with lib;
let
cfg = config.services.lvm;
in {
options.services.lvm = {
package = mkOption {
type = types.package;
default = if cfg.dmeventd.enable then pkgs.lvm2_dmeventd else pkgs.lvm2;
internal = true;
defaultText = "pkgs.lvm2";
description = ''
This option allows you to override the LVM package that's used on the system
(udev rules, tmpfiles, systemd services).
Defaults to pkgs.lvm2, or pkgs.lvm2_dmeventd if dmeventd is enabled.
'';
};
dmeventd.enable = mkEnableOption "the LVM dmevent daemon";
boot.thin.enable = mkEnableOption "support for booting from ThinLVs";
};

{

###### implementation
config = mkMerge [
(mkIf (!config.boot.isContainer) {
environment.etc."tmpfiles.d/lvm2.conf".source = "${cfg.package}/lib/tmpfiles.d/lvm2.conf";
environment.systemPackages = [ cfg.package ];
systemd.packages = [ cfg.package ];

config = mkIf (!config.boot.isContainer) {
# TODO: update once https://github.com/NixOS/nixpkgs/pull/93006 was merged
services.udev.packages = [ cfg.package.out ];
})
(mkIf cfg.dmeventd.enable {
systemd.sockets."dm-event".wantedBy = [ "sockets.target" ];
systemd.services."lvm2-monitor".wantedBy = [ "sysinit.target" ];

environment.systemPackages = [ pkgs.lvm2 ];
environment.etc."lvm/lvm.conf".text = ''
dmeventd/executable = "${cfg.package}/bin/dmeventd"
'';
})
(mkIf cfg.boot.thin.enable {
boot.initrd = {
kernelModules = [ "dm-snapshot" "dm-thin-pool" ];

services.udev.packages = [ pkgs.lvm2 ];
extraUtilsCommands = ''
copy_bin_and_libs ${pkgs.thin-provisioning-tools}/bin/pdata_tools
copy_bin_and_libs ${pkgs.thin-provisioning-tools}/bin/thin_check
'';
};

};
environment.etc."lvm/lvm.conf".text = ''
global/thin_check_executable = "${pkgs.thin-provisioning-tools}/bin/thin_check"
'';
})
(mkIf (cfg.dmeventd.enable || cfg.boot.thin.enable) {
boot.initrd.preLVMCommands = ''
mkdir -p /etc/lvm
cat << EOF >> /etc/lvm/lvm.conf
${optionalString cfg.boot.thin.enable ''
global/thin_check_executable = "$(command -v thin_check)"
''}
${optionalString cfg.dmeventd.enable ''
dmeventd/executable = "$(command -v false)"
activation/monitoring = 0
''}
EOF
'';
})
];

}
19 changes: 16 additions & 3 deletions nixos/tests/installer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ let
# a test script fragment `createPartitions', which must create
# partitions and filesystems.
testScriptFun = { bootLoader, createPartitions, grubVersion, grubDevice, grubUseEfi
, grubIdentifier, preBootCommands, extraConfig
, grubIdentifier, preBootCommands, postBootCommands, extraConfig
, testSpecialisationConfig
}:
let iface = if grubVersion == 1 then "ide" else "virtio";
Expand Down Expand Up @@ -216,6 +216,7 @@ let
machine = create_machine_named("boot-after-rebuild-switch")
${preBootCommands}
machine.wait_for_unit("network.target")
${postBootCommands}
machine.shutdown()

# Tests for validating clone configuration entries in grub menu
Expand All @@ -238,6 +239,7 @@ let
with subtest("Set grub to boot the second configuration"):
machine.succeed("grub-reboot 1")

${postBootCommands}
machine.shutdown()

# Reboot Machine
Expand All @@ -252,12 +254,13 @@ let
with subtest("We should find a file named /etc/gitconfig"):
machine.succeed("test -e /etc/gitconfig")

${postBootCommands}
machine.shutdown()
'';


makeInstallerTest = name:
{ createPartitions, preBootCommands ? "", extraConfig ? ""
{ createPartitions, preBootCommands ? "", postBootCommands ? "", extraConfig ? ""
, extraInstallerConfig ? {}
, bootLoader ? "grub" # either "grub" or "systemd-boot"
, grubVersion ? 2, grubDevice ? "/dev/vda", grubIdentifier ? "uuid", grubUseEfi ? false
Expand Down Expand Up @@ -335,7 +338,7 @@ let
};

testScript = testScriptFun {
inherit bootLoader createPartitions preBootCommands
inherit bootLoader createPartitions preBootCommands postBootCommands
grubVersion grubDevice grubIdentifier grubUseEfi extraConfig
testSpecialisationConfig;
};
Expand Down Expand Up @@ -552,16 +555,26 @@ in {
+ " mkpart primary 2048M -1s" # PV2
+ " set 2 lvm on",
"udevadm settle",
"sleep 1",
"pvcreate /dev/vda1 /dev/vda2",
"sleep 1",
"vgcreate MyVolGroup /dev/vda1 /dev/vda2",
"sleep 1",
"lvcreate --size 1G --name swap MyVolGroup",
"sleep 1",
"lvcreate --size 2G --name nixos MyVolGroup",
"sleep 1",
"mkswap -f /dev/MyVolGroup/swap -L swap",
"swapon -L swap",
"mkfs.xfs -L nixos /dev/MyVolGroup/nixos",
"mount LABEL=nixos /mnt",
)
'';
postBootCommands = ''
assert "loaded active" in machine.succeed(
"systemctl list-units 'lvm2-pvscan@*' -ql --no-legend | tee /dev/stderr"
)
'';
};

# Boot off an encrypted root partition with the default LUKS header format
Expand Down
5 changes: 5 additions & 0 deletions nixos/tests/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
re.search(r"^Filesystem state: *clean$", extinfo, re.MULTILINE) is not None
), ("File system was not cleanly unmounted: " + extinfo)

# Regression test for https://github.com/NixOS/nixpkgs/pull/91232
with subtest("setting transient hostnames works"):
machine.succeed("hostnamectl set-hostname --transient machine-transient")
machine.fail("hostnamectl set-hostname machine-all")

with subtest("systemd-shutdown works"):
machine.shutdown()
machine.wait_for_unit("multi-user.target")
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/jackmix/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, scons, qt4, lash, libjack2, jack ? libjack2 }:
{ stdenv, fetchurl, pkgconfig, sconsPackages, qt4, lash, libjack2, jack ? libjack2 }:

stdenv.mkDerivation {
name = "jackmix-0.5.2";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation {

patches = [ ./no_error.patch ];

nativeBuildInputs = [ scons.py2 pkgconfig ];
nativeBuildInputs = [ sconsPackages.scons_3_1_2 pkgconfig ];
buildInputs = [
qt4
lash
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mixxx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
, libGLU, libxcb, lilv, lv2, opusfile
, pkgconfig, portaudio, portmidi, protobuf, qtbase, qtscript, qtsvg
, qtx11extras, rubberband, scons, sqlite, taglib, upower, vamp-plugin-sdk
, qtx11extras, rubberband, sconsPackages, sqlite, taglib, upower, vamp-plugin-sdk
}:

let
Expand All @@ -28,7 +28,7 @@ mkDerivation rec {
sha256 = "1dj9li8av9b2kbm76jvvbdmihy1pyrw0s4xd7dd524wfhwr1llxr";
};

nativeBuildInputs = [ scons.py2 ];
nativeBuildInputs = [ sconsPackages.scons_3_1_2 ];
buildInputs = [
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout241 libsndfile
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/rhvoice/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, pkgconfig, fetchFromGitHub, scons
{ stdenv, lib, pkgconfig, fetchFromGitHub, sconsPackages
, python, glibmm, libpulseaudio, libao }:

let
Expand All @@ -15,7 +15,7 @@ in stdenv.mkDerivation {
};

nativeBuildInputs = [
scons.py2 pkgconfig
sconsPackages.scons_3_1_2 pkgconfig
];

buildInputs = [
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.2.0701";
version = "8.2.1123";

src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
sha256 = "1cbh2nhbvhp4kclc9fd8gqij2vi11c5zwdwn1nzg805k06hwmsrp";
sha256 = "01fgfm5pnmbq12z84d7g3x0iq5gj1irdyihx41c4r2bww55v5q0c";
};

enableParallelBuilding = true;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/graphics/darktable/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
"-DUSE_KWALLET=OFF"
];

# Doc has high risk of collisions
postInstall = "rm -r $out/share/doc";

# darktable changed its rpath handling in commit
# 83c70b876af6484506901e6b381304ae0d073d3c and as a result the
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/fluxus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
, openal
, openssl
, racket
, scons
, sconsPackages
, zlib
}:
let
Expand Down Expand Up @@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
openssl.dev
racket
];
nativeBuildInputs = [ scons.py2 ];
nativeBuildInputs = [ sconsPackages.scons_3_1_2 ];

patches = [ ./fix-build.patch ];
sconsFlags = [
Expand Down
17 changes: 10 additions & 7 deletions pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
, hunspell, libXdamage, libevent, libstartup_notification
, libvpx, libvpx_1_8
, icu, libpng, jemalloc, glib
, icu, icu67, libpng, jemalloc, glib
, autoconf213, which, gnused, cargo, rustc, llvmPackages
, rust-cbindgen, nodejs, nasm, fetchpatch
, debugBuild ? false
Expand Down Expand Up @@ -111,16 +111,18 @@ stdenv.mkDerivation ({
xorg.libXScrnSaver xorg.xorgproto
xorg.libXext unzip makeWrapper
libevent libstartup_notification /* cairo */
icu libpng jemalloc glib
libpng jemalloc glib
nasm
# >= 66 requires nasm for the AV1 lib dav1d
# yasm can potentially be removed in future versions
# https://bugzilla.mozilla.org/show_bug.cgi?id=1501796
# https://groups.google.com/forum/#!msg/mozilla.dev.platform/o-8levmLU80/SM_zQvfzCQAJ
nspr nss
]
++ lib.optionals (lib.versionOlder ffversion "75") [ libvpx sqlite ]
++ lib.optionals (lib.versionOlder ffversion "75") [ libvpx sqlite ]
++ lib.optional (lib.versionAtLeast ffversion "75.0") libvpx_1_8
++ lib.optional (lib.versionOlder ffversion "78") icu
++ lib.optional (lib.versionAtLeast ffversion "78.0") icu67
++ lib.optional alsaSupport alsaLib
++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed
++ lib.optional gtk3Support gtk3
Expand Down Expand Up @@ -200,27 +202,28 @@ stdenv.mkDerivation ({
"--enable-application=browser"
"--with-system-jpeg"
"--with-system-zlib"
"--with-system-bz2"
"--with-system-libevent"
"--with-system-libvpx"
"--with-system-png" # needs APNG support
"--with-system-icu"
"--enable-system-ffi"
"--enable-system-pixman"
#"--enable-system-cairo"
"--enable-startup-notification"
#"--enable-content-sandbox" # TODO: probably enable after 54
"--disable-tests"
"--disable-necko-wifi" # maybe we want to enable this at some point
"--disable-updater"
"--enable-jemalloc"
"--disable-gconf"
"--enable-default-toolkit=${default-toolkit}"
"--with-libclang-path=${llvmPackages.libclang}/lib"
"--with-clang-path=${llvmPackages.clang}/bin/clang"
"--with-system-nspr"
"--with-system-nss"
]
++ lib.optionals (lib.versionOlder ffversion "78") [
"--with-system-bz2"
"--enable-startup-notification"
"--disable-gconf"
]
++ lib.optional (lib.versionOlder ffversion "75") "--enable-system-sqlite"
++ lib.optional (stdenv.isDarwin) "--disable-xcode-checks"
++ lib.optionals (lib.versionOlder ffversion "69") [
Expand Down
Loading