Skip to content

Commit

Permalink
fix: add extraCmakeFlags arg to seL4-kernel.nix
Browse files Browse the repository at this point in the history
This fixes #41
  • Loading branch information
wucke13 committed Nov 13, 2024
1 parent e66b879 commit 71a31e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/seL4-kernel.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, python3Packages
, verifiedConfig ? null
, extraVerifiedConfigs ? [ ]
, extraCmakeFlags ? [ ]
}:


Expand Down Expand Up @@ -62,7 +63,8 @@ stdenv.mkDerivation rec {
"-GNinja"
"-DCROSS_COMPILER_PREFIX=${stdenv.cc.targetPrefix}"
"-DCMAKE_TOOLCHAIN_FILE=../gcc.cmake"
] ++ lib.lists.optional (verifiedConfig != null) "-C../configs/${verifiedConfig}.cmake";
] ++ lib.lists.optional (verifiedConfig != null) "-C../configs/${verifiedConfig}.cmake"
++ extraCmakeFlags;

# TODO remove hotfix for https://github.com/seL4/seL4/issues/1334
patches = lib.lists.optional (lib.lists.elem verifiedConfig brokenVerifiedConfigs) ../patches/seL4-cmake-install-target-failure.patch;
Expand Down

0 comments on commit 71a31e0

Please sign in to comment.