summary refs log tree commit diff
path: root/host/initramfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/initramfs/default.nix')
-rw-r--r--host/initramfs/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/initramfs/default.nix b/host/initramfs/default.nix
index f290595..2ff613e 100644
--- a/host/initramfs/default.nix
+++ b/host/initramfs/default.nix
@@ -80,7 +80,10 @@ stdenvNoCC.mkDerivation {
 
   src = lib.fileset.toSource {
     root = ../..;
-    fileset = src;
+    fileset = lib.fileset.intersection src (lib.fileset.unions [
+      ./.
+      ../../lib/common.mk
+    ]);
   };
   sourceRoot = "source/host/initramfs";