summary refs log tree commit diff
path: root/pkgs/test
Commit message (Collapse)AuthorAge
* neovim.tests: added more testsMatthieu Coudron2021-06-09
| | | | | | to check for creation of vi/vim aliases. These tests also now follow the coding conventions of having tests in passthru.test .
* neovim: add some testsMatthieu Coudron2021-06-07
| | | | | | | | To test the generated RC is included in the file and that we have the option not to wrap the RC. run: nix-build -A tests.vim
* neovim: fix neovim.override (#124785)Matthieu Coudron2021-05-29
| | | | | | * neovim: temporary revert to unbreak user configs Newly introduced "plugins" parameter is disabled until we get a better testing infrastructure to minimize breaking changes.
* Merge pull request #122158 from danieldk/import-cargo-lockDaniël de Kok2021-05-28
|\ | | | | rustPlatform.buildRustPackage: support direct use of Cargo.lock
| * rustPlatform.importCargoLock: add test cases for importCargoLockDaniël de Kok2021-05-28
| |
* | wrapNeovimUnstable: accept a wrapRc booleanMatthieu Coudron2021-05-25
| | | | | | | | | | | | | | additional argument not generated by makeNeovimConfig If true (the default), appends "-u <customRc>" to the wrapped arguments. Set to false if you want to control where to save the generated config (e.g., in ~/.config/init.vim or project/.nvimrc)
* | neovimUtils: makeNeovimConfig accepts plugins/customRcMatthieu Coudron2021-05-25
| | | | | | | | mimics home-manager interface and makes it easier to associate configs with plugins. Added a test as well.
* | Merge remote-tracking branch 'origin/master' into staging-nextJonathan Ringer2021-05-17
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/tools/rust/cargo-cache/default.nix pkgs/development/tools/rust/cargo-embed/default.nix pkgs/development/tools/rust/cargo-flash/default.nix pkgs/servers/nosql/influxdb2/default.nix
| * | writeDirectReferencesToFile: initRobert Hensing2021-05-15
| | |
* | | treewide: fix cargoSha256/cargoHashDaniël de Kok2021-05-08
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
* | Merge branch 'master' into haskell-updatesMalte Brandy2021-05-07
|\|
| * tests.texlive.dvipng: apply recurseIntoAttrsDmitry Kalinkin2021-05-02
| |
* | tests.haskell-setBuildTarget: inline haskell package def to avoid IFD(cdep)illabout2021-05-02
| |
* | Add haskell.lib.setBuiltTarget, and support non library compiling of a ↵Isaac Shapira2021-05-02
| | | | | | | | single target
* | tests.haskell.shellFor: use writeText instead of toFilesternenseemann2021-05-01
| |
* | tests.haskell.shellFor: replace database-id-class with linearsternenseemann2021-05-01
| | | | | | | | | | | | Contrary to database-id-class, linear is part of stackage and actively maintained, so the test is less likely to fail due to version constraint issues as it is currently.
* | tests.haskell*: move into tests.haskell setsternenseemann2021-05-01
|/ | | | | This will make it easier to add all haskell related tests to the haskell hydra jobset without updating a list of tests in two places.
* tests.vim: init (moved from vim-utils.nix) (#119467)Matthieu Coudron2021-04-21
| | | | | | | | | | | | | | | | | * tests.vim: init (moved from vim-utils.nix) Moved tests from pkgs/misc/vim-plugins/vim-utils.nix to pkgs/test/vim. Also reduced the amount of generated config: - Make it possible to have an empty config when configured adequately - removed default vim config when using native packages, it could be source of bugs see linked issues (syntax on overrides vim highlights) Things to watch out for: - if you set configure.beforePlugins yourself, you will need to add set nocompatible too not to lose it - filetype indent plugin on | syn on is not enabled anymore by default for the vim-plug installer: I dont think we should override vim defualts, at least not here since it is shared with neovim. Also sometimes it's enabled before plugins (pathogen etc,) which is not consistent. you can run the tests via $ nix-build -A tests.vim
* cudatoolkit-{9,9_0,9_1,9_2}: removeDaniël de Kok2021-04-18
| | | | | | | | | | | Remove old CUDA toolkits (and corresponding CuDNN versions). - Not supported by upstream anymore. - We do not use them in nixpkgs. - We do not test or actively maintain them. - Anything but ancient GPUs is supported by newer toolkits. Fixes #107131.
* texlive.bin.dvipng: refactor gs hardcoding, add a test for itDmitry Kalinkin2021-03-18
|
* maintainers-list: obsidian-systems-maintenanceJohn Ericson2021-03-17
| | | | Fix mispelling. That word always breaks me...
* tests.cude.cuda-library-samples.cutensor: init at same version as othersJohn Ericson2021-03-17
|
* tests.cude.cuda-library-samples.{cublas,cusolver}: init at masterJohn Ericson2021-03-17
| | | | | Well, strictly speaking, master + https://github.com/NVIDIA/CUDALibrarySamples/pull/29
* tests.cuda.cuda-sample_*: Init at supported CUDA toolkit versionsJohn Ericson2021-03-17
| | | | | | Since CUDA is unfree, we won't actually use this when testing Nixpkgs officially. But I want to include this as they are useful for users of Nixpkgs trying to set up / debug a CUDA environment.
* tests.patch-shebangs: add case for ignoring store pathsAndrew Childs2021-02-09
|
* treewide: remove stdenv where not neededPavol Rusnak2021-01-25
|
* treewide: stdenv.lib -> libPavol Rusnak2021-01-24
|
* bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-27
|
* Revert "bintools-wrapper: skip dynamic linker for static binaries"Vladimír Čunát2020-12-21
| | | | | | | This reverts commit ccfd26ef14ea213320f0b49db3fb347785b38f06. These toolchain changes are too problematic, so reverting for now; see https://github.com/NixOS/nixpkgs/pull/107086#issuecomment-749196366
* Merge master into staging-nextgithub-actions[bot]2020-12-20
|\
| * buildRustCrateTests: Move to tests.buildRustCrateJohn Ericson2020-12-19
| | | | | | | | I think it is preferable to separate the tests from the "real" packages.
* | tests.cc-wrapper: disable static compilation macOSJörg Thalheim2020-12-14
| | | | | | | | macOS does not support this
* | bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-14
|/ | | | | | | | 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.
* rust: Clean up target configs and test some moreJohn Ericson2020-11-28
| | | | | See the new docs for details. The difference is vis-a-vis older versions of this PR, not master.
* Merge remote-tracking branch 'upstream/master' into aj-rust-custom-targetJohn Ericson2020-11-28
|\
| * haskell: Add documentationTarball to libJoe Hermaszewski2020-11-13
| |
| * Recover the complicated situation after my bad mergeVladimír Čunát2020-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"Vladimír Čunát2020-10-25
| | | | | | | | | | | | | | I'm sorry; I didn't notice it contained staging commits. This reverts commit 17f5305b6c20df795c365368d2d868266519599e, reversing changes made to a8a018ddc0a8b5c3d4fa94c94b672c37356bc075.
| * Merge branch 'staging-next' into stagingJan Tojnar2020-10-11
| |\
| * | installShellFiles: Add test suiteLily Ballard2020-10-08
| | |
* | | fix whitespaceAaron Janse2020-10-17
| | |
* | | remove trailing periodAaron Janse2020-10-17
| | |
* | | add `meta` to rust-sysroot testAaron Janse2020-10-17
| | |
* | | add testAaron Janse2020-10-17
| |/ |/|
* | tests.texlive: initDmitry Kalinkin2020-10-06
|/
* tests.haskell-shellFor: get compiling again(cdep)illabout2020-09-25
|
* stdenv: make -nostdinc work as intendedJörg Thalheim2020-07-23
| | | | | Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
* Merge pull request #84032 from teto/fix_kernel_mergeFlorian Klink2020-05-22
|\ | | | | Fix kernel configuration merge
| * kernel: fix config generationMatthieu Coudron2020-04-01
| | | | | | | | | | | | Addresses https://github.com/NixOS/nixpkgs/issues/71803: Kernel options are not merged as described, especially the "optional" aspects. The error silences legitimate warnings.
* | pkg-config-wrapper: InitJohn Ericson2020-05-16
| | | | | | | | This fixes longstanding build issues