summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-03-02 08:24:57 +0100
committerGitHub <noreply@github.com>2018-03-02 08:24:57 +0100
commitb62084375f09feb91c7e4becf57c36fcce703ef5 (patch)
tree763d38cb071e1d192923d16f5c8ab36a55b03d05 /pkgs/tools/system
parentab91a07d89b2e89cbb612ab0262e0d6ef3fb4be7 (diff)
parent2970a9e5dbe663c0d0536f6339fa83cae5ea0f55 (diff)
downloadnixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar.gz
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar.bz2
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar.lz
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar.xz
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.tar.zst
nixlib-b62084375f09feb91c7e4becf57c36fcce703ef5.zip
Merge pull request #35846 from lheckemann/vboot-no-auto-host
vboot: disable host autodetection
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/vboot_reference/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/system/vboot_reference/default.nix b/pkgs/tools/system/vboot_reference/default.nix
index e410ef1cee50..ba885555cde1 100644
--- a/pkgs/tools/system/vboot_reference/default.nix
+++ b/pkgs/tools/system/vboot_reference/default.nix
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
 
   makeFlags = [
     "DESTDIR=$(out)"
+    "HOST_ARCH=${stdenv.hostPlatform.parsed.cpu.name}"
   ];
 
   postInstall = ''
@@ -32,9 +33,10 @@ stdenv.mkDerivation rec {
     cp -r tests/devkeys* $out/share/vboot/
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Chrome OS partitioning and kernel signing tools";
-    license = stdenv.lib.licenses.bsd3;
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.bsd3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ lheckemann ];
   };
 }