about summary refs log tree commit diff
path: root/pkgs/test/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-08llvmPackages_9: remove due to ageTristan Ross1-0/+1
2024-03-26tests.nixpkgs-check-by-name: Remove now that a separate repo is usedSilvan Mosberger1-1/+1
Since https://github.com/NixOS/nixpkgs/pull/297901, the tool is fetched from https://github.com/NixOS/nixpkgs-check-by-name, so there's no need to keep it around in Nixpkgs anymore
2024-03-19treewide: drop LLVM11annalee1-0/+1
2024-02-29substitute: Deprecate `replacements`, introduce `replacementsList`Silvan Mosberger1-0/+2
Also: - Add tests - Treewide update - Improve docs
2024-02-27Merge pull request #290946 from ju1m/systemd-option-listWill Fancher1-0/+2
nixos/systemd: merge unit options as lists when at least one value is a list
2024-02-25nixos/systemd: merge unit options as lists when at least one value is a listJulien Moutinho1-0/+2
2024-02-17fetchPypiLegacy: add testDavHau1-0/+1
2024-01-31Merge pull request #279844 from doronbehar/tests/buildFHSEnvAtemu1-0/+2
tests.buildFHSEnv.libtinfo: init
2024-01-30treewide: drop LLVM10annalee1-1/+1
2024-01-25treewide: drop LLVM8annalee1-1/+1
2024-01-24tests.cc-wrapper: fix errorArtturin1-1/+3
`error: llvmPackages_{6,7} has been removed from nixpkgs`
2024-01-10Merge branch 'master' into staging-nextWeijia Wang1-1/+0
2024-01-10tests.buildFHSEnv.liblzma: initDoron Behar1-0/+2
Do so in a generalized manner.
2024-01-10Merge master into staging-nextgithub-actions[bot]1-1/+1
2024-01-09llvmPackages_6: removeWeijia Wang1-1/+0
Remove as the last two users are gone.
2024-01-08checkpointBuildTools: mkCheckpointedBuild -> mkCheckpointBuildBryan Lai1-1/+1
All other functions are in the form of `*{c,C}heckpointBuild*`, so we deprecate the `mkCheckpointedBuild` function in favor of `mkCheckpointBuild`. Also address some inconsistencies in the docs: some `buildOutput` should actually be `incrementalBuildArtifacts`.
2023-12-21Merge pull request #272752 from ↵Connor Baker1-0/+2
ConnorBaker/feat/autoPatchelf-support-structuredAttrs auto-patchelf: add support for __structuredAttrs
2023-12-21Test __structuredAttrs support in autoPatchelfYann Hamdaoui1-0/+2
This commit adds a test for the newly added support for __structuredAttrs in autoPatchelf(hook). It copied a reasonably small-closure binary derivation that makes use of autoPatchelf, stripped it down for the purpose of the test, and check that autoPatchelf correctly set the interpreter and runpath whether __structuredAttrs is set to true or not.
2023-12-19Merge pull request #167670 from messemar/incremental-buildsJanne Heß1-0/+2
incremental builds: add derivation override functions
2023-12-15treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobsAdam Joseph1-2/+2
2023-12-07rename: incremental -> checkpointed buildsMartin Messer1-1/+1
2023-12-07checkpointedBuild: add checkpointed build test based on pkgs helloMartin Messer1-0/+2
2023-12-04llvmPackages_7: remove at 7.1.0sternenseemann1-4/+0
2023-11-17llvmPackages_5: dropRaito Bezarius1-1/+0
While using very old compilers is a fair usecase, it induces a maintenance churn as we collect more and more LLVM versions for the LLVM maintainers. Especially when we need to backport uniform changes to the whole tree, furthermore, it consumes and waste CI resources.
2023-11-16tests.cc-wrapper.supported: make it actually build the testsArtturin1-17/+19
it was building the stdenv only
2023-11-04tests: fix eval failuresArtturin1-0/+2
2023-10-28fetchFromBittorrent: Rename to fetchtorrentEirik Wittersø1-1/+1
2023-10-18fetchFromBittorrent: initmatthewcroughan1-0/+1
Adds a basic FOD Fetcher for Bittorrent that uses Transmission as a client Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-09llvmPackages_rocm -> rocmPackages.llvmMadoura1-1/+1
2023-09-13pkgs/top-level: use lib.systems.equals for crossSystemIvan Trubach1-0/+2
Fixes otherwise equivalent systems being treated as different by packages that compare `stdenv.*Platform`s using `==` operator.
2023-09-08llvmPackages_15.libcxx: fix the generated linker scriptRahul Butani1-1/+0
See: - https://github.com/NixOS/nixpkgs/issues/214524#issuecomment-1429146432 - https://github.com/llvm/llvm-project/commit/57c7bb3ec89565c68f858d316504668f9d214d59 - https://reviews.llvm.org/D133566 We can drop this patch in `llvmPackages_16`. Fixes #214524.
2023-09-08tests.cc-wrapper: add supported and move tests to subsetsArtturin1-2/+50
filter out llvmPackages <=10 on aarch64-darwin, they're marked broken and availableOn doesn't filter broken packages
2023-09-07Revert "tests.cc-wrapper: filter unavailable gcc"Artturin1-4/+0
This reverts commit d33a309f2c9f85c28cb897e623503f210057a77a. commit caused ofborg-eval to fail with ``` $ nix-build pkgs/top-level/release.nix -A tests.cc-wrapper.gcc10Stdenv.aarch64-darwin error: evaluation aborted with the following error message: 'cannot find attribute `tests.cc-wrapper.gcc10Stdenv'' ``` on the 3 other platfomrs the attr is there
2023-09-07tests.cc-wrapper: filter unavailable gccArtturin1-0/+4
2023-09-07tests.cc-wrapper: filter out *MultiStdenv when not on and not building for ↵Artturin1-2/+7
linux and x86_64 they're only supported on x86_64-linux
2023-09-07tests.cc-wrapper: rework the logic, test newer `gcc` stdenvs tooRahul Butani1-31/+26
ignore `llvmPackages_latest`, it's an alias and it'll be a duplicate. ignore `llvmPackages_git`, it's not supposed to be used in nixpkgs and may be broken.
2023-09-07tests.cc-wrapper-*: extend to `llvmPackages_{10,11,12,13,14,15,git}Rahul Butani1-0/+14
2023-09-02cc-wrapper, binutils-wrapper: add tests hardening-flags-handlingRobert Scott1-0/+8
most tests use debian-devscripts' hardening-check, so only work on ELF systems and can only detect a limited subset of flags. some extra tests actually execute fortify-protected programs and should be slightly more universally applicable.
2023-08-30fetchDebianPatch: add testnicoo1-0/+1
2023-08-29pkgs/test/nixpkgs-check-by-name: initSilvan Mosberger1-0/+2
Adds an internal CLI tool to verify Nixpkgs to conform to RFC 140. See pkgs/test/nixpkgs-check-by-name/README.md for more information.
2023-07-26trivial-builders: Move test list closerRobert Hensing1-12/+1
2023-07-26writeCBin: Add meta.mainProgramRobert Hensing1-0/+3
... and add tests.
2023-05-26tests.dotnet: init with test for projectReferencesRaphael Robatsch1-0/+2
Add a test for buildDotnetModule's `projectReferences = [ ... ];` feature, which is currently unused and therefore untested in nixpkgs.
2023-05-05tests.rustCustomSysroot: remove unmaintained and broken by upstream testArtturin1-1/+0
2023-03-29writeTextFile: chmod before checkPhaseNaïm Favier1-0/+1
Set the executable bit before running the check phase, so that the check phase can run the script to test its behaviour. This aligns with what `concatTextFile` is doing. Also use explicit `if` statements so that we don't silently ignore `chmod` failures.
2023-02-17tests.stdenv: move patch-shebangs testArtturin1-2/+0
2023-02-03Merge pull request #211685 from Artturin/splicingstuff1-splitArtturi1-0/+2
2023-01-29top-level/pkg-config: Make tests easy to findRobert Hensing1-16/+1
2023-01-29pkg-configPackages -> defaultPkgConfigPackagesRobert Hensing1-2/+2
This better reflects the purpose of the package set, while leaving room for a fancier, more complete implementation of the concept, with a nicer name.
2023-01-29tests.pkg-configPackages: Filter out unsupported packagesRobert Hensing1-1/+16