about summary refs log tree commit diff
path: root/pkgs/test
AgeCommit message (Collapse)AuthorFilesLines
2021-01-25treewide: remove stdenv where not neededPavol Rusnak2-2/+2
2021-01-24treewide: stdenv.lib -> libPavol Rusnak6-22/+22
2020-12-27bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim1-4/+19
2020-12-21Revert "bintools-wrapper: skip dynamic linker for static binaries"Vladimír Čunát1-19/+4
This reverts commit ccfd26ef14ea213320f0b49db3fb347785b38f06. These toolchain changes are too problematic, so reverting for now; see https://github.com/NixOS/nixpkgs/pull/107086#issuecomment-749196366
2020-12-20Merge master into staging-nextgithub-actions[bot]1-0/+1
2020-12-19buildRustCrateTests: Move to tests.buildRustCrateJohn Ericson1-0/+1
I think it is preferable to separate the tests from the "real" packages.
2020-12-14tests.cc-wrapper: disable static compilation macOSJörg Thalheim1-8/+11
macOS does not support this
2020-12-14bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim1-4/+16
Currently we set dynamic-linker unconditionally. This breaks however some static binaries i.e. rust binaries linked against musl. There is no reason we should set an elf interpreter for static binaries hence this is skipped if `-static` or `-static-pie` is either passed to our cc or ld wrapper.
2020-11-28rust: Clean up target configs and test some moreJohn Ericson1-23/+37
See the new docs for details. The difference is vis-a-vis older versions of this PR, not master.
2020-11-28Merge remote-tracking branch 'upstream/master' into aj-rust-custom-targetJohn Ericson3-0/+145
2020-11-13haskell: Add documentationTarball to libJoe Hermaszewski2-0/+18
2020-10-26Recover the complicated situation after my bad mergeVladimír Čunát2-0/+127
I made a mistake merge. Reverting it in c778945806b undid the state on master, but now I realize it crippled the git merge mechanism. As the merge contained a mix of commits from `master..staging-next` and other commits from `staging-next..staging`, it got the `staging-next` branch into a state that was difficult to recover. I reconstructed the "desired" state of staging-next tree by: - checking out the last commit of the problematic range: 4effe769e2b - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken merge commit and its revert from that range (while keeping reapplication from 4effe769e2) - merging the last unaffected staging-next commit (803ca85c209) - fortunately no other commits have been pushed to staging-next yet - applying a diff on staging-next to get it into that state
2020-10-25Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"Vladimír Čunát2-127/+0
I'm sorry; I didn't notice it contained staging commits. This reverts commit 17f5305b6c20df795c365368d2d868266519599e, reversing changes made to a8a018ddc0a8b5c3d4fa94c94b672c37356bc075.
2020-10-17fix whitespaceAaron Janse1-1/+1
2020-10-17remove trailing periodAaron Janse1-1/+1
2020-10-17add `meta` to rust-sysroot testAaron Janse1-1/+6
2020-10-17add testAaron Janse2-0/+43
2020-10-11Merge branch 'staging-next' into stagingJan Tojnar2-0/+68
2020-10-08installShellFiles: Add test suiteLily Ballard2-0/+127
2020-10-06tests.texlive: initDmitry Kalinkin2-0/+68
2020-09-25tests.haskell-shellFor: get compiling again(cdep)illabout1-7/+16
2020-07-23stdenv: make -nostdinc work as intendedJörg Thalheim3-0/+17
Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
2020-05-22Merge pull request #84032 from teto/fix_kernel_mergeFlorian Klink1-32/+58
Fix kernel configuration merge
2020-05-16pkg-config-wrapper: InitJohn Ericson1-0/+14
This fixes longstanding build issues
2020-05-16cross/tests: Use `crossPkgs.runCommand` so we have `strictDeps`John Ericson1-1/+1
2020-04-01kernel: fix config generationMatthieu Coudron1-32/+58
Addresses https://github.com/NixOS/nixpkgs/issues/71803: Kernel options are not merged as described, especially the "optional" aspects. The error silences legitimate warnings.
2020-02-09tests.nixos-functions: port test to pythonworldofpeace1-1/+1
2020-01-30llvm_4: removeLuka Blaskovic1-2/+0
2020-01-30llvm_39: removeLuka Blaskovic1-2/+0
2020-01-17Merge remote-tracking branch 'obsidiansystems/work-on-multi-shellFor'Matthew Bauer2-0/+26
2020-01-17shellFor: Refactor for consistency and crossJacquin Mininger2-0/+26
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.
2019-09-19tests.cc-wrapper-{clang,libcxx}-{8,9}: add stdenv tests for LLVM 8, 9Will Dietz1-0/+4
2019-08-28treewide: remove redundant recvolth1-1/+1
2019-07-01treewide: use dontUnpackworldofpeace2-4/+4
2019-06-16treewide: remove unused variables (#63177)volth1-1/+1
* treewide: remove unused variables * making ofborg happy
2019-05-07all-packages/test: add gcc9Stdenv, cc-wrapper-gcc9Austin Seipp1-0/+1
Follow up from #60860. Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-23wasm: init cross targetMatthew Bauer1-5/+4
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.
2019-02-26cross/tests: add llvm-based testsMatthew Bauer1-21/+25
2019-02-26llvm: support cross compilation with useLLVM flagMatthew Bauer1-0/+6
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?
2019-01-28linux: added tests for the configMatthieu Coudron2-0/+55
2018-11-29Merge pull request #50212 from matthewbauer/host-emulatorMatthew Bauer1-26/+36
Add "emulator" function to systems
2018-11-29treewide: add emulator to platformMatthew Bauer1-26/+36
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.
2018-11-27Merge pull request #49290 from krebs/nix-writersJörg Thalheim1-0/+2
get nix-writers into nixpkgs
2018-11-27build-support writers: add testslassulus1-0/+2
2018-11-19pkgs/test/nixos-functions: use dummy versioningJan Malakhovski1-1/+9
With this OfBorg and similar tools won't report this derivation as changed every single time.
2018-11-13pkgs/test/nixos-functions: Add inline docRobert Hensing1-0/+11
2018-11-13tests: Don't use pkgs.extend. OfBorg will reject it.Robert Hensing1-13/+3
The good news is that it worked as expected.
2018-11-13Add tests for pkgs.nixos and pkgs.nixosTestRobert Hensing2-0/+34
2018-10-21Remove openftdJan Tojnar1-49/+0
It never worked, never was added as an attribute and the website is dead.
2018-09-24Merge branch 'master' into stagingVladimír Čunát1-0/+2
Hydra: ?compare=1480463