2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-27 23:33:30 +00:00
Commit Graph

18285 Commits

Author SHA1 Message Date
Doron Behar
4a02c56a7d
Merge pull request from ncfavier/makeWrapper-chdir 2022-03-24 13:51:27 +02:00
Florian Klink
5f3ab4f853
Merge pull request from trofi/update-systemd
systemd: 250.3 -> 250.4
2022-03-23 21:44:18 +01:00
Sergei Trofimovich
35e2c61dfd systemd: 250.3 -> 250.4
Among other things fixes build failure on linux-headers-5.17:

    ../src/basic/meson.build:389:8: ERROR: Problem encountered: found unknown filesystem(s) defined in kernel headers:

    Filesystem found in kernel header but not in filesystems-gperf.gperf: CIFS_SUPER_MAGIC
    Filesystem found in kernel header but not in filesystems-gperf.gperf: SMB2_SUPER_MAGIC
2022-03-23 08:44:15 +00:00
github-actions[bot]
c80dabe3b1
Merge staging-next into staging 2022-03-23 06:01:55 +00:00
Sandro
a4219ba871
Merge pull request from armeenm/bump-dmtcp 2022-03-23 04:07:51 +01:00
Sandro
46ddd465b9
Merge pull request from Profpatsch/nixos-rebuild-meta 2022-03-23 03:36:18 +01:00
zowoq
be98149597 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/servers/isso/default.nix
2022-03-23 10:04:17 +10:00
Alyssa Ross
22bf6be3e0 linuxPackages.rtl8814au: 2021-10-25 -> 2022-02-21
Fixes the build with Linux 5.17.
2022-03-22 20:43:57 +00:00
github-actions[bot]
9d35f2cd19
Merge staging-next into staging 2022-03-22 18:10:54 +00:00
Michal Sojka
611e9302f9 nixos-rebuild: add --no-flake switch
When a NixOS system uses flakes, i.e., /etc/nixos/flake.nix exists, it
is impossible to use nixos-rebuild to build a pre-flake
configuration.nix. Of course, one can directly use nix command to
build the configuration, but not everybody remembers the correct nix
options to do that.

With the new option, it is possible to build a pre-flake configuration
with command like this:

    nixos-rebuild build-vm -I nixos-config=./vm.nix --no-flake

The option might be useful for people following older pre-flake
tutorials on a flake-based system.
2022-03-22 19:03:10 +01:00
Profpatsch
c7172046c7 nixos-rebuild: add meta & add Profpatsch as maintainer 2022-03-22 18:35:33 +01:00
Maëlys Bras de fer
488869f602 nixos-rebuild: support --quiet, --print-build-logs
--quiet decreases the logging verbosity level (inverse of -v)
--print-build-logs prints build logs on stderr (same as -L)
Also reordered and grouped some options for consistency
2022-03-22 18:24:27 +01:00
github-actions[bot]
e452d308f5
Merge staging-next into staging 2022-03-22 12:02:02 +00:00
Armeen Mahdian
11901d89c4 dmtcp: 2021-03-01 -> 2022-02-28 2022-03-22 06:12:11 -05:00
Sandro
5b874cadbf
Merge pull request from Stunkymonkey/treewide-fetchFromGitHub-1 2022-03-22 07:27:54 +01:00
github-actions[bot]
03c279d7ea
Merge staging-next into staging 2022-03-22 00:02:58 +00:00
Alyssa Ross
58ae11758e linux_latest: 5.16.14 -> 5.17 2022-03-21 21:53:29 +00:00
Jörg Thalheim
9b2939da63
Merge pull request from Mic92/nix-ld
nix-ld: init at 1.0.0 + nixos module
2022-03-21 18:42:38 +00:00
github-actions[bot]
6ae26bb3c8
Merge staging-next into staging 2022-03-21 18:07:51 +00:00
Martin Weinelt
071e3c9025
Merge pull request from robintown/bpf-unpriv 2022-03-21 15:19:20 +01:00
Alyssa Ross
2f9822b659 linuxPackages.rtl8821ce: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
Alyssa Ross
fe6c2190e8 linuxPackages.rtl8189es: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
Alyssa Ross
6d43305b89 linuxPackages.r8168: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
github-actions[bot]
de642acb2e
Merge staging-next into staging 2022-03-21 12:10:50 +00:00
Jan Tojnar
82a694e362
Merge pull request from NixOS/ell_0.49_iwd_1.25
ell: 0.46 -> 0.49, iwd: 1.20 -> 1.25
2022-03-21 12:24:22 +01:00
Vladimír Čunát
a519740b4c
Merge branch 'staging-next' into staging 2022-03-21 11:57:43 +01:00
Jörg Thalheim
a98ea7e6f8 nix-ld: init at 1.0.0 + nixos module 2022-03-21 11:15:32 +01:00
Alyssa Ross
75501aff5a linuxPackages.lttng-modules: 2.13.1 -> 2.13.2
Fixes the build with Linux 5.17.
2022-03-21 08:03:08 +01:00
Robin Townsend
3132fcfec3 linux: Enable BPF_UNPRIV_DEFAULT_OFF in 5.15 2022-03-20 21:19:07 -04:00
Armeen Mahdian
292daa1285 smem: switch to python3
smem 1.5 has support for python3
2022-03-20 11:42:35 +01:00
github-actions[bot]
3df8e35539
Merge staging-next into staging 2022-03-20 00:02:45 +00:00
Martin Weinelt
f4f3622cb1 Merge remote-tracking branch 'origin/staging-next' into staging 2022-03-20 00:00:32 +01:00
Martin Weinelt
61388f811a
Merge pull request from armeenm/bump-pflask 2022-03-19 21:50:26 +01:00
Armeen Mahdian
c29f879db3 pflask: 2015-12-17 -> 2018-01-23 2022-03-19 12:58:12 -05:00
Profpatsch
5679b2b698 nixos-rebuild: add installer test to passthru.tests
When something changes in nixos-rebuild, we must make sure the
installers still work, otherwise it might break existing setups.

The installer tests check whether nixos-rebuild works, so they are a
good lithmus test.
2022-03-19 15:13:50 +01:00
Profpatsch
cb7bc7c60f nixos-rebuild: Print commands as they are run on verbose flag
nixos-rebuild would forward all verbose flags to nix, but not actually
increase its own verbosity.
Which would make it hard to see what’s going on without resorting to
tools like strace or adding `set -x` to the script.

We add a simple exec wrapper around the most “interesting” commands,
that is nix tool invocations. If any verbosity flag is given, it will
set the verbosity flag of the nixos-rebuild script all commands
wrapped into `runCmd` will start logging their invocation.

This is done via a `logVerbose` function, which can also be used to
print logging messages when in verbose mode, to aid debugging why
nixos-rebuild does what it does. A few messages are added, but
potentially we could log a lot more details.

Now, testing all of the changed code paths turns out to be rather
hard, so I am unsure how to verify that for all changed commands
behaviour stays indeed the same.
2022-03-19 15:13:50 +01:00
Naïm Favier
9160044f5f
treewide/makeWrapper: replace --run cd with --chdir
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
2022-03-19 09:46:31 +01:00
sternenseemann
fcb6bb628b audit: disable python when cross-compiling
To support this theoretically, the configure script upstream would need
to a) stop using PATH for finding python-config exclusively and allow
passing an absolute path to it and b) cease using the distutils module
for configuration purposes which of course requires running the host
python interpreter which is not possible in the cross case.
2022-03-18 22:45:20 +01:00
Maxine Aubrey
cbf0cefbd7
iwd: 1.20 -> 1.25 2022-03-18 16:30:37 +01:00
Maxine Aubrey
75a612b110
ell: 0.46 -> 0.49 2022-03-18 16:30:26 +01:00
Sandro
c377a6f7f5
Merge pull request from jian-lin/linux-enable-TASKSTATS-and-TASK_DELAY_ACCT 2022-03-18 15:53:27 +01:00
linj
8d7d5fdbdc linux: enable TASKSTATS, TASK_XACCT, TASK_DELAY_ACCT and TASK_IO_ACCOUNTING
iotop needs TASKSTATS, TASK_DELAY_ACCT, TASK_XACCT and
TASK_IO_ACCOUNTING to work. For x86_64, all these options are enabled
by upstream[1]. For aarch64, however, only TASK_XACCT and
TASK_IO_ACCOUNTING are enabled by upstream[2].

This patch enables all these four options for aarch64, which have been
enabled by many other distributions, e.g. debian[3], fedora[4],
rhel[5] and gentoo[6].

I tried to only enable TASKSTATS and TASK_DELAY_ACCT since the other
two options are enabled by upstream, but it turns out that it's
necessary to explicitly enable all four options. I do not figure out
the reason though.

Additionally, given that debian enables these four options for all
arch[3], I think it's safe for us to do the same thing.

[1]: 56e337f2cf/arch/x86/configs/x86_64_defconfig (L8-L11)
[2]: 56e337f2cf/arch/arm64/configs/defconfig (L10-L11)
[3]: da6ddc7d8f/debian/config/config (L6356-6359)
[4]: https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-aarch64-fedora.config#_7398
[5]: https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-aarch64-rhel.config#_5885
[6]: b839fccce2/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.29.ebuild (L27)
2022-03-17 21:45:56 +08:00
zowoq
0e3394758c libcap: 2.49 -> 2.63
https://sites.google.com/site/fullycapable/release-notes-for-libcap
2022-03-17 21:25:11 +10:00
github-actions[bot]
2eac3106df
Merge staging-next into staging 2022-03-17 00:02:45 +00:00
Ryan Mulligan
ac0522d62a
Merge pull request from r-ryantm/auto-update/usbguard
usbguard: 1.1.0 -> 1.1.1
2022-03-16 16:17:01 -07:00
R. Ryantm
055d7abdb6 usbguard: 1.1.0 -> 1.1.1 2022-03-16 22:45:35 +00:00
TredwellGit
39e2856eb6 linux_latest-libre: 18627 -> 18635 2022-03-16 16:46:45 +00:00
TredwellGit
ae3bcac97a linux: 5.4.184 -> 5.4.185 2022-03-16 16:46:26 +00:00
TredwellGit
79699f61a2 linux: 5.16.14 -> 5.16.15 2022-03-16 16:46:20 +00:00
TredwellGit
6ddf7b574c linux: 5.15.28 -> 5.15.29 2022-03-16 16:46:14 +00:00