summary refs log tree commit diff
path: root/pkgs/top-level/all-packages.nix
diff options
context:
space:
mode:
authorBoey Maun Suang2023-02-15 20:24:23 +1100
committerWeijia Wang2023-05-22 10:37:16 +0300
commit137b97e2f619cee1fbb8a624f5ad395a84efcca3 (patch)
treefd52a3b8c7f45103c0ff252ac93ec210f6662dde /pkgs/top-level/all-packages.nix
parent64faf2372d12d7d603af253a29bca10aaf3293cb (diff)
linuxkit: Sign binary with entitlements on Darwin
In order to use the Virtualization framework at runtime, a macOS binary
must be signed with the appropriate entitlement(s).  The default targets
in the linuxkit Makefiles would do this for us, but the current package
definition does not use those Makefiles, so we must call the right
target directly.
Diffstat (limited to 'pkgs/top-level/all-packages.nix')
-rw-r--r--pkgs/top-level/all-packages.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 3894c3e398e9..c36e16a78da4 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -18097,6 +18097,7 @@ with pkgs;
 
   linuxkit = callPackage ../development/tools/misc/linuxkit {
     inherit (darwin.apple_sdk_11_0.frameworks) Cocoa Virtualization;
+    inherit (darwin) sigtool;
   };
 
   listenbrainz-mpd = callPackage ../applications/audio/listenbrainz-mpd  {