about summary refs log tree commit diff
path: root/pkgs/test
AgeCommit message (Collapse)AuthorFilesLines
2024-06-21Revert "tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary ↵sternenseemann1-8/+1
rebuilds" This reverts commit 81c06bc6094a3a637c90e1ad57616caf2f137a07. Reason for revert: This change breaks the `tests.haskell.cabalSdist.assumptionLocalHasDirectReference` test which relies on checking for the test source store path in the resulting derivation files. 81c06bc6094a3a637c90e1ad57616caf2f137a07 did not account for this in the change (though it should be possible).
2024-06-17tests.haskell.setBuildTarget: prevent unnecessary rebuildsPhilip Taron1-1/+9
2024-06-17tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary rebuildsPhilip Taron1-1/+8
2024-06-17Merge pull request #313005 from tie/dotnet-crossDavid McFarland10-4/+139
buildDotnetModule: fix structured attributes support
2024-06-07Merge pull request #317053 from ju1m/fix-pkgs-test-runTestsWill Fancher2-62/+67
pkgs/test: fix silent failures when using runTests
2024-06-04pkgs/test: fix silent failures when using runTestsJulien Moutinho2-62/+67
2024-06-02tests.dotnet.project-references: use dir instead of file outputDavid McFarland1-1/+1
This fixes an error in nixpkgs-review when it tries to pass this to buildEnv: error: The store path [...]project-references-test is a file and can't be merged into an environment using pkgs.buildEnv! at [...]-builder.pl line 122.
2024-05-31Release NixOS 24.05Weijia Wang1-1/+1
2024-05-30treewide: remove unused occurence of fetchFromGitHub argumentisabel1-1/+1
2024-05-29buildDotnetModule: fix structured attributes supportIvan Trubach10-4/+139
This change refactors internal hooks used by buildDotnetModule to support derivations with structured attributes. Note that this changes variable names that the internal hooks expect.
2024-05-13Merge staging-next into staginggithub-actions[bot]1-1/+0
2024-05-12cudaPackagesGoogle: deprecate as only used by tensorflowGaetan Lepage1-1/+0
2024-05-10llvmPackages_*.libcxx: include libcxxabi within libcxxPeter Waller1-0/+11
Key test case: nixpkgs#pkgsStatic.pkgsLLVM.ncurses Prior to this patch, this fails with errors such as: ``` error: undefined symbol: __cxa_throw ``` I think this is a reasonable solution because in #292043, libcxxabi was 'merged into libcxx', however, the commit message suggests that only dynamic linking was accounted for, because it says: ``` * linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient. ``` Whereas, I found that if I tried linking a "hello world" C++ program with a static hostPlatform, it failed unless -lc++abi was passed. Signed-off-by: Peter Waller <p@pwaller.net>
2024-04-24tests.config: Simplify exampleRobert Hensing1-11/+8
authy was about to be removed, so this test had to be updated.
2024-04-15stdenv: make inputDerivation never fixed-outputJade Lovelace1-0/+22
This fixes using inputDerivation on derivations that are fixed-output. Previously: ``` nix-repl> drv = runCommand "huh" { outputHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="; outputHashAlgo = "sha256"; outputHashType = "flat"; } "touch $out" nix-repl> drv.inputDerivation «derivation /nix/store/d8mjs6cmmvsr1fv7psm6imis5pmh9bcs-huh.drv» nix-repl> :b drv.inputDerivation error: fixed output derivation 'huh' is not allowed to refer to other store paths. You may need to use the 'unsafeDiscardReferences' derivation attribute, see the manual for more details. ``` Fixes: https://github.com/NixOS/nixpkgs/issues/304209
2024-04-10nixpkgs-check-by-name: 0.1.0 -> 0.1.1infinixbot1-1/+1
https://github.com/NixOS/nixpkgs-check-by-name/releases/tag/0.1.1
2024-04-08llvmPackages_9: remove due to ageTristan Ross1-0/+1
2024-03-31Merge pull request #294826 from xworld21/texlive-install-tlDmitry Kalinkin1-12/+8
texlive.withPackages: replace postBuild with install-tl like script
2024-03-29tests.texlive.context: check that the PDF has been createdVincenzo Mantova1-0/+8
2024-03-29tests.texlive.fmtutilCnf: removeVincenzo Mantova1-12/+0
The fmtutilCnf test does not fit the new way of generating fmtutil.cnf.
2024-03-26tests.nixpkgs-check-by-name: Remove now that a separate repo is usedSilvan Mosberger228-4173/+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-26check-by-name: Remove now-unnecessary scripts/pinned-tool.jsonSilvan Mosberger1-4/+0
It was not removed in https://github.com/NixOS/nixpkgs/pull/297901 so that CI for that PR itself would not fail since CI runs from the base branch.
2024-03-26workflows/check-by-name.yml: Switch to new separate repoSilvan Mosberger5-66/+33
The nixpkgs-check-by-name tooling is [being moved](https://github.com/NixOS/nixpkgs/issues/286559#issuecomment-2000466124) to a [separate repo](https://github.com/NixOS/nixpkgs-check-by-name). This commit updates Nixpkgs CI to use it instead of the tree inside Nixpkgs No changes have been made to the tooling locally since it was moved: - [Exported history](https://github.com/NixOS/nixpkgs/commits/55bf02190ee57fcf83490fd7b6bf7834e28c9c86/pkgs/test/nixpkgs-check-by-name) - [Imported history](https://github.com/NixOS/nixpkgs-check-by-name/commits/d579e1821d56c79fd90dab34b991cc7bdab7a5c6/)
2024-03-19treewide: drop LLVM11annalee1-0/+1
2024-03-18Merge pull request #296324 from willbush/by-name-update-envcSilvan Mosberger1-6/+0
check-by-name: Update .envrc to avoid using deprecated command
2024-03-16check-by-name: Update .envrc to remove deprecated commandWill Bush1-6/+0
Noticed the following warning: ``` direnv: `nix_direnv_watch_file` is deprecated - use `watch_file` ``` Which seems to come from here: https://github.com/nix-community/nix-direnv/blob/6455f38a8dcf731dccd69aabef3f85ac962bfa8d/direnvrc#L207 Seems this check is no longer needed check-by-name: Remove check from .envrc Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-03-12Merge master into haskell-updatesgithub-actions[bot]1-2/+2
2024-03-06check-by-name: Update pinned toolingSilvan Mosberger1-2/+2
Includes https://github.com/NixOS/nixpkgs/pull/290743
2024-03-03Merge master into haskell-updatesgithub-actions[bot]70-312/+872
2024-03-02Merge pull request #290743 from tweag/by-name-better-errorsSilvan Mosberger70-312/+872
2024-03-01tests.nixpkgs-check-by-name: More inline format! argumentsSilvan Mosberger1-112/+76
Now that the previous commit removed all the .display()'s that were previously necessary for PathBuf's, but now aren't for RelativePathBuf, we can also inline the format! arguments
2024-03-01tests.nixpkgs-check-by-name: Use RelativePath for relative pathsSilvan Mosberger6-153/+158
Makes the code easier to understand and less error-prone
2024-03-01tests.nixpkgs-check-by-name: Better empty argument errorSilvan Mosberger4-0/+12
2024-03-01tests.nixpkgs-check-by-name: Fix absolute path in errorsSilvan Mosberger5-23/+43
2024-03-01tests.nixpkgs-check-by-name: Various minor improvementsSilvan Mosberger38-213/+262
Co-Authored-By: Philip Taron <philip.taron@gmail.com>
2024-02-29Merge master into haskell-updatesgithub-actions[bot]4-0/+142
2024-02-29substitute: Deprecate `replacements`, introduce `replacementsList`Silvan Mosberger2-0/+98
Also: - Add tests - Treewide update - Improve docs
2024-02-27Merge pull request #290946 from ju1m/systemd-option-listWill Fancher3-0/+44
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 Moutinho3-0/+44
2024-02-25Merge master into haskell-updatesgithub-actions[bot]1-1/+16
2024-02-23tests.nixpkgs-check-by-name: Fix internal docsSilvan Mosberger1-2/+5
2024-02-23tests.nixpkgs-check-by-name: Improve errors for new packagesSilvan Mosberger6-23/+75
Or rather, make it more consistent
2024-02-23tests.nixpkgs-check-by-name: More spaces in errorsSilvan Mosberger9-5/+19
2024-02-23tests.nixpkgs-check-by-name: Better error for empty second argSilvan Mosberger7-25/+77
2024-02-23tests.nixpkgs-check-by-name: More consistent errorsSilvan Mosberger6-8/+8
2024-02-23tests.nixpkgs-check-by-name: Evaluate base and main branch in parallelSilvan Mosberger1-7/+13
2024-02-23tests.nixpkgs-check-by-name: Improve errors relating to the base branchSilvan Mosberger55-37/+110
2024-02-23tests.nixpkgs-check-by-name: Improve more errorsSilvan Mosberger10-54/+134
2024-02-22tests.nixpkgs-check-by-name: Improve non-syntactic callPackage error moreSilvan Mosberger6-14/+79
2024-02-22tests.nixpkgs-check-by-name: Improve error for wrong package fileSilvan Mosberger6-31/+106