Commit Graph

18184 Commits

Author SHA1 Message Date
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
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
Ryan Mulligan
ac0522d62a
Merge pull request #164509 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
TredwellGit
48b578d278 linux: 5.10.105 -> 5.10.106 2022-03-16 16:46:08 +00:00
TredwellGit
7ea40efa4d linux: 4.9.306 -> 4.9.307 2022-03-16 16:46:02 +00:00
TredwellGit
111be9fee3 linux: 4.19.234 -> 4.19.235 2022-03-16 16:45:56 +00:00
TredwellGit
19fe4b6872 linux: 4.14.271 -> 4.14.272 2022-03-16 16:45:50 +00:00
Sascha Grunert
05fbf3d3fe oci-seccomp-bpf-hook: 1.2.3 -> 1.2.5
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-03-16 19:39:34 +10:00
Lewis Cowper
9f3d358286
tuigreet: fix typo in meta.description
greter -> greeter
2022-03-16 09:59:47 +08:00
Jan Tojnar
2b94adc616
Merge pull request #163926 from jtojnar/udisks2-fix
udisks2: correct patch
2022-03-16 01:18:05 +01:00
Ryan Mulligan
0ab73f9a3f
Merge pull request #162535 from astro/pacemaker
pacemaker: init
2022-03-15 16:06:56 -07:00
Vladimír Čunát
f48c1fda6b
Merge branch 'master' into staging-next
Conflict in pkgs/development/libraries/libvirt/default.nix
required manual adjustments.  The fetched patch is already in src.
I checked that libvirt builds.
2022-03-15 09:52:04 +01:00
davidak
d2c95bb666
Merge pull request #163433 from JJJollyjim/bcachefs
bcachefs: unstable-2022-01-12 -> unstable-2022-03-09
2022-03-14 15:34:43 +01:00
github-actions[bot]
0ed928e4ab
Merge master into staging-next 2022-03-14 12:01:26 +00:00
Anderson Torres
8590804259
Merge pull request #164046 from AndersonTorres/metalab-mirrors
Change metalab mirrors to ibiblioPubLinux ones
2022-03-14 08:26:42 -03:00
Jamie McClymont
3b01bd6249 bcachefs: update maintainers
As requested in https://github.com/NixOS/nixpkgs/pull/163433#issuecomment-1066169644
2022-03-14 21:52:18 +13:00
Jamie McClymont
4f64621056 linux_testing_bcachefs: unstable-2022-01-12 -> unstable-2022-03-09 2022-03-14 21:49:00 +13:00
AndersonTorres
197cb04778 forktty: ibiblioPubLinux mirror 2022-03-13 21:20:49 -03:00
github-actions[bot]
ea64a128d1
Merge master into staging-next 2022-03-14 00:02:12 +00:00
Guillaume Girol
446dda6d81
Merge pull request #159925 from NickCao/kmods
linuxPackages.*: various fixes related to cross compilation
2022-03-13 20:15:31 +00:00
Jan Tojnar
c0bd9a8b46 udisks2: Add freedesktop team to maintainers 2022-03-13 01:13:27 +01:00
Jan Tojnar
39f7bd4d69 udisks2: correct patch
This was forgotten during https://github.com/NixOS/nixpkgs/pull/147606
2022-03-13 01:09:56 +01:00
github-actions[bot]
295cda2612
Merge master into staging-next 2022-03-12 18:00:58 +00:00
Jörg Thalheim
a0429ebd51
Merge pull request #163631 from adisbladis/zfs-top-level-with
zfs: Remove top-level `with` from expression
2022-03-12 14:45:50 +00:00
github-actions[bot]
80180c339e
Merge master into staging-next 2022-03-12 12:01:10 +00:00
TredwellGit
75db629894 linux_latest-libre: 18613 -> 18627 2022-03-12 07:21:25 +00:00
TredwellGit
4bf71faa06 linux-rt_5_4: 5.4.182-rt70 -> 5.4.182-rt71 2022-03-12 07:21:06 +00:00
TredwellGit
3d1e0b2e17 linux-rt_5_10: 5.10.100-rt62 -> 5.10.104-rt63 2022-03-12 07:20:35 +00:00
TredwellGit
c01eed31ba linux: 5.4.183 -> 5.4.184 2022-03-12 07:19:57 +00:00
TredwellGit
51d907345a linux: 5.16.13 -> 5.16.14 2022-03-12 07:19:50 +00:00
TredwellGit
eafbf22558 linux: 5.15.27 -> 5.15.28 2022-03-12 07:19:41 +00:00
TredwellGit
a9e63526e2 linux: 5.10.104 -> 5.10.105 2022-03-12 07:19:31 +00:00
TredwellGit
5de1f9ac31 linux: 4.9.305 -> 4.9.306 2022-03-12 07:19:22 +00:00
TredwellGit
3d434fc0d9 linux: 4.19.233 -> 4.19.234 2022-03-12 07:19:15 +00:00
TredwellGit
ceafc68dce linux: 4.14.270 -> 4.14.271 2022-03-12 07:19:08 +00:00
github-actions[bot]
7573d7fe79
Merge master into staging-next 2022-03-11 18:01:20 +00:00
Bernardo Meurer
f9335711ad
Merge pull request #163650 from TredwellGit/linux-firmware
linux-firmware: 20220209 -> 20220310
2022-03-11 09:41:30 -08:00
André Silva
3ee99c82c4
Merge pull request #161868 from fortuneteller2k/xanmod-tt
linux_xanmod: 5.15.24 -> 5.15.27
2022-03-11 16:58:58 +00:00
fortuneteller2k
c0ca1422e7 linux_xanmod: 5.15.24 -> 5.15.27 2022-03-11 20:04:12 +08:00
github-actions[bot]
cb2a59dda7
Merge master into staging-next 2022-03-11 06:01:28 +00:00
TredwellGit
92dce804e3 linux-firmware: 20220209 -> 20220310 2022-03-11 05:56:40 +00:00
Franz Pletz
b77a575dc8
Merge pull request #163513 from ReplayCoding/fix/iwd-doc-output 2022-03-11 05:20:31 +01:00
adisbladis
ac74ab0236 zfs: Remove top-level with from expression
Using `with` in such a high up scope makes it very easy to
accidentally forget to update function arguments and introduce typos
because of the lack of any editor support and static analysis.

It's better to explicitly inherit the small number of things we need
from `lib` into scope so that editors can know of scoped variables.
2022-03-11 11:25:19 +12:00
adisbladis
f445a7668c zfs: 2.1.2 -> 2.1.3 2022-03-11 10:32:14 +12:00
github-actions[bot]
76c5dacba7
Merge master into staging-next 2022-03-10 18:01:25 +00:00