Commit Graph

12 Commits

Author SHA1 Message Date
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
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
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
2023-02-22 21:23:04 +02:00
Vladimír Čunát
9e2af38827
Merge branch 'staging' into staging-next 2023-02-01 17:05:25 +01:00
R. Ryantm
db0529000e wimboot: 2.7.4 -> 2.7.5 2023-02-01 10:20:41 +00:00
Sergei Trofimovich
1ad0b9a4e3 wimboot: fix build by fixing -idirafter ordering
`wimboot` build broke after https://github.com/NixOS/nixpkgs/pull/210004
where we started dropping default libc include path and switched to
`-idirafter` way of specifying libc headers.

Unfortunately the way it's implemented it injects `-idirafter` after
user's flags, not before. That allows users to inject their paths before
libc include paths, not after (as it would notmally happen).

The change works it around for `wimboot` by pulling `-idirafter` libc
flags before user's flags.
2023-01-28 08:11:45 +00:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Janne Heß
063298cdb1
wimboot: Mark platforms correctly
There is no Darwin support at all
2022-05-19 09:49:12 +02:00
R. Ryantm
d4826d4f6d wimboot: 2.7.3 -> 2.7.4 2022-02-13 12:42:33 +00:00
ajs124
2a64ca263b wimboot: 2.6.0 -> 2.7.3 2021-08-15 15:40:30 +02:00
Luke Granger-Brown
331935870a wimboot: fix builds under binutils 2.34+ 2021-01-31 03:05:47 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Janne Heß
f1221507f3 wimboot: Init at 2.6.0 2020-02-01 17:57:17 +01:00