Artturin
60b1f09aa4
tests.stdenv.hooks: add more tests
2022-12-12 21:39:56 +02:00
Artturin
9cb5662187
tests: move stdenv hook tests to stdenv.hooks
2022-12-12 21:39:56 +02:00
Artturin
84a7cadfd2
tests.stdenv: add test-golden-example-structuredAttrs
...
examples copied from https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/
nix has tests for structuredAttrs but i figured it'd be good to have a
golden test here too
https://github.com/NixOS/nix/blob/master/tests/structured-attrs.nix
https://github.com/NixOS/nix/blob/master/tests/structured-attrs-shell.nix
2022-12-12 21:39:56 +02:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
...
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Artturin
11c3127e38
stdenv: detect the type of variable in {prepend,append}ToVar
...
stdenv: error if using {prepend,append}ToVar on associative array
i don't know how to prepend to associative array
2022-12-10 04:42:36 +02:00
Artturin
bf972f1873
tests.stdenv: add tests for prependToVar and appendToVar
2022-12-10 04:22:11 +02:00
Artturin
68fb254bf2
tests.stdenv: deduplicate
2022-12-10 04:22:11 +02:00
Artturi
91d19a6e66
Merge pull request #204692 from Artturin/relative-links-fix-error
...
make-symlinks-relative: fix no such file or directory if output is cr…
2022-12-09 19:27:41 +02:00
Naïm Favier
4e5ebcc3ed
vim-full: rename from vim_configurable
...
Avoids confusion: `vim-full`'s build-time features are configurable, but both
`vim` and `vim-full` are *customizable* (in the sense of user configuration).
2022-12-09 09:55:55 +01:00
Artturin
11b49fa791
tests.hooks.default-stdenv-hooks.make-symlinks-relative: init
2022-12-09 08:57:14 +02:00
Jörg Thalheim
09dcdf4e4e
cue: test in tests.cue-validation
2022-12-08 22:19:23 +01:00
Artturin
c01f509e44
treewide: source .attrs in builders
...
if theres a source $stdenv then this is needed
for structuredAttrs
2022-12-08 21:09:02 +02:00
Artturin
18d00c5814
tests.stdenv: add some env attrset tests
2022-12-08 21:09:02 +02:00
Robert Hensing
c2f071abc2
Merge pull request #182250 from Artturin/fetchpatch2
...
fetchpatch2: init
2022-12-01 01:31:46 +00:00
Bernardo Meurer
43bf542ccd
tests.trivial-builders.linkFarm: init
2022-11-15 11:47:36 -05:00
Thomas Watson
4784cdb28b
cuda-library-samples.cutensor: fix
...
Previously, the cutensor samples could not find the libcutensor.so.1
shared library at runtime. This patch adds cutensor as a buildInput so
the shared library is linked in properly.
2022-10-21 21:27:48 -05:00
David Guibert
8a63fb0236
cuda-samples: 11.8 throw the non-existing tag
2022-10-14 12:10:30 +02:00
David Guibert
4f43356eb7
cuda-samples: throw an error for tag 11.7
2022-10-04 08:29:08 +02:00
David Guibert
df956cf4c1
Revert "Revert "cudatoolkit_11_7: init at 11.7.0""
...
This reverts commit 90c505790c
.
2022-10-04 08:26:28 +02:00
Dennis Gosnell
49e6d1b813
tests.coq.overrideCoqDerivation: use runCommand instead of runCommandNoCC
2022-09-03 21:02:17 +09:00
Dennis Gosnell
7efd4aa67c
tests.coq.overrideCoqDerivation: add test
2022-08-29 14:46:20 +09:00
Samuel Ainsworth
90c505790c
Revert "cudatoolkit_11_7: init at 11.7.0"
2022-08-05 15:12:47 -07:00
Samuel Ainsworth
a53c2775d7
Merge pull request #179912 from dguibert/dg/cudatoolkit_11_7_0
...
cudatoolkit_11_7: init at 11.7.0
2022-08-05 14:45:59 -07:00
David Guibert
b139e331a4
cudatoolkit: add 11.7
2022-08-02 16:20:07 +02:00
Artturin
41877098f3
fetchpatch2: init
...
allows us to use the new features of patchutils without having to reset
all fetchpatch hashes in nixpkgs
https://github.com/NixOS/nixpkgs/issues/32084
2022-07-20 22:47:14 +03:00
Matthieu Coudron
341b9564bb
vimUtils: remove vam support
...
having this many (complex) options not only is hard to maintain but I cant see the benefit of these options now that vim supports packages
2022-07-10 20:38:09 +02:00
Robert Hensing
1e17bb943e
Merge pull request #164662 from infinisil/fetchurl-curlOpts-list
...
fetchurl: Allow passing curl options with spaces
2022-06-30 21:10:57 +02:00
Silvan Mosberger
588439e131
fetchurl: Add curlOptsList test
2022-06-30 19:49:54 +02:00
Robert Hensing
d64780ea0e
Merge pull request #174176 from hercules-ci/buildFromCabalSdist
...
haskellPackages: Add buildFromCabalSdist (faster, tested)
2022-06-28 10:06:27 +02:00
github-actions[bot]
15c142e5c0
Merge staging-next into staging
2022-06-13 18:02:13 +00:00
Matthieu Coudron
a1ad235743
vimUtils: deprecate configure.pathogen ( #154814 )
...
pathogen does not bring any value compared to vim native packages so
remove it to ease maintainance burden.
2022-06-13 15:25:46 +02:00
Thiago Kenji Okada
299538e834
Merge pull request #172769 from ncfavier/wrappers-append-args
...
makeWrapper,makeBinaryWrapper: implement `--append-flags`
2022-06-12 11:46:03 +01:00
AndersonTorres
c428ad43d1
pkgs/test/cuda/cuda-samples/generic.nix: use new SRI hash format
2022-06-04 08:19:29 -03:00
AndersonTorres
71834a1a26
buildDhallUrl: use new SRI hash format
2022-06-04 08:19:29 -03:00
Rick van Schijndel
17e891b141
Merge pull request #175317 from ncfavier/makeBinaryWrapper-cross
...
makeBinaryWrapper: fix cross-compilation and add test
2022-06-02 22:27:14 +02:00
Naïm Favier
eef2c762ce
makeBinaryWrapper: fix cross-compilation and add test
...
Fixes https://github.com/NixOS/nixpkgs/issues/175045
2022-05-31 13:55:41 +02:00
Naïm Favier
1c70b694fe
makeWrapper,makeBinaryWrapper: implement --append-flags
2022-05-30 23:07:58 +02:00
Robert Hensing
28f9043aa9
pkgs/tests/config.nix: Make test future proof
2022-05-29 11:50:48 +02:00
Robert Hensing
523eb4a181
pkgs.tests: Add regression test for #175196
2022-05-29 10:23:16 +02:00
Robert Hensing
392fba1132
pkgs.tests.haskell.cabalSdist: Avoid IFD
2022-05-24 13:23:19 +02:00
Robert Hensing
cf5e2d5103
haskellPackages: Add buildFromCabalSdist (faster, tested)
2022-05-23 22:28:57 +02:00
Janne Heß
3673f148b3
Merge remote-tracking branch 'origin/staging-next'
...
* 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-23 19:56:59 +02:00
Artturin
5a6a31e54d
fetchzip: extraPostFetch -> postFetch && tests
2022-05-22 21:18:52 +03:00
Naïm Favier
3e385d9a82
makeBinaryWrapper: add comment
2022-05-12 15:23:38 +02:00
Naïm Favier
0d6bcb513b
makeBinaryWrapper: move into its own folder
...
The derivation is complex enough to warrant moving out of
all-packages.nix
2022-05-10 22:07:56 +02:00
Robert Hensing
ebf0465d09
Merge remote-tracking branch 'upstream/master' into testers
2022-05-09 14:27:13 +02:00
Robert Hensing
93abb7bef7
tests.testers.nixosTest-example: move from tests.nixos-functions.nixosTest-test
...
And improve the test a bit, to assert correct wiring of `pkgs`.
2022-05-09 14:21:56 +02:00
Robert Hensing
ae172a2bb4
treewide: nixosTest -> testers.nixosTest
2022-05-09 14:16:06 +02:00
Naïm Favier
69c7dbb880
makeBinaryWrapper: add overlength-strings test
2022-05-06 17:03:30 +02:00
Janne Heß
0329256fd8
nixos-functions: Set system.stateVersion
2022-05-05 12:51:39 +02:00