summary refs log tree commit diff
path: root/pkgs/test
Commit message (Collapse)AuthorAge
* Merge pull request #217206 from Artturin/stdenvimprovements1Bernardo Meurer2023-02-23
|\
| * treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin2023-02-22
| | | | | | | | | | | | | | | | with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
| * tests.stdenv.outputs-no-out: fixArtturin2023-02-22
| |
* | cudaPackages_12: 12.0.0 -> 12.0.1Connor Baker2023-02-22
|/
* cuda-samples: init 11.8Connor Baker2023-02-22
|
* Merge staging-next into staginggithub-actions[bot]2023-01-30
|\
| * Merge master into staging-nextgithub-actions[bot]2023-01-30
| |\
| | * top-level/pkg-config: Make tests easy to findRobert Hensing2023-01-29
| | |
| | * pkg-configPackages -> defaultPkgConfigPackagesRobert Hensing2023-01-29
| | | | | | | | | | | | | | | | | | 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.
| | * tests.pkg-configPackages: Copy meta attributes for licensing concernsRobert Hensing2023-01-29
| | |
| | * tests.pkg-configPackages: Filter out broken packagesRobert Hensing2023-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some packages are only marked broken on specific platforms, so we filter those out as well. Consequently, this might not raise an error if the attribute value needs to point to a different pkgs attribute, but this is not something we can detect. For now, we'll have to rely on users of such pkg-config packages to report that kind of error. There's really not much we can do about this here.
| | * tests.pkg-configPackages: Filter out unsupported packagesRobert Hensing2023-01-29
| | |
| | * pkg-configPackages: initRobert Hensing2023-01-29
| | |
* | | Merge pull request #212286 from Artturin/runonallArtturi2023-01-25
|\ \ \ | |/ / |/| | make-symlinks-relative: run on all outputs
| * | make-symlinks-relative: run on all outputsArtturin2023-01-23
| |/
* | Merge remote-tracking branch 'origin/staging-next' into stagingSergei Trofimovich2023-01-20
|\| | | | | | | | | | | Conflicts: pkgs/development/libraries/qt-6/modules/qtbase.nix pkgs/stdenv/linux/make-bootstrap-tools.nix
| * tests.kernel-config: remove test that wasn't being runArtturin2023-01-17
| | | | | | | | it doesn't seem necessary anymore
| * tests.kernel-config: fixArtturin2023-01-17
| | | | | | | | | | | | | | | | | | error: The option `settings.NIXOS_TEST_BOOLEAN.tristate' has conflicting definition values: - In `structuredExtraConfig': "n" - In `structuredExtraConfig': "y" since https://github.com/NixOS/nixpkgs/pull/90065 yes does not silently win over no
* | multi-outputs.sh: Improve _assignFirst error messageRobert Hensing2023-01-16
|/ | | | | | | | | | | | | | | | | | | | | | | | | Closes #16182 This improves the error message Error: _assignFirst found no valid variant! which occurred when the set of outputs was not sufficient to set the various outputDev, outputBin, etc variables. Specifically, this would mean that "out" is not among the outputs, which is valid for a derivation. This changes the message to something like error: _assignFirst: could not find a non-empty variable to assign to outputDev. The following variables were all unset or empty: dev out. If you did not define an "out" output, make sure to define all the specific required outputs: define an output for one of the unset variables. While this isn't a full explanation of what stdenv can and can not do, I think it's vast improvement over the 0 bits of information that it used to provide. This at least gives a clue as to what's going on, and even suggests a fix, although probably multiple such fixes are required in an instance where someone starts with a no-out derivation from scratch (and decide to persist).
* Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2023-01-11
|\
| * treewide: {build,host,target}Platform -> stdenv.{build,host,target}PlatformArtturin2023-01-09
| |
* | Merge staging-next into staginggithub-actions[bot]2022-12-25
|\|
| * cc-wrapper-test: add workaround for asan allocation errorNick Cao2022-12-25
| | | | | | | | | | Miminal program fail with address sanitizer error failed to allocate 0x0 (0) bytes of SetAlternateSignalStack https://bugzilla.redhat.com/show_bug.cgi?id=1950244
| * cc-wrapper-test: do not test sanitizers when cross compilingNick Cao2022-12-25
| |
| * cc-wrapper-test: do not test sanitizers on darwinNick Cao2022-12-25
| |
| * cc-wrapper-test: support cross compilersNick Cao2022-12-25
| |
* | Merge branch 'staging-next' into stagingJan Tojnar2022-12-25
|\|
| * makeHardcodeGsettingsPatch: Support other constructorsJan Tojnar2022-12-19
| | | | | | | | | | In addition to `g_settings_new`, there are three other GSettings constructors: https://docs.gtk.org/gio/ctor.Settings.new.html
| * makeHardcodeGsettingsPatch: Add simple testsJan Tojnar2022-12-19
| |
* | Merge pull request #205944 from ncfavier/structured-attrs-envNaïm Favier2022-12-15
|\ \
| * | tests.stdenv: check that attrs in env are exportedArtturin2022-12-15
| | |
| * | stdenv: handle `env` gracefullyNaïm Favier2022-12-15
| | | | | | | | | | | | | | | | | | | | | | | | Derivations not using `__structuredAttrs` should not attempt to set environment variables from `env`. Derivations using `__structuredAttrs` should fail if `env` is not exportable.
* | | stdenv: sort defaultNativeBuildInputs alphabeticallyArtturin2022-12-13
| | |
* | | tests.stdenv.hooks: add more testsArtturin2022-12-12
| | |
* | | tests: move stdenv hook tests to stdenv.hooksArtturin2022-12-12
| | |
* | | tests.stdenv: add test-golden-example-structuredAttrsArtturin2022-12-12
|/ / | | | | | | | | | | | | | | | | | | examples copied from https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/ nix has tests for structuredAttrs but i figured it'd be good to have a golden test here too https://github.com/NixOS/nix/blob/master/tests/structured-attrs.nix https://github.com/NixOS/nix/blob/master/tests/structured-attrs-shell.nix
* | Merge pull request #175649 from Artturin/opt-in-structured-attrsRobert Hensing2022-12-10
|\ \ | | | | | | stdenv: support opt-in __structuredAttrs
| * | stdenv: detect the type of variable in {prepend,append}ToVarArtturin2022-12-10
| | | | | | | | | | | | | | | | | | stdenv: error if using {prepend,append}ToVar on associative array i don't know how to prepend to associative array
| * | tests.stdenv: add tests for prependToVar and appendToVarArtturin2022-12-10
| | |
| * | tests.stdenv: deduplicateArtturin2022-12-10
| | |
| * | treewide: source .attrs in buildersArtturin2022-12-08
| | | | | | | | | | | | | | | | | | if theres a source $stdenv then this is needed for structuredAttrs
| * | tests.stdenv: add some env attrset testsArtturin2022-12-08
| | |
* | | Merge pull request #204692 from Artturin/relative-links-fix-errorArtturi2022-12-09
|\ \ \ | |_|/ |/| | make-symlinks-relative: fix no such file or directory if output is cr…
| * | tests.hooks.default-stdenv-hooks.make-symlinks-relative: initArtturin2022-12-09
| |/
* | vim-full: rename from vim_configurableNaïm Favier2022-12-09
| | | | | | | | | | Avoids confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration).
* | cue: test in tests.cue-validationJörg Thalheim2022-12-08
|/
* Merge pull request #182250 from Artturin/fetchpatch2Robert Hensing2022-12-01
|\ | | | | fetchpatch2: init
| * fetchpatch2: initArtturin2022-07-20
| | | | | | | | | | | | | | allows us to use the new features of patchutils without having to reset all fetchpatch hashes in nixpkgs https://github.com/NixOS/nixpkgs/issues/32084
* | tests.trivial-builders.linkFarm: initBernardo Meurer2022-11-15
| |
* | cuda-library-samples.cutensor: fixThomas Watson2022-10-21
| | | | | | | | | | | | Previously, the cutensor samples could not find the libcutensor.so.1 shared library at runtime. This patch adds cutensor as a buildInput so the shared library is linked in properly.