From 39ccd50896ba4166d7792c5dccf8ae492ac4443f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 27 Jan 2013 20:42:45 +0000 Subject: [PATCH] Fixing the doublePatchelf in initrd; it should be for all ARM. --- modules/system/boot/stage-1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/stage-1.nix b/modules/system/boot/stage-1.nix index 942a5271484d..a66e609ba7ba 100644 --- a/modules/system/boot/stage-1.nix +++ b/modules/system/boot/stage-1.nix @@ -149,7 +149,7 @@ let extraUtils = pkgs.runCommand "extra-utils" { buildInputs = [pkgs.nukeReferences]; allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd - doublePatchelf = (pkgs.stdenv.system == "armv5tel-linux"); + doublePatchelf = pkgs.stdenv.isArm; } '' mkdir -p $out/bin $out/lib