nixpkgs/pkgs/build-support
Maximilian Bosch 6f3d8a72ea
runInLinuxVM: remove hwclock -s invocation
Commit 97ed6b4565 broke the systemd-boot
tests (among others) because of the `hwclock -s` invocation. This was
broken for a while, but not noticed because we didn't have a `set -e`
before.

The error

    hwclock: select() to /dev/rtc0 to wait for clock tick timed out

MAY be related to an open QEMU bug[1]: I can't reproduce the error on
aarch64-linux and x86_64-linux with `partitionTableType = "legacy";`.
Also, the issue disappears on x86_64-linux when adding `--directisa`.

However, the invocation was added in f73ff0529e
10 years ago which didn't give any reasoning or pointer to what KVM bug
this may be. Given that this must have happened on an ancient version,
we agreed on removing it altogether[2].

[1] https://gitlab.com/qemu-project/qemu/-/issues/1762
[2] https://github.com/NixOS/nixpkgs/pull/354535#issuecomment-2500791222
2024-11-26 15:51:11 +01:00
..
agda treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
appimage appimage-run: Add libsecret for bitwarden 2024-09-22 23:08:36 -05:00
binary-cache
bintools-wrapper bintools-wrapper: fix late‐bound command references (#351531) 2024-10-28 07:05:32 -07:00
build-bazel-package treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
build-fhsenv-bubblewrap buildFHSEnv: use LOCALE_ARCHIVE from environment if present 2024-11-10 04:11:19 +01:00
build-fhsenv-chroot fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
build-graalvm-native-image buildGraalvmNativeImage: remove workaround for Nix environment variables 2024-10-27 12:22:37 +00:00
buildenv buildenv: don't pass null paths to writeClosure 2024-09-19 23:09:26 +03:00
cc-wrapper {bintools-wrapper,cc-wrapper}: allow paths relative to the Darwin SDK 2024-10-26 15:28:50 +01:00
compress-drv compressDrv: fix a confusing comment 2024-08-21 21:52:00 +03:00
coq Merge master into staging-next 2024-09-23 12:05:36 +00:00
dart buildDartApplication: include dart SDK builder by default (#343337) 2024-10-11 20:56:17 -04:00
dev-shell-tools nixosTests.docker-tools-nix-shell: Enable on aarch64-linux 2024-07-29 00:23:05 +02:00
dhall
dlang dub-to-nix: update recommended regen command 2024-09-20 23:26:41 +02:00
docker dockerTools: set mtime to epoch by default 2024-09-25 00:31:16 -04:00
dotnet dotnet: add passthru.runtime/aspnetcore to sdk packages 2024-11-17 14:19:25 -04:00
fetch9front
fetchbitbucket
fetchbower
fetchbzr nix-prefetch-bzr: emit SRI hashes by default 2024-09-17 15:00:27 +00:00
fetchcvs nix-prefetch-cvs: emit SRI hashes by default 2024-09-17 15:00:28 +00:00
fetchdarcs fetchdarcs: support hash attribute 2024-09-17 15:00:28 +00:00
fetchdebianpatch
fetchdocker
fetchfirefoxaddon
fetchfossil fetchfossil: simplify and check that multiple hashes were not passed in 2024-09-17 15:00:28 +00:00
fetchgit fetchgit: nudge to update the manual when modifying parameters 2024-11-14 23:50:13 +01:00
fetchgitea
fetchgithub fetchgithub: support fetchLFS 2024-09-04 19:01:22 +02:00
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx fetchgx: support hash attribute 2024-09-17 15:00:27 +00:00
fetchhg
fetchipfs fetchipfs: simplify, error-out when given multiple hashes 2024-09-17 15:00:29 +00:00
fetchmavenartifact
fetchmtn fetchmtn: support hash attribute 2024-09-17 15:00:28 +00:00
fetchnextcloudapp fetchNextcloudApp: use fetchurl by default 2024-08-05 03:53:38 -07:00
fetchpatch fetchpatch: add patchutils to nativeBuildInputs 2024-07-01 18:09:00 +03:00
fetchpijul fetchpijul: minor simplification 2024-09-17 15:00:28 +00:00
fetchpypi
fetchpypilegacy fetchPypiLegacy: Pass cacert to enable TLS verification when username/password is used 2024-08-14 13:22:31 +12:00
fetchrepoorcz
fetchrepoproject fetchRepoProject: support hash attribute, wrapping in withnormalizedHash 2024-09-17 06:34:00 +00:00
fetchs3 fetchs3: support hash attribute 2024-09-17 15:00:27 +00:00
fetchsavannah fetchFromSavannah: add passthru.gitRepoUrl 2024-10-29 18:11:52 +08:00
fetchsourcehut
fetchsvn fetchsvn: add system certificate authorities bundle 2024-11-17 14:39:47 -08:00
fetchsvnrevision
fetchsvnssh fetchsvnssh: support hash attribute 2024-09-17 15:00:29 +00:00
fetchtorrent treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
fetchurl fetchurl: revert enabling TLS verification when NIX_SSL_CERT_FILE 2024-10-26 13:58:19 +02:00
fetchzip
go buildGoModule: remove goPackagePath warning 2024-11-18 14:36:08 +01:00
kernel tree-wide: switch initrd generators back to gnu cpio 2024-10-31 01:21:59 +01:00
lib
make-darwin-bundle treewide: handle preDistPhases __structuredAttrs-agnostically 2024-09-03 05:33:59 +08:00
make-desktopitem fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
make-hardcode-gsettings-patch
make-pkgconfigitem treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
make-startupitem make-startupitem: fix {prepend,append}ExtraArgs for Exec without arguments 2024-08-18 12:28:06 +02:00
mitm-cache treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mkshell
nix-gitignore
node buildNpmPackage: pass down patchFlags to fetchNpmDeps (#350761) 2024-11-05 15:49:50 +01:00
nuke-references
ocaml buildDunePackage: allow overriding stdenv 2024-09-18 14:13:53 +02:00
oci-tools
php build-support/php/buildComposerRepository: show composer-repository in logs (eg: nix build) when building the vendor derivation 2024-11-10 23:07:16 +01:00
pkg-config-wrapper
portable-service
prefer-remote-fetch
references-by-popularity
release treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
remove-references-to
replace-secret
replace-vars replaceVars: init 2024-08-07 07:27:50 -07:00
rust rustPlatform.buildRustPackage: allow specifying cargoDeps 2024-11-19 10:47:22 -08:00
setup-hooks treewide: migrate packages to pkgs/by-name, take 1 2024-11-09 20:04:51 +08:00
singularity-tools singularity-tools: enable __structuredAttrs and pass contents directly (#358723) 2024-11-25 10:05:42 -08:00
src-only tests/srcOnly: init (#347548) 2024-11-01 09:13:09 -07:00
substitute substituteAll: validate arguments 2024-10-20 18:55:15 +03:00
substitute-files
testers Merge pull request #334995 from pbsds/fix-test-version-1723771306 2024-08-17 07:53:03 -07:00
trivial-builders makeSetupHook: remove deprecated deps argument 2024-11-22 21:01:53 +01:00
vm runInLinuxVM: remove hwclock -s invocation 2024-11-26 15:51:11 +01:00
wrapper-common {bintools-wrapper,cc-wrapper}: export Darwin SDK variables 2024-10-27 17:52:07 +00:00
writers dotnet: november 2024 upgrades and infrastructure changes (#355753) 2024-11-18 20:20:45 -04:00
xen xen: do not assume version reflects the actual package version 2024-11-13 14:43:55 -03:00
build-nim-package.nix buildNimPackage: move into /pkgs/build-support, tidy OWNERS 2024-10-28 10:26:14 +00:00
checkpoint-build.nix
closure-info.nix Reapply "closure-info: switch to stdenvNoCC (#344456)" 2024-09-26 09:33:42 +02:00
make-impure-test.nix
plugins.nix
replace-dependencies.nix replaceDependencies: do not build unused replacements 2024-09-24 12:20:15 +02:00
replace-direct-dependencies.nix replaceDependencies: add support for ca-derivations 2024-09-24 12:20:15 +02:00
setup-systemd-units.nix
source-from-head-fun.nix