Dmitry Kalinkin
f6e067692d
Merge pull request #119362 from xworld21/texlive-combine-fix-buildenv
...
texlive.combine: split static $TEXMFDIST into a separate derivation
2023-03-17 02:34:17 -04:00
Martin Weinelt
6b67186fe9
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/python-modules/crownstone-cloud/default.nix
- pkgs/development/python-modules/exrex/default.nix
- pkgs/development/python-modules/mkdocs-minify/default.nix
- pkgs/development/python-modules/myjwt/default.nix
- pkgs/development/tools/analysis/checkov/default.nix
2023-03-14 08:14:26 +01:00
Vincenzo Mantova
1f2ad5bcd4
tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz
2023-03-12 21:04:39 +00:00
Vladimír Čunát
1dd94ad62f
Merge branch 'master' into staging-next
2023-03-12 09:06:28 +01:00
apfelkuchen06
d4a78d5f09
texlive: add test for lualatex fonts
2023-03-08 23:37:01 +01:00
Martin Weinelt
bcf6c81a88
Merge remote-tracking branch 'origin/master' into staging-next
2023-03-06 16:55:14 +00:00
Someone Serge
5f4bdbe6c3
python3Packages.tensorflow: fix `GLIBCXX_3.4.30' not found
...
Make tensorflow (and a bunch of ther things) use CUDA-compatible
toolchain. Introduces cudaPackages.backendStdenv
2023-03-04 01:03:51 +02:00
github-actions[bot]
3cdd771820
Merge staging-next into staging
2023-02-23 18:01:49 +00:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Bernardo Meurer
42008a14a4
Merge pull request #217206 from Artturin/stdenvimprovements1
2023-02-23 12:07:47 +00:00
github-actions[bot]
82db2c5621
Merge staging-next into staging
2023-02-23 00:02:59 +00:00
github-actions[bot]
7f396edf16
Merge master into staging-next
2023-02-23 00:02:23 +00:00
Artturin
f9fdf2d402
treewide: move NIX_CFLAGS_COMPILE to the env attrset
...
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
425e4250db
tests.stdenv.outputs-no-out: fix
2023-02-22 21:23:04 +02:00
Connor Baker
c181273423
cudaPackages_12: 12.0.0 -> 12.0.1
2023-02-22 13:19:49 -05:00
github-actions[bot]
67e4f6dde0
Merge staging-next into staging
2023-02-22 12:02:05 +00:00
github-actions[bot]
0f910f5664
Merge master into staging-next
2023-02-22 12:01:31 +00:00
Connor Baker
266379497d
cuda-samples: init 11.8
2023-02-22 10:06:03 +01:00
Artturin
883daacbaa
tests.stdenv: add hooks.patch-shebangs.split-string & tweak tests
2023-02-17 22:23:35 +02:00
Artturin
8876a5c91f
tests.stdenv: move patch-shebangs test
2023-02-17 22:23:33 +02:00
Vincenzo Mantova
a000076d58
texlive.combine: split static $TEXMFDIST into a separate derivation
2023-02-05 19:47:07 +00:00
Artturi
dcc7df7fe6
Merge pull request #211685 from Artturin/splicingstuff1-split
2023-02-03 12:49:08 +02:00
github-actions[bot]
645af55243
Merge staging-next into staging
2023-01-30 12:01:57 +00:00
github-actions[bot]
1a06f52c21
Merge master into staging-next
2023-01-30 12:01:22 +00:00
Robert Hensing
3be7ea8c89
top-level/pkg-config: Make tests easy to find
2023-01-29 09:51:55 +01:00
Robert Hensing
a010129bf8
pkg-configPackages -> defaultPkgConfigPackages
...
This better reflects the purpose of the package set, while leaving
room for a fancier, more complete implementation of the concept,
with a nicer name.
2023-01-29 09:51:55 +01:00
Robert Hensing
2d4e78fb8b
tests.pkg-configPackages: Copy meta attributes for licensing concerns
2023-01-29 09:51:54 +01:00
Robert Hensing
04b06e83dc
tests.pkg-configPackages: Filter out broken packages
...
Some packages are only marked broken on specific platforms, so we
filter those out as well.
Consequently, this might not raise an error if the attribute value
needs to point to a different pkgs attribute, but this is not something
we can detect. For now, we'll have to rely on users of such pkg-config
packages to report that kind of error.
There's really not much we can do about this here.
2023-01-29 09:51:54 +01:00
Robert Hensing
e93cfb250b
tests.pkg-configPackages: Filter out unsupported packages
2023-01-29 09:51:54 +01:00
Robert Hensing
7790eafbdc
pkg-configPackages: init
2023-01-29 09:51:54 +01:00
Artturin
a0f4e8746d
tests.overriding: add repeatedOverrides-pname, repeatedOverrides-entangled-pname
...
from https://github.com/NixOS/nixpkgs/pull/201734#pullrequestreview-1185972282
2023-01-28 12:10:47 +02:00
Artturi
e42cdd2383
Merge pull request #212286 from Artturin/runonall
...
make-symlinks-relative: run on all outputs
2023-01-25 15:51:53 +02:00
Artturin
cfb543a532
make-symlinks-relative: run on all outputs
2023-01-23 20:11:41 +02:00
Sergei Trofimovich
b9b1d958d0
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/development/libraries/qt-6/modules/qtbase.nix
pkgs/stdenv/linux/make-bootstrap-tools.nix
2023-01-20 21:56:57 +00:00
Artturin
9c0ac5691c
tests.overriding: init
...
only outputs the first failing test atm
2023-01-20 19:20:03 +02:00
Artturin
44425dc5ab
tests.kernel-config: remove test that wasn't being run
...
it doesn't seem necessary anymore
2023-01-17 20:01:58 +02:00
Artturin
ad10ad9519
tests.kernel-config: fix
...
error: The option `settings.NIXOS_TEST_BOOLEAN.tristate' has conflicting definition values:
- In `structuredExtraConfig': "n"
- In `structuredExtraConfig': "y"
since https://github.com/NixOS/nixpkgs/pull/90065
yes does not silently win over no
2023-01-17 19:56:13 +02:00
Robert Hensing
01d7f19346
multi-outputs.sh: Improve _assignFirst error message
...
Closes #16182
This improves the error message
Error: _assignFirst found no valid variant!
which occurred when the set of outputs was not sufficient to set
the various outputDev, outputBin, etc variables. Specifically, this
would mean that "out" is not among the outputs, which is valid for
a derivation.
This changes the message to something like
error: _assignFirst: could not find a non-empty variable to assign to outputDev. The following variables were all unset or empty: dev out.
If you did not define an "out" output, make sure to define all the specific required outputs: define an output for one of the unset variables.
While this isn't a full explanation of what stdenv can and can not do,
I think it's vast improvement over the 0 bits of information that it
used to provide. This at least gives a clue as to what's going on, and
even suggests a fix, although probably multiple such fixes are required
in an instance where someone starts with a no-out derivation from scratch
(and decide to persist).
2023-01-16 12:57:01 +01:00
Martin Weinelt
c1e6c6af69
Merge remote-tracking branch 'origin/master' into staging-next
2023-01-11 03:51:33 +01:00
Artturin
2eeb34c273
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
2023-01-09 21:13:22 +02:00
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