summary refs log tree commit diff
path: root/pkgs/test
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'obsidiansystems/work-on-multi-shellFor'Matthew Bauer2020-01-17
|\
| * shellFor: Refactor for consistency and crossJacquin Mininger2020-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it work like work-on-multi from Reflex Platform. In particular, rather than making `.env` from `shellFor`, we make `.env` the primitive, and `shellFor` works by combining together the arguments of all the packages to `generic-builder` and taking the `.env` of the resulting mashup-package. There are 2 benefits of this: 1. The dependency logic is deduplicated. generic builder just concatted lists, whereas all the envs until now would sieve apart haskell and system build inputs. Now, they both decide haskell vs system the same way: according to the argument list and without reflection. Consistency is good, especially because it mean that if the build works, the shell is more likely to work. 2. Cross is handled better. For native builds, because the `ghcWithPackages` calls would shadow, we through both the regular component (lib, exe, test, bench) haskell deps and Setup.hs haskell deps in the same `ghcWithPackages` call. But for cross builds we use `buildPackages.ghcWithPackages` to get the setup deps. This ensures everything works correctly.
* | tests.cc-wrapper-{clang,libcxx}-{8,9}: add stdenv tests for LLVM 8, 9Will Dietz2019-09-19
|/
* treewide: remove redundant recvolth2019-08-28
|
* treewide: use dontUnpackworldofpeace2019-07-01
|
* treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | * treewide: remove unused variables * making ofborg happy
* all-packages/test: add gcc9Stdenv, cc-wrapper-gcc9Austin Seipp2019-05-07
| | | | | | Follow up from #60860. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* wasm: init cross targetMatthew Bauer2019-04-23
| | | | | | | | | Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs with a WebAssembly toolchain. stdenv/cross: use static overlay on isWasm isWasm doesn’t make sense dynamically linked.
* cross/tests: add llvm-based testsMatthew Bauer2019-02-26
|
* llvm: support cross compilation with useLLVM flagMatthew Bauer2019-02-26
| | | | | | | | | | | | You can build (partially) with LLVM toolchain using the useLLVM flag. This works like so: nix-build -A hello --arg crossSystem '{ system = "aarch64-unknown-linux-musl"; useLLVM = true }' also don’t separate debug info in lldClang It doesn’t work currently with that setup hook. Missing build-id?
* linux: added tests for the configMatthieu Coudron2019-01-28
|
* Merge pull request #50212 from matthewbauer/host-emulatorMatthew Bauer2018-11-29
|\ | | | | Add "emulator" function to systems
| * treewide: add emulator to platformMatthew Bauer2018-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can use stdenv.hostPlatform.emulator to get an executable that runs cross-built binaries. This could be any emulator. For instance, we use QEMU to emulate Linux targets and Wine to emulate Windows targets. To work with qemu, we need to support custom targets. I’ve reworked the cross tests in pkgs/test/cross to use this functionality. Also, I’ve used talloc to cross-execute with the emulator. There appears to be a cross-execute for all waf builds. In the future, it would be nice to set this for all waf builds. Adds stdenv.hostPlatform.qemuArch attrbute to get the qemuArch for each platform.
* | Merge pull request #49290 from krebs/nix-writersJörg Thalheim2018-11-27
|\ \ | | | | | | get nix-writers into nixpkgs
| * | build-support writers: add testslassulus2018-11-27
| |/
* | pkgs/test/nixos-functions: use dummy versioningJan Malakhovski2018-11-19
| | | | | | | | | | With this OfBorg and similar tools won't report this derivation as changed every single time.
* | pkgs/test/nixos-functions: Add inline docRobert Hensing2018-11-13
| |
* | tests: Don't use pkgs.extend. OfBorg will reject it.Robert Hensing2018-11-13
| | | | | | | | The good news is that it worked as expected.
* | Add tests for pkgs.nixos and pkgs.nixosTestRobert Hensing2018-11-13
|/
* Remove openftdJan Tojnar2018-10-21
| | | | It never worked, never was added as an attribute and the website is dead.
* Merge branch 'master' into stagingVladimír Čunát2018-09-24
|\ | | | | | | Hydra: ?compare=1480463
| * tests: add variants for llvm7Will Dietz2018-09-23
| |
* | top-level/release.nix: add patchShebangs testDan Peebles2018-09-16
|/ | | This is currently failing but nobody noticed!
* pkgs/tests: Add test for LD_LIBRARY_PATHTuomas Tynkkynen2018-08-01
| | | | | | | The latest binutils upgrade silently broke this until it was fixed by https://github.com/NixOS/nixpkgs/pull/43531. So add a test.
* tests: add some cross testsMatthew Bauer2018-07-21
|
* Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-06-18
|\
| * tests.cc-wrapper: Fix sanitizer conditionJohn Ericson2018-06-18
| | | | | | | | | | | | | | fc9644d4c9c9d29958e9bcf1676d48d4b3026bb4 accidentally enabled the sanitizer tests for GCC on Darwin, when fixing that case was never attempted. Also inverted the condition from broken to working for clarity.
* | llvm 5: split out compiler-rt and remove libcxxabi depJohn Ericson2018-06-14
|/ | | | | | | | We already did them on non-mass-rebuild llvm 6. Also, this allows simplifying the stdenv booting. We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that too.
* llvm 6: Fix libcxxabi impurity and darwin sanitizersJohn Ericson2018-06-14
|
* tests.cc-wrapper: do not test sanitizers on darwinOrivej Desh2018-06-06
| | | | | | They are not supported yet. https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350
* tests.cc-wrapper: skip known-broken sanitizer casesBenjamin Saunders2018-05-30
|
* clang_6: fix sanitizers under libstdc++Benjamin Saunders2018-05-24
|
* tests.cc-wrapper: verify building with sanitizersBenjamin Saunders2018-05-24
|
* tests: move to attribute setMatthew Bauer2018-05-10
|
* tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-25
|
* sierra-shared-test: fix buildDaiderd Jordan2018-01-05
| | | | | Using 500 libraries started failing with clang++: Argument list too long This is enough to reproduce the issue.
* Add clang multilib variants (x64_64-only, 64/32bit), basic multilib testsWill Dietz2017-12-05
|
* treewide: Use `*Platform.extensions`John Ericson2017-09-13
|
* nixpkgs-tests: add basic test for buildInputsDaiderd Jordan2017-09-10
|
* nixpkgs-tests: add basic test for cc-wrapperDaiderd Jordan2017-09-10
|
* macos-sierra-shared: Make live code and add to nascent Darwin channelJohn Ericson2017-07-31
| | | | Also add appropriate `meta.platforms = ...` to each derivation.
* cc-wrapper-test: Use `$CXX` else the C++ std lib won't be on the include pathJohn Ericson2017-07-31
|
* cc-wrapper-test: Don't use assertJohn Ericson2017-07-31
|
* cc-wrapper-test: Forgot to `extern "C"` now that main is C++John Ericson2017-07-31
|
* cc-wrapper: Beef up sierra tests to actually use functionsJohn Ericson2017-07-31
|
* cc-wrapper: WIP linking hack for mac OSJohn Ericson2017-07-31
| | | | | Probably best to override Haskell packages set, or anything else linking a lot of libraries, with this.
* Remove cruftEelco Dolstra2016-04-26
|
* Merge branch 'master' into closure-sizeVladimír Čunát2016-04-01
|\ | | | | | | | | Beware that stdenv doesn't build. It seems something more will be needed than just resolution of merge conflicts.
| * Replace references to all-packages.nix, by references to the top-level of ↵Nicolas B. Pierron2016-03-13
| | | | | | | | nixpkgs repository.
* | curl: split into multiple outputsVladimír Čunát2015-10-13
|/ | | | Also use pkgconfig to be safer and fix (some) referrers.