summary refs log tree commit diff
path: root/nixos/lib
Commit message (Collapse)AuthorAge
...
| | * | | | nixos/test-driver: remove unused imports, add pylint unused-import checkPatrick Hilhorst2022-01-02
| | | | | |
| | * | | | nixos/test-driver: simplify logic, reduce interaction surfacePatrick Hilhorst2022-01-02
| | | | | |
| | * | | | nixos/test-driver: simplify coopmultiPatrick Hilhorst2022-01-02
| | | | | |
| | * | | | nixos/test-driver: bump versionPatrick Hilhorst2022-01-01
| | | | | |
| | * | | | nixos/test-driver: add polling_conditionPatrick Hilhorst2022-01-01
| | | |_|/ | | |/| |
* | | | | Merge remote-tracking branch 'origin/master' into staging-nextJonathan Ringer2022-01-07
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/python-modules/hydra/default.nix
| * | | | Merge pull request #153273 from Synthetica9/passthru-driverInteractivePatrick Hilhorst2022-01-07
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | nixos/test-driver: also passthru driverInteractivePatrick Hilhorst2022-01-04
| | |/ /
* | | | Merge master into staging-nextgithub-actions[bot]2022-01-05
|\| | |
| * | | nixos/make-options-doc: treat missing descriptions as errors by defaultpennae2022-01-02
| | | | | | | | | | | | | | | | | | | | | | | | this partially solves the problem of "missing description" warnings of the options doc build being lost by nix build, at the cost of failing builds that previously ran. an option to disable this behaviour is provided.
| * | | nixos/make-options-doc: turn relatedPackages into linkspennae2022-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | link to search.nixos.org instead of pulling package metadata out of pkgs. this lets us cache docs of a few more modules and provides easier access to package info from the HTML manual, but makes the manpage slightly less useful since package description are no longer rendered.
| * | | nixos/make-options-doc: add type annotations to mergeJSON.pypennae2022-01-02
| | | |
| * | | nixos/documentation: split options doc buildpennae2022-01-02
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | most modules can be evaluated for their documentation in a very restricted environment that doesn't include all of nixpkgs. this evaluation can then be cached and reused for subsequent builds, merging only documentation that has changed into the cached set. since nixos ships with a large number of modules of which only a few are used in any given config this can save evaluation a huge percentage of nixos options available in any given config. in tests of this caching, despite having to copy most of nixos/, saves about 80% of the time needed to build the system manual, or about two second on the machine used for testing. build time for a full system config shrank from 9.4s to 7.4s, while turning documentation off entirely shortened the build to 7.1s.
* | | Merge master into staging-nextgithub-actions[bot]2021-12-29
|\| |
| * | nixos/make-options-doc: fix invalid ':' in XML NCName (non-colonized name)Julien Moutinho2021-12-28
| |/
* | Merge staging-next into staginggithub-actions[bot]2021-12-14
|\|
| * nixos/lib/make-options-doc: fix with nix 2.3pennae2021-12-14
| |
* | Merge branch 'staging-next' into stagingDmitry Kalinkin2021-12-11
|\| | | | | | | | | Conflicts: pkgs/development/libraries/log4cplus/default.nix
| * Merge pull request #149329 from marijanp/test-driver-restructuringJacek Galowicz2021-12-10
| |\ | | | | | | nixos/test-driver: make the test-driver a python package
| | * nixos/test-driver: make the test-driver a python packageMarijan Petričević2021-12-10
| | |
| * | lib/nixos/eval-config.nix: Fix extraArgsSilvan Mosberger2021-12-10
| |/ | | | | | | | | Fixes a mistake in https://github.com/NixOS/nixpkgs/pull/148315 that caused https://github.com/NixOS/nixpkgs/issues/148343#issuecomment-990881216
| * Merge pull request #147265 from pennae/option-docs-buildSilvan Mosberger2021-12-08
| |\ | | | | | | put all option docs build flavors on equal footing
| | * nixos/lib/make-options-doc: generate options.xml from options.jsonpennae2021-12-06
| | | | | | | | | | | | | | | | | | | | | to do this we must replace derivations with attrsets in make-options-doc, since xml can represent derivations differently from attrset but json cannot. this also given asciidoc and mddoc the ability to handle derivation differently, which they previously didn't have.
| | * nix/lib/make-options-doc: remove nix-level sortingpennae2021-12-06
| | | | | | | | | | | | | | | there are no remaining users of sorted option lists except the docbook build, which sorts its input separately.
| | * nixos/lib/make-options-doc: generate asciidoc/md in derivationspennae2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | use the json file derivation we already have to also generate the asciidoc and md options docs instead of formatting the options in nix. docbook docs are already produced in derivations. the new script produce the exact same output as the old in-nix generation.
| * | Merge pull request #149665 from Artturin/squashfscoresArtturi2021-12-08
| |\ \
| | * | make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48Artturin2021-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by default all cores are used hoping this will fix the hydra i686 squashfs build issues as all the failures were using 64 cores Parallel mksquashfs: Using 64 processors Creating 4.0 filesystem on ..., block size 1048576. FATAL ERROR: mangle2:: xz compress failed with error code 5
| * | | Merge pull request #146815 from ElvishJerricco/systemd-utils-expressionsajs1242021-12-08
|/| | | | | | | | | | | Move systemd-lib.nix and systemd-unit-options.nix into utils
| * | | Move systemd-lib.nix and systemd-unit-options.nix into utilsWill Fancher2021-11-20
| | |/ | |/|
* | | Merge pull request #148315 from hercules-ci/nixos-evalModules-legacy-cleanupSilvan Mosberger2021-12-07
|\ \ \ | | | | | | | | NixOS/evalModules legacy cleanup
| * | | nixos/eval-config: Deprecate extraArgs and check parametersRobert Hensing2021-12-02
| | | |
| * | | nixos/eval-config: Remove a recRobert Hensing2021-12-02
| | | |
| * | | nixos/eval-config: Avoid evalModules args and check parametersRobert Hensing2021-12-02
| | |/ | |/|
* / | nixos/test-driver: add 10ms delay to send_keyArtturin2021-12-03
|/ / | | | | | | attempt to fix https://github.com/NixOS/nixpkgs/issues/147294
* | Merge pull request #146512 from DeterminateSystems/better-visibilityJacek Galowicz2021-12-02
|\ \ | | | | | | nixos/test-driver: more context when step finishes, give more functions nested labels
| * | nixos/test-driver: give more functions nested labelsCole Helbling2021-12-01
| | | | | | | | | | | | | | | This will make it easier to trace through the test execution without having to scroll through the entire kernel output.
| * | nixos/test-driver: more context when step finishesCole Helbling2021-12-01
| | | | | | | | | | | | | | | | | | When displaying the amount of time some step took, with no other context, it becomes nigh impossible (especially in longer tests) to see when specific steps finished.
* | | Merge pull request #146271 from DeterminateSystems/better-timeoutsJacek Galowicz2021-12-01
|\ \ \ | | | | | | | | nixos/test-driver: add execute_with_timeout, add (functional) timeouts to more functions
| * | | nixos/test-driver: add (functional) timeouts to more functionsCole Helbling2021-11-17
| | | | | | | | | | | | | | | | | | | | A retry timeout doesn't really help if the thing it's retrying may block forever.
| * | | nixos/test-driver: add timeout parameter to executeCole Helbling2021-11-17
| | | |
* | | | Merge pull request #144094 from ↵Robert Hensing2021-12-01
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | hercules-ci/nixos-specialisations-use-extendModules nixos/specialisation: Rephrase in terms of extendModules, noUserModules
| * | | nixos/specialisation: Rephrase in terms of extendModules, noUserModulesRobert Hensing2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | By using the new extendModules function to produce the specialisations, we avoid reimplementing the eval-config.nix logic in reverse and fix cross compilation support for specialisations in the process.
* | | | qemu, runInLinuxVM: change default cpu to qemu64Martin Schwaighofer2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The flag -cpu max leaves QEMU 6.1.0 stuck on some systems, for example when /dev/kvm is not read-writable. This does not happen with -cpu qemu64. Getting stuck like that is a regression in 6.1.0 not yet present in 6.0.0 and should be fixed with 6.2.0 according to early testing with rc1. We should consider reverting this change when we merge QEMU 6.2.0. See #146526. fixes #141596
* | | | make-disk-image: Make additionalPaths work with Nix 2.4talyz2021-11-29
| | | | | | | | | | | | | | | | | | | | The `nix` command is marked as experimental since 2.4, so an extra flag is required to unlock it.
* | | | treewide: refactor isi686 && isx86_64 -> isx86Ryan Burns2021-11-20
| | | |
* | | | test-driver.py: directly import pathlib.PathPatrick Hilhorst2021-11-20
| | | |
* | | | test-driver.py: always export single machine as 'machine'Patrick Hilhorst2021-11-19
| | | |
* | | | test-driver.py: fix weird non-pythonismPatrick Hilhorst2021-11-19
| |_|/ |/| |
* | | nixos/lib: add /usr to pathsNeededForBootArtturin2021-11-15
| |/ |/| | | | | | | if /usr is split from root then it has to be mounted at boot See https://github.com/NixOS/nixpkgs/issues/146115
* | Merge pull request #142747 from helsinki-systems/fix/test-runner-executeJacek Galowicz2021-11-02
|\ \ | |/ |/| nixos/test-runner: Fix execute() flakiness