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
Alyssa Ross
35b4b29302
edk2: add 32-bit ARM support
2023-01-06 17:43:06 +00:00
Alyssa Ross
ad049483af
edk2: don't hardcode OSes in meta.platforms
...
There's nothing about edk2 specific to the host OS, and it builds fine
with e.g. a NetBSD toolchain, so we should only restrict
meta.platforms by architecture, not by OS.
2023-01-02 03:58:58 +00:00
Adam Stephens
53495400fb
edk2: 202205 -> 202211
2022-12-02 00:44:49 -05:00
Randy Eckenrode
4d3207ecf7
edk2: fix build on x86_64-darwin
...
ZHF #199919
2022-11-06 18:54:18 -05:00
Artturin
7e49471316
treewide: optional -> optionals where the argument is a list
...
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Sandro
8d344439fb
Merge pull request #180733 from whentze/feature/update-edk2
2022-10-01 19:28:33 +02:00
Raito Bezarius
c91d0713ac
ovmf: expose EFI prefixes and refactor qemu-vm with it
2022-08-23 12:13:06 +02:00
Raito Bezarius
ce907408b8
edk2: support new functional mkDerivation-style
2022-08-22 16:23:44 +02:00
Wanja Hentze
131105df1d
edk2: 202202 -> 202205
...
changelog: https://github.com/tianocore/edk2/releases/tag/edk2-stable202205
fixes https://nvd.nist.gov/vuln/detail/CVE-2021-38578 .
2022-07-08 17:10:38 +02:00
Guillaume Girol
9ccccc3e25
edk2: fix cross compilation
2022-05-14 12:00:00 +00:00
Alyssa Ross
9222b68380
edk2: 202108 -> 202202
2022-03-09 11:14:57 +00:00
pennae
8b154985f3
edk2: use llvmPackages_9.stdenv
...
stdenv.cc being a list does not seem to be such a good thing.
2021-11-27 00:02:47 +01:00
Sergei Trofimovich
cda036f189
edk2: pull upstream brotli fix for gcc-11 ( #144137 )
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-22 16:40:06 +01:00
Martin Weinelt
ccbdef3b20
edk2: 202102 -> 202108
2021-09-28 02:38:31 +02:00
Kid
b43389f49d
iasl: drop pacakge
2021-08-10 03:46:01 +00:00
Martin Weinelt
c8ac1ce19e
edk2: 202011 -> 202102
...
Fixes: CVE-2021-28210, CVE-2021-28211
2021-03-30 02:20:31 +02:00
Milan
4617fcd6c4
edk2: 201911 -> 202011 ( #105582 )
2020-12-01 21:47:18 +01:00
Markus Partheymüller
faf984d12d
ed2k/OVMF: Put URLs in quotes
2020-05-04 16:00:37 +02:00
Markus Partheymüller
94d114dc2a
edk2/OVMF: Determine build type from CC setting
2020-04-20 13:30:35 +02:00
Markus Partheymüller
fe8afcb993
edk2: Fix style
2020-04-20 13:19:38 +02:00
Markus Partheymüller
f5f53288cc
edk2/OVMF: Support build on macOS
...
In order to use OVMF firmware with e.g. qemu on macOS, these packages
needed to be made macOS ready. This meant choosing the clang build in
this case, because it is the only one working on macOS.
Unfortunately, just using clang on all platforms doesn't work because
there are hardcoded assumptions in the edk2 build system.
2020-04-20 09:53:32 +02:00
arcnmx
2646554b25
edk2: 201905 -> 201911
2020-01-29 08:32:01 -08:00
Robin Gloster
616b8343c4
Merge remote-tracking branch 'upstream/master' into gcc-8
2019-08-25 18:55:46 +02:00
Nikolay Amiantov
c3a6c8de88
edk2: 2017-12-05 -> 201905
...
* Move to stable version;
* Refactor `setup` to `mkDerivation`;
* Use flags instead of `sed`;
* Support Secure Boot builds.
2019-08-19 19:52:30 +03:00
Robin Gloster
5ef32577e6
edk2: fix build with gcc8
2019-06-17 07:06:05 +02:00
Izorkin
c83eff9022
edk2: fix buid
2018-08-01 11:15:17 +03:00
Tuomas Tynkkynen
f59eab75d2
edk2, OVMF: Build on aarch64
...
And also build in parallel.
I don't understand why we manually tediously link every single directory
from the source, but I don't want to investigate too much.
2018-03-21 23:19:26 +02:00
Tuomas Tynkkynen
1d854b479c
edk2: Reformat a bit for readability
...
- Have only one sed expression per line
- Put the important stuff closer to the command and not hidden in some
continuation line. That is, don't do:
sed \
<boring stuff> \
<boring stuff> \
<boring stuff> \
<boring stuff> \
<boring stuff> \
<IMPORTANT STUFF>
but:
sed <IMPORTANT STUFF> \
<boring stuff> \
<boring stuff> \
<boring stuff> \
<boring stuff> \
<boring stuff>
2018-03-21 23:19:25 +02:00
Orivej Desh
08ff5462ed
edk2 add short-circuit-the-transfer-of-an-empty-S3_CONTEXT.patch
...
as requested by @lukeadams in
https://github.com/NixOS/nixpkgs/pull/32724#issuecomment-352140119
2017-12-16 03:07:42 +00:00
Luke Adams
237cf9e21f
edk2: 2014-12-10 -> 2017-12-05
...
src was at vUDK2017 tag (2017-06-13), updated to the latest commit in UDK2017 branch.
2017-12-16 03:01:38 +00:00
Linus Heckemann
f6afe064a0
edk2: 2014-12-10 -> UDK2017
2017-08-27 19:41:10 +01:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
...
Homepage link "http://.../ " is a permanent redirect to "https://.../ " and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Frederik Rietdijk
aa652d0df7
edk2: use python2
...
python 2 print statement
2016-10-18 23:16:04 +02:00
Frederik Rietdijk
ffa65afdcd
edk2: use python env
2016-10-13 10:47:07 +02:00
Frederik Rietdijk
104c50dd1a
Python: remove modules and pythonFull
2016-10-10 10:33:24 +02:00
Robin Gloster
8031cba2ab
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-06-10 09:27:04 +00:00
Tuomas Tynkkynen
bac26e08db
Fix lots of fetchgit hashes (fallout from #15469 )
2016-06-03 17:17:08 +03:00
Franz Pletz
aff1f4ab94
Use general hardening flag toggle lists
...
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
b0eedc4ecb
edk2: turn off fortify & format hardening
2016-02-08 23:07:09 +00:00
Tuomas Tynkkynen
d2fe3405d3
edk2, OVMF: Fix build on GCC 4.9
...
The toolchain must be correctly specified in the OVMF build or it fails
with 'Unsupported section alignment':
http://hydra.nixos.org/build/23859056
2015-07-20 09:05:58 +03:00
Shea Levy
145768bf9b
Unmaintain a bunch of packages
2015-07-01 08:11:05 -04:00
Pascal Wittmann
f94580da69
Fix license attribute of many bsd-like licensed packages
2014-12-21 00:00:35 +01:00
Michael Raskin
a199693cab
Update/Fix OVMF
2014-12-11 08:46:13 +03:00
Shea Levy
72b5403ee8
edk2/OVMF: Update
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-03 18:32:21 -05:00
Shea Levy
74d72d89ea
Update edk2 and OVMF
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-09 10:30:44 -04:00
Shea Levy
a7359deca8
edk2: Update
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-19 13:59:40 -04:00
Shea Levy
af045b4ee1
edk2: Bump version
2012-10-04 20:11:47 -04:00
Shea Levy
6c99fad938
OMVF: Only need some of the sources, and symlinks instead of copies are fine
...
svn path=/nixpkgs/trunk/; revision=33090
2012-03-14 22:43:07 +00:00
Shea Levy
6cf8e4f815
EDK2: Significant cleanup and
...
modularization, and add OVMF as an example of how to use it
svn path=/nixpkgs/trunk/; revision=33059
2012-03-14 06:57:58 +00:00