summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/edk2
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2022-08-22 16:15:40 +0200
committerRaito Bezarius <masterancpp@gmail.com>2022-08-23 12:13:06 +0200
commitc91d0713ac476dfb367bbe12a7a048f6162f039c (patch)
tree0609620cf6d8c54bb0f6bb1dc9ef02974bd087f2 /pkgs/development/compilers/edk2
parentce907408b8e0d1f0da46388fadfc06c174aff076 (diff)
ovmf: expose EFI prefixes and refactor qemu-vm with it
Diffstat (limited to 'pkgs/development/compilers/edk2')
-rw-r--r--pkgs/development/compilers/edk2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index 9f321759c4d9..bffbbb6a36f4 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -89,7 +89,7 @@ edk2 = buildStdenv.mkDerivation {
passthru = {
mkDerivation = projectDscPath: attrsOrFun: buildStdenv.mkDerivation (finalAttrs:
let
- attrs = if lib.isFunction attrsOrFun then (attrsOrFun finalAttrs) else attrsOrFun;
+ attrs = lib.toFunction attrsOrFun finalAttrs;
in
{
inherit (edk2) src;