summaryrefslogtreecommitdiff
path: root/pkgs/test (follow)
Commit message (Expand)AuthorAgeFilesLines
* stdenv: make -nostdinc work as intended•••Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc. Jörg Thalheim2020-07-233-0/+17
* Merge pull request #84032 from teto/fix_kernel_merge•••Fix kernel configuration mergeFlorian Klink2020-05-221-31/+57
|\
| * kernel: fix config generation•••Addresses https://github.com/NixOS/nixpkgs/issues/71803: Kernel options are not merged as described, especially the "optional" aspects. The error silences legitimate warnings. Matthieu Coudron2020-04-011-31/+57
* | pkg-config-wrapper: Init•••This fixes longstanding build issues John Ericson2020-05-161-0/+14
* | cross/tests: Use `crossPkgs.runCommand` so we have `strictDeps`John Ericson2020-05-161-1/+1
|/
* tests.nixos-functions: port test to pythonworldofpeace2020-02-091-1/+1
* llvm_4: removeLuka Blaskovic2020-01-301-2/+0
* llvm_39: removeLuka Blaskovic2020-01-301-2/+0
* Merge remote-tracking branch 'obsidiansystems/work-on-multi-shellFor'Matthew Bauer2020-01-172-0/+26
|\
| * shellFor: Refactor for consistency and cross•••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. Jacquin Mininger2020-01-172-0/+26
* | tests.cc-wrapper-{clang,libcxx}-{8,9}: add stdenv tests for LLVM 8, 9Will Dietz2019-09-191-0/+4
|/
* treewide: remove redundant recvolth2019-08-281-1/+1
* treewide: use dontUnpackworldofpeace2019-07-012-4/+4
* treewide: remove unused variables (#63177)•••* treewide: remove unused variables * making ofborg happy volth2019-06-161-1/+1
* all-packages/test: add gcc9Stdenv, cc-wrapper-gcc9•••Follow up from #60860. Signed-off-by: Austin Seipp <aseipp@pobox.com> Austin Seipp2019-05-071-0/+1
* wasm: init cross target•••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. Matthew Bauer2019-04-231-5/+4
* cross/tests: add llvm-based testsMatthew Bauer2019-02-261-20/+24
* llvm: support cross compilation with useLLVM flag•••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? Matthew Bauer2019-02-261-0/+6
* linux: added tests for the configMatthieu Coudron2019-01-282-0/+55
* Merge pull request #50212 from matthewbauer/host-emulator•••Add "emulator" function to systemsMatthew Bauer2018-11-291-26/+36
|\
| * treewide: add emulator to platform•••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. Matthew Bauer2018-11-291-26/+36
* | Merge pull request #49290 from krebs/nix-writers•••get nix-writers into nixpkgsJörg Thalheim2018-11-271-0/+2
|\ \
| * | build-support writers: add testslassulus2018-11-271-0/+2
| |/
* | pkgs/test/nixos-functions: use dummy versioning•••With this OfBorg and similar tools won't report this derivation as changed every single time. Jan Malakhovski2018-11-191-1/+9
* | pkgs/test/nixos-functions: Add inline docRobert Hensing2018-11-131-0/+11
* | tests: Don't use pkgs.extend. OfBorg will reject it.•••The good news is that it worked as expected. Robert Hensing2018-11-131-13/+3
* | Add tests for pkgs.nixos and pkgs.nixosTestRobert Hensing2018-11-132-0/+34
|/
* Remove openftd•••It never worked, never was added as an attribute and the website is dead. Jan Tojnar2018-10-211-49/+0
* Merge branch 'master' into staging•••Hydra: ?compare=1480463 Vladimír Čunát2018-09-241-0/+2
|\
| * tests: add variants for llvm7Will Dietz2018-09-231-0/+2
* | top-level/release.nix: add patchShebangs test•••This is currently failing but nobody noticed!Dan Peebles2018-09-162-0/+28
|/
* pkgs/tests: Add test for LD_LIBRARY_PATH•••The latest binutils upgrade silently broke this until it was fixed by https://github.com/NixOS/nixpkgs/pull/43531. So add a test. Tuomas Tynkkynen2018-08-012-0/+90
* tests: add some cross testsMatthew Bauer2018-07-212-0/+82
* Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-06-181-2/+4
|\
| * tests.cc-wrapper: Fix sanitizer condition•••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. John Ericson2018-06-181-2/+4
* | llvm 5: split out compiler-rt and remove libcxxabi dep•••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. John Ericson2018-06-141-1/+1
|/
* llvm 6: Fix libcxxabi impurity and darwin sanitizersJohn Ericson2018-06-141-1/+1
* tests.cc-wrapper: do not test sanitizers on darwin•••They are not supported yet. https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350 Orivej Desh2018-06-061-1/+2
* tests.cc-wrapper: skip known-broken sanitizer casesBenjamin Saunders2018-05-301-7/+13
* clang_6: fix sanitizers under libstdc++Benjamin Saunders2018-05-241-2/+0
* tests.cc-wrapper: verify building with sanitizersBenjamin Saunders2018-05-242-0/+13
* tests: move to attribute setMatthew Bauer2018-05-101-0/+26
* tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-251-2/+2
* sierra-shared-test: fix build•••Using 500 libraries started failing with clang++: Argument list too long This is enough to reproduce the issue. Daiderd Jordan2018-01-051-3/+4
* Add clang multilib variants (x64_64-only, 64/32bit), basic multilib testsWill Dietz2017-12-051-0/+37
* treewide: Use `*Platform.extensions`John Ericson2017-09-132-9/+14
* nixpkgs-tests: add basic test for buildInputsDaiderd Jordan2017-09-106-0/+104
* nixpkgs-tests: add basic test for cc-wrapperDaiderd Jordan2017-09-107-0/+92
* macos-sierra-shared: Make live code and add to nascent Darwin channel•••Also add appropriate `meta.platforms = ...` to each derivation. John Ericson2017-07-311-4/+23
* cc-wrapper-test: Use `$CXX` else the C++ std lib won't be on the include pathJohn Ericson2017-07-311-1/+1