summary refs log tree commit diff
path: root/host/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'host/initramfs')
-rw-r--r--host/initramfs/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/initramfs/default.nix b/host/initramfs/default.nix
index d03467d..a4f7330 100644
--- a/host/initramfs/default.nix
+++ b/host/initramfs/default.nix
@@ -6,8 +6,8 @@
 }:
 
 pkgs.callPackage (
-{ lib, stdenv, makeModulesClosure, runCommand, writeReferencesToFile, pkgsStatic
-, busybox, cpio, cryptsetup, lvm2, microcodeAmd, microcodeIntel
+{ lib, stdenvNoCC, makeModulesClosure, runCommand, writeReferencesToFile
+, pkgsStatic, busybox, cpio, cryptsetup, lvm2, microcodeAmd, microcodeIntel
 }:
 
 let
@@ -58,7 +58,7 @@ let
     cp ${pkgsStatic.util-linuxMinimal}/bin/{findfs,lsblk} $out/bin
   '';
 
-  microcode = if stdenv.hostPlatform.isx86_64 then
+  microcode = if stdenvNoCC.hostPlatform.isx86_64 then
     runCommand "microcode.cpio" {
       nativeBuildInputs = [ cpio ];
     } ''
@@ -78,7 +78,7 @@ let
   '';
 in
 
-stdenv.mkDerivation {
+stdenvNoCC.mkDerivation {
   name = "initramfs";
 
   src = cleanSourceWith {