From b48d46d67a3cad5193a5e192a6167570a584ba68 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 19 Jun 2023 18:29:35 +0800 Subject: [PATCH 1/2] ima-evm-utils: fix cross compilation, set strictDeps --- .../linux/ima-evm-utils/default.nix | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/ima-evm-utils/default.nix b/pkgs/os-specific/linux/ima-evm-utils/default.nix index 23a58ae65e0c..14e2e71b8338 100644 --- a/pkgs/os-specific/linux/ima-evm-utils/default.nix +++ b/pkgs/os-specific/linux/ima-evm-utils/default.nix @@ -1,4 +1,14 @@ -{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }: +{ lib +, stdenv +, fetchgit +, autoreconfHook +, pkg-config +, openssl +, keyutils +, asciidoc +, libxslt +, docbook_xsl +}: stdenv.mkDerivation rec { pname = "ima-evm-utils"; @@ -10,10 +20,21 @@ stdenv.mkDerivation rec { sha256 = "sha256-WPBG7v29JHZ+ZGeLgA2gtLzZmaG0Xdvpq+BZ6NriY+A="; }; - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ openssl attr keyutils asciidoc libxslt ]; + strictDeps = true; - MANPAGE_DOCBOOK_XSL = "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"; + nativeBuildInputs = [ + autoreconfHook + pkg-config + asciidoc + libxslt + ]; + + buildInputs = [ + openssl + keyutils + ]; + + env.MANPAGE_DOCBOOK_XSL = "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"; meta = { description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)"; From a869e5027ec9dd86c22874944da1153542cef2b2 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Tue, 8 Aug 2023 09:49:26 +0800 Subject: [PATCH 2/2] ima-evm-utils: add nickcao to maintainers --- pkgs/os-specific/linux/ima-evm-utils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/ima-evm-utils/default.nix b/pkgs/os-specific/linux/ima-evm-utils/default.nix index 14e2e71b8338..34889783034c 100644 --- a/pkgs/os-specific/linux/ima-evm-utils/default.nix +++ b/pkgs/os-specific/linux/ima-evm-utils/default.nix @@ -41,6 +41,6 @@ stdenv.mkDerivation rec { homepage = "https://sourceforge.net/projects/linux-ima/"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ nickcao ]; }; }