github-actions[bot]
b48679133a
Merge staging-next into staging
2022-12-25 12:01:40 +00:00
Nick Cao
e419aa8283
cc-wrapper-test: add workaround for asan allocation error
...
Miminal program fail with address sanitizer error failed to allocate 0x0 (0) bytes of SetAlternateSignalStack
https://bugzilla.redhat.com/show_bug.cgi?id=1950244
2022-12-25 09:19:28 +01:00
Nick Cao
42cd6aebe4
cc-wrapper-test: do not test sanitizers when cross compiling
2022-12-25 09:19:28 +01:00
Nick Cao
8643dbc57e
cc-wrapper-test: do not test sanitizers on darwin
2022-12-25 09:19:28 +01:00
Nick Cao
57ff6191af
cc-wrapper-test: support cross compilers
2022-12-25 09:19:28 +01:00
Jan Tojnar
72c37eddec
Merge branch 'staging-next' into staging
2022-12-25 01:30:47 +01:00
Jan Tojnar
4346dee424
makeHardcodeGsettingsPatch: Support other constructors
...
In addition to `g_settings_new`, there are three other GSettings constructors:
https://docs.gtk.org/gio/ctor.Settings.new.html
2022-12-19 17:38:57 +01:00
Jan Tojnar
98e84e79a9
makeHardcodeGsettingsPatch: Add simple tests
2022-12-19 17:38:56 +01:00
Naïm Favier
84eebc0fe4
Merge pull request #205944 from ncfavier/structured-attrs-env
2022-12-15 13:27:54 +01:00
Artturin
9b1e8d7267
tests.stdenv: check that attrs in env are exported
2022-12-15 13:27:11 +01:00
Naïm Favier
e14de22618
stdenv: handle env
gracefully
...
Derivations not using `__structuredAttrs` should not attempt to set
environment variables from `env`.
Derivations using `__structuredAttrs` should fail if `env` is not
exportable.
2022-12-15 13:27:11 +01:00
Artturin
630bb71ac5
stdenv: sort defaultNativeBuildInputs alphabetically
2022-12-13 01:12:20 +02:00
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