Commit Graph

52 Commits

Author SHA1 Message Date
Anders Kaseorg
e12f4db556 treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH, round 2
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Followup to #76804.  Fixes #144646.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-11-04 16:15:05 -07:00
adisbladis
c779050edb
poetry2nix: 1.20.0 -> 1.21.0 2021-09-29 21:35:44 -05:00
adisbladis
1b7e3b78b4
poetry2nix: 1.19.0 -> 1.20.0 2021-09-23 10:55:18 -05:00
adisbladis
05cf40db67
poetry2nix: 1.17.1 -> 1.19.0 2021-08-19 17:49:52 -05:00
Robert Hensing
fbafeb7ad5 treewide: runCommandNoCC -> runCommand
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
Martin Weinelt
8ec2e85105
poetry2nix: drop anyio override
The version number of the package was fixed a while ago.
2021-07-27 11:19:28 +02:00
Sandro Jäckel
9bfdf57e13
pythonPackages: deprecate pytestrunner alias 2021-07-21 13:32:49 +02:00
adisbladis
428c0e107f
poetry2nix: 1.17.0 -> 1.17.1 2021-06-08 08:54:33 -05:00
Sandro Jäckel
89d5f4b3d0
treewide: setuptools_scm -> setuptools-scm 2021-06-03 12:44:33 +02:00
adisbladis
43d59e94dc
poetry2nix: 1.16.1 -> 1.17.0 2021-06-01 16:59:39 -05:00
Jonathan Ringer
2b79244f89 poetry2nix: fix LLVM_CONFIG reference 2021-05-08 01:29:18 -07:00
Samuel Gräfenstein
819ab46fe7
treewide: pkgconfig -> pkg-config
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:19 +01:00
adisbladis
215b49c082
poetry2nix: 1.16.0 -> 1.16.1 2021-03-16 17:25:26 +02:00
adisbladis
5de110f8da
poetry2nix: 1.15.5 -> 1.16.0 2021-03-04 16:32:04 +02:00
adisbladis
e22280882c
poetry2nix: 1.15.4 -> 1.15.5 2021-02-18 09:28:07 +01:00
adisbladis
1ba244258d
poetry2nix: 1.15.3 -> 1.15.4 2021-02-11 14:02:23 +01:00
adisbladis
44321d73f7
poetry2nix: 1.15.2 -> 1.15.3 2021-02-11 03:57:53 +01:00
adisbladis
e0961cb5f3
poetry2nix: 1.14.0 -> 1.15.2 2021-02-02 15:21:10 +01:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
markuskowa
2f34b4b883
Merge pull request #108983 from markuskowa/dev-mpi
Use mpi attribute consistently to provide a default MPI implementation
2021-01-23 22:51:09 +01:00
John Ericson
12881a7aa7
Merge pull request #110544 from Ericson2314/no-platform
top-level, lib: Remove platform attribute of platforms
2021-01-23 16:32:36 -05:00
John Ericson
9c213398b3 lib: Clean up how linux and gcc config is specified
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that
commit for details.

This reverts commit 0bc275e634.
2021-01-23 10:01:28 -05:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Markus Kowalewski
6dba41fbcb
mpi: use mpi attribute consistently as the default MPI implementations
Use the attribute mpi to provide a system wide default MPI
implementation. The default is openmpi (as before).
This now allows for overriding the MPI implentation by using
the overlay mechanism. Build all packages with mpich instead
of the default openmpi can now be achived like this:
self: super:
 {
   mpi = super.mpich;
 }

All derivations that have been using "mpi ? null" to provide optional
building with MPI have been change in the following way to allow for
optional builds with MPI:
{ ...
, mpi
, useMpi ? false
}
2021-01-23 12:15:13 +01:00
Jonathan Ringer
0bc275e634
Revert "lib: Clean up how linux and gcc config is specified"
This is a stdenv-rebuild, and should not be merged
into master

This reverts commit 8929989614.
2021-01-22 14:07:06 -08:00
John Ericson
8929989614 lib: Clean up how linux and gcc config is specified
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.

This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.

`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.

The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Dominik Xaver Hörl
25bef2d8f9 treewide: simplify pkgs.stdenv.lib -> pkgs.lib
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00
adisbladis
a10370cc9f
poetry2nix: 1.13.0 -> 1.14.0 2020-12-01 14:25:46 +01:00
Frederik Rietdijk
3fceafce1e buildPython*: remove pythonRecompileBytecodeHook as dependency
This hook was added to get reproducible bytecode. Because it was causing
issues it was disabled, but still kept as a dependency. Now the main
issue with bytecode reproducibility has been resolved by updating pip to
20.2.4, we remove this hook as a dependency.

If a package with Python code is not yet reproducible, one could add
this hook to `nativeBuildInputs`.
2020-11-12 19:32:30 +01:00
adisbladis
0eeedc732c
poetry2nix: 1.12.0 -> 1.13.0 2020-10-01 23:11:14 +02:00
adisbladis
e3f6f9be0f
poetry2nix: 1.11.0 -> 1.12.0 2020-08-26 15:26:35 +02:00
adisbladis
63fa3639b1
poetry2nix: 1.10.0 -> 1.11.0 2020-07-22 17:04:47 +02:00
adisbladis
e038a4363a
poetry2nix: 1.9.2 -> 1.10.0 2020-07-14 16:18:39 +02:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
adisbladis
423f85422f
poetry: 1.0.5 -> 1.0.8 2020-06-09 02:54:49 +02:00
adisbladis
25b9f3b3e0
poetry2nix: 1.9.0 -> 1.9.2 2020-06-09 02:54:48 +02:00
Daiderd Jordan
8d705d9f11
poetry2nix: translate hashes to sha256 2020-06-01 15:24:21 +02:00
adisbladis
63bac1fc59
poetry2nix: 1.8.0 -> 1.9.0 2020-05-28 21:41:17 +01:00
adisbladis
36debc367e
poetry2nix: 1.7.1 -> 1.8.0 2020-05-05 21:20:44 +01:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
adisbladis
aa2552c6ce
poetry2nix: 1.7.0 -> 1.7.1 2020-03-27 23:47:40 +00:00
adisbladis
dda52a4571
poetry2nix: 1.6.1 -> 1.7.0 2020-03-27 22:54:34 +00:00
adisbladis
7401afc428
poetry2nix: 1.6.0 -> 1.6.1 2020-03-27 14:49:31 +00:00
adisbladis
d3f756d9b7 poetry2nix: 1.5.0 -> 1.6.0 2020-03-02 10:34:49 -08:00
adisbladis
e90bf5782e
poetry2nix: 1.4.0 -> 1.5.0 2020-02-24 13:38:32 +00:00
Florian Klink
a00f226244 poetry2nix: fix typo fetchPyPi -> fetchPypi
nixpkgs' fetchPypi is called fetchPypi, not fetchPyPi.
2020-02-19 15:41:43 +01:00
adisbladis
45158b5c65
poetry2nix: 1.3.0 -> 1.4.0 2020-01-27 07:56:23 +00:00
adisbladis
386dbd5aea
poetry2nix: 1.2.1 -> 1.3.0 2020-01-13 15:46:46 +00:00
adisbladis
1282b60452
poetry2nix: 1.2.0 -> 1.2.1 2020-01-11 23:37:05 +00:00