summaryrefslogtreecommitdiff
path: root/pkgs/test (follow)
Commit message (Expand)AuthorAgeFilesLines
* tests.dotnet: add test for supported nugetDeps valuesDavid McFarland2024-09-063-0/+51
* nixpkgs-vet: update CI, docs, and release to 0.1.4•••Everything gets moved into the `ci/` top-level directory. We keep behind `maintainers/scripts/check-by-name.sh` and `pkgs/test/check-by-name/pinned-version.txt` as they are going to cause CI errors and confusion until we get all the way through the various channels. They'll be removed in about a week or so. Philip Taron2024-09-033-126/+0
* Merge master into staging-nextgithub-actions[bot]2024-08-262-8/+28
|\
| * tests.haskell.cabalSdist: Prevent rebuilds when Nix files change•••The generated file sets its own directory as the source, including the generated file itself, which causes rebuilds when that file is reformatted. We can avoid this by overriding the source with a filtered version and using that throughout the tests. See https://github.com/NixOS/nixpkgs/pull/320572 for more context Silvan Mosberger2024-08-251-4/+15
| * tests.makeBinaryWrapper: Prevent rebuilds when Nix files change•••The source included way more files than it really needed. This commit limits it to exactly those it needs. This also makes sure that no rebuild is necessary when any Nix file changes, in particular useful when we reformat the Nix files. Silvan Mosberger2024-08-251-4/+13
* | Merge master into staging-nextgithub-actions[bot]2024-08-241-1/+4
|\|
| * autoPatchelfHook: fix testsAzat Bahawi2024-08-231-1/+4
* | Merge remote-tracking branch 'origin/staging-next' into stagingK9002024-08-221-5/+5
|\|
| * tests.texlive: remove with statementsPhilip Taron2024-08-181-5/+5
* | Merge staging-next into staginggithub-actions[bot]2024-08-161-17/+14
|\|
| * tests.kernel-config: remove 'with lib;'Felix Buehler2024-08-161-17/+14
* | Merge pull request #225051 from ShamrockLee/go-module-overlay-stdenv•••buildGoModule: Fix overriding with overlay-style stdenvDoron Behar2024-08-161-0/+100
|\ \
| * | buildGoModule: fix overrideAttrs overriding•••Fix overriding of vendorHash and various attributes via the fixed point attribute support of stdenv.mkDerivation. Pass as derivation attributes goModules, modRoot, vendorHash, deleteVendor, and proxyVendor. Move goModules and vendorHash out of passthru. Co-authored-by: Doron Behar <doron.behar@gmail.com> Yueh-Shun Li2024-08-111-0/+100
* | | Merge pull request #318614 from wolfgangwalther/structured-attrs-setup-hooks•••treewide: support structuredAttrs in setup hooksSomeone2024-08-131-4/+96
|\ \ \ | |_|/ |/| |
| * | stdenv: concatStringsSep: test sep="&"•••The test fails without 64eaa6318185fe0c3e54b0e4e0f2d5b12ebe34ab ("stdenv: concatStringsSep: quote ${sep}") Co-authored-by: Ivan Trubach <mr.trubach@icloud.com> Co-authored-by: Wolfgang Walther <walther@technowledgy.de> Someone Serge2024-08-111-4/+7
| * | stdenv: add concatStringsSep helper•••This can be used to separate lists for example with commas, when creating argument strings. This works with both structuredAttrs disabled and enabled. Wolfgang Walther2024-08-021-0/+31
| * | stdenv: generalize _accumFlagsArray to concatTo•••Passing "flagsArray" as the first argument allows using this function in a few more places. Wolfgang Walther2024-08-021-0/+58
| * | tests.stdenv: fix spellingWolfgang Walther2024-08-021-4/+4
* | | Merge pull request #331398 from MattSturgeon/dotnet-finalAttrs•••buildDotnetModule: add `finalAttrs` supportDavid McFarland2024-08-072-0/+77
|\ \ \
| * | | buildDotnetModule: add `finalAttrs` support•••Allow users to pass arguments to `buildDotnetModule` in the form: ```nix buildDotnetModule (finalAttrs: { # Args }) ``` Exposing the behaviour of the underlying `mkDerivation` and allowing packages to be defined in a recursive way that works correctly even when the package is overridden, e.g. using `overrideAttrs`. Added some simple test cases that piggyback on the existing `structured-attrs` test. Matt Sturgeon2024-08-062-0/+77
| |/ /
* | | replaceVars: initPhilip Taron2024-08-073-0/+81
* | | add compressDrv and compressDrvWeb•••*compressDrv* compresses files in a given derivation. *compressDrvWeb* compresses a derivation for a loosely-defined pre-compressed "web server" usage. This intends to replace the `passthru.data-compressed` derivations that have accumulated in nixpkgs with something more reusable. Motiejus Jakštys2024-08-041-0/+2
|/ /
* | Merge pull request #253186 from risicle/ris-hardening-tests-fixups•••cc-wrapper hardeningFlags tests: fix expected behaviour in corner cases, add tests for `stackclashprotection`Emily2024-07-281-32/+104
|\ \ | |/ |/|
| * cc-wrapper hardeningFlags tests: fix stdenvUnsupport-based tests•••these were not updated to understand hardeningUnsupportedFlagsByTargetPlatform when it was added causing more tests to fail for clang than otherwise would Robert Scott2024-07-151-3/+14
| * cc-wrapper hardeningFlags tests: add tests for stackclashprotectionRobert Scott2024-07-151-23/+77
| * cc-wrapper hardeningFlags tests: fix expected behaviour in corner cases•••also use fortify1-based tests in some places that it may allow us to better test the behaviour of toolchains that only support that Robert Scott2024-07-121-6/+13
* | Merge pull request #330434 from ShamrockLee/test-overriding-attrs•••tests.overriding: structure tests as an attribut setRobert Hensing2024-07-281-17/+13
|\ \
| * | tests.overriding: structure tests as an attribut set•••Make individual tests accessible via tests.override.tests.<name> Yueh-Shun Li2024-07-271-17/+13
* | | nixpkgs-check-by-name: 0.1.1 -> 0.1.2•••https://github.com/NixOS/nixpkgs-check-by-name/releases/tag/0.1.2 infinixbot2024-07-261-1/+1
* | | treewide: remove unused lib (and other) argumentsSigmanificient2024-07-262-5/+2
|/ /
* | tests: enable llvmPackages_git (#329570)Tristan Ross2024-07-241-1/+0
* | tests.cuda.cudaPackages: remove __attrsFailEvaluation since the attrset evalu...Philip Taron2024-07-171-1/+0
|/
* Merge pull request #323398 from NixOS/prep-dev-shell•••init `devShellTools`Silvan Mosberger2024-07-031-0/+2
|\
| * devShellTools: init (empty)Robert Hensing2024-06-291-0/+2
* | Merge pull request #319220 from ExpidusOS/fix/test-infinite-recurse•••Fix failures with pkgs/top-level/release-attrpaths-superset.nixjade2024-06-301-0/+3
|\ \ | |/ |/|
| * pkgs/test/stdenv/default.nix: fix eval on darwinTristan Ross2024-06-301-0/+3
* | doc: Explain cabalSdist testRobert Hensing2024-06-262-1/+6
* | Revert "tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary reb...•••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). sternenseemann2024-06-211-8/+1
* | tests.haskell.setBuildTarget: prevent unnecessary rebuildsPhilip Taron2024-06-171-1/+9
* | tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary rebuildsPhilip Taron2024-06-171-1/+8
* | Merge pull request #313005 from tie/dotnet-cross•••buildDotnetModule: fix structured attributes supportDavid McFarland2024-06-1710-4/+139
|\ \ | |/ |/|
| * buildDotnetModule: fix structured attributes support•••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. Ivan Trubach2024-05-2910-4/+139
* | Merge pull request #317053 from ju1m/fix-pkgs-test-runTests•••pkgs/test: fix silent failures when using runTestsWill Fancher2024-06-072-62/+67
|\ \
| * | pkgs/test: fix silent failures when using runTestsJulien Moutinho2024-06-042-62/+67
* | | tests.dotnet.project-references: use dir instead of file output•••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. David McFarland2024-06-021-1/+1
|/ /
* | Release NixOS 24.05Weijia Wang2024-05-311-1/+1
* | treewide: remove unused occurence of fetchFromGitHub argumentisabel2024-05-301-1/+1
|/
* Merge staging-next into staginggithub-actions[bot]2024-05-131-1/+0
|\
| * cudaPackagesGoogle: deprecate as only used by tensorflowGaetan Lepage2024-05-121-1/+0
* | llvmPackages_*.libcxx: include libcxxabi within libcxx•••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> Peter Waller2024-05-101-0/+11
|/