about summary refs log tree commit diff
path: root/pkgs/test
AgeCommit message (Collapse)AuthorFilesLines
2022-06-04pkgs/test/cuda/cuda-samples/generic.nix: use new SRI hash formatAndersonTorres1-10/+6
2022-06-04buildDhallUrl: use new SRI hash formatAndersonTorres1-1/+1
2022-06-02Merge pull request #175317 from ncfavier/makeBinaryWrapper-crossRick van Schijndel2-26/+55
makeBinaryWrapper: fix cross-compilation and add test
2022-05-31makeBinaryWrapper: fix cross-compilation and add testNaïm Favier2-26/+55
Fixes https://github.com/NixOS/nixpkgs/issues/175045
2022-05-29pkgs/tests/config.nix: Make test future proofRobert Hensing1-6/+9
2022-05-29pkgs.tests: Add regression test for #175196Robert Hensing2-0/+23
2022-05-23Merge remote-tracking branch 'origin/staging-next'Janne Heß1-1/+9
* origin/staging-next: (62 commits) Re-Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)" openldap: fix cross-compilation makeBinaryWrapper: fix codesign on aarch64-darwin python3Packages.ldap: fix linking with openldap 2.5+ Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)" wine: enable parallel build again pkgsi686Linux.gdb: fix formatting for 32-bit systems gtk4: Fix incorrect merge nixos/openldap: use upstream unit defaults openldap: update maintainers openldap: 2.4.58 -> 2.6.2 Revert "Add mingwW64-llvm cross-system." lua: fix on darwin by using makeBinaryWrapper (#172749) python310Packages.python-mimeparse: execute tests pandas: fix darwin build gtk3: 3.24.33 -> 3.24.33-2022-03-11 gtk4: patch fixing g-c-c crashes e2fsprogs: patch for CVE-2022-1304 firefox-unwrapped: fix cross compilation rustc: expose correct llvmPackages for cross compile ...
2022-05-22fetchzip: extraPostFetch -> postFetch && testsArtturin1-0/+1
2022-05-12makeBinaryWrapper: add commentNaïm Favier1-0/+2
2022-05-10makeBinaryWrapper: move into its own folderNaïm Favier1-1/+7
The derivation is complex enough to warrant moving out of all-packages.nix
2022-05-09Merge remote-tracking branch 'upstream/master' into testersRobert Hensing5-0/+31
2022-05-09tests.testers.nixosTest-example: move from tests.nixos-functions.nixosTest-testRobert Hensing2-11/+2
And improve the test a bit, to assert correct wiring of `pkgs`.
2022-05-09treewide: nixosTest -> testers.nixosTestRobert Hensing1-1/+1
2022-05-06makeBinaryWrapper: add overlength-strings testNaïm Favier4-0/+30
2022-05-05nixos-functions: Set system.stateVersionJanne Heß1-0/+2
2022-05-05testers.nixosTest: Move from top-level and improve docsRobert Hensing1-1/+1
2022-04-09cudaPackages: overhaul of how we package cuda packagesFrederik Rietdijk5-109/+26
There are many different versions of the `cudatoolkit` and related cuda packages, and it can be tricky to ensure they remain compatible. - `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist"); - expressions should now use `cudaPackages` as parameter instead of the individual cuda packages; - `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version; - `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-01Merge master into staging-nextgithub-actions[bot]1-0/+2
2022-04-01tests: Add pkgs-libRobert Hensing1-0/+2
Makes the following work ofborg build tests.pkgs-lib
2022-03-31Merge master into staging-nextgithub-actions[bot]1-1/+1
2022-03-28pkgs.tests.nixos-functions: machine -> nodes.machineRobert Hensing1-1/+1
2022-03-25Merge master into staging-nextgithub-actions[bot]6-165/+0
2022-03-25Merge pull request #164651 from Infinisil/remove-optionSetSilvan Mosberger6-165/+0
lib/modules: Finally remove deprecated types.optionSet
2022-03-25Merge branch 'master' into staging-nextVladimír Čunát1-3/+3
2022-03-21Merge remote-tracking branch 'upstream/master' into tests-restrict-argumentsRobert Hensing1-0/+11
2022-03-21tests.nixos-functions.nixosTest-test: Test callPackage-like behaviorRobert Hensing1-3/+3
2022-03-21Merge branch 'staging-next' into stagingVladimír Čunát1-0/+11
2022-03-20Merge pull request #164305 from ↵Robert Hensing1-0/+11
hercules-ci/haskellPackages-shellFor-extraDependencies haskellPackages.shellFor: Add extraDependencies
2022-03-18Remove ancient mkOption testsSilvan Mosberger6-165/+0
These are completely non-functional by now
2022-03-15haskellPackages.shellFor: Add extraDependenciesRobert Hensing1-0/+11
An example use case is when you have Haskell scripts that use libraries that don't occur in your packages' dependencies.
2022-03-10build-support/writeTextFile: add test for weird file namesK9001-0/+1
2022-02-12makeWrapper: Don't glob in prefix/suffixtalyz1-0/+3
Disable file globbing in --prefix/--suffix, since bash will otherwise try to find filenames matching the the value to be prefixed/suffixed if it contains characters considered wildcards, such as `?` and `*`. We want the value as is, except we also want to split it on on the separator; hence we can't quote it.
2022-02-02tests: Add test for makeWrappertalyz2-0/+138
Co-authored-by: Janne Heß <janne@hess.ooo>
2022-01-20neovim.tests: remove aliasSandro1-1/+1
2022-01-08Merge pull request #147690 from pasqui23/hostsRobert Hensing1-0/+1
concatTextFile: init
2021-12-30concatText: test now worksPasquale1-0/+1
2021-12-20Merge pull request #151411 from hercules-ci/pkgs-tests-fetchRobert Hensing1-0/+4
pkgs.tests: Add fetcher tests so ofborg can run them
2021-12-20pkgs.tests: Add fetcher tests so ofborg can run themRobert Hensing1-0/+4
2021-12-16makeBinaryWrapper: Fix issues on aarch64-darwin/macOS 12 (Monterey)Tobias Bergkvist1-1/+1
Sanitizers don't seem to be present on aarch64-darwin/macOS 12 (Monterey), so they are removed from the aarch64-darwin tests. Switching from nativeBuildInputs to buildInputs and adding cc to the deps list caused some strange error messages to go away.
2021-12-16makeBinaryWrapper: Fix chdir golden test for darwinTobias Bergkvist4-4/+4
On macOS, /tmp is a symlink to /private/tmp. When performing cd /tmp, and checking cwd - it won't match since it follows the symlink. This caused test breakage on macOS but not Linux. Instead, use a folder which is not a symlink, and consistent across Linux and macOS.
2021-12-16makeBinaryWrapper: Make tests discoverable to OfBorgTobias Bergkvist1-2/+0
Move makeBinaryWrapper tests to pkgs.makeBinaryWrapper.passthru.tests, since OfBorg doesn't discover/skips the tests in the previous location.
2021-12-10Merge pull request #124556 from bergkvist/bergkvist/make-c-wrapperRobert Hensing32-0/+318
Generate tiny compiled binary for wrapping executables
2021-12-09make-binary-wrapper: Add -Wall -Werror -WpedanticJacek Galowicz1-1/+1
2021-12-09make makeWrapper and makeBinaryWrapper drop-in-replaceableJacek Galowicz1-2/+2
2021-12-09Inject gcc path into makewrapper scriptJacek Galowicz1-2/+2
2021-12-09Add golden effects testJacek Galowicz32-172/+145
2021-12-07tests.dhall.generateDhallDirectoryPackage: init(cdep)illabout2-0/+18
2021-12-02Add tests for `--inherit-argv0` and `--chdir DIR`Tobias Bergkvist3-4/+29
2021-12-01Replace concat3 with asprintf in set_env_prefix and set_env_suffix.Tobias Bergkvist3-59/+40
2021-12-01Switch from malloc to calloc in addFlagsTobias Bergkvist2-2/+2