Merge pull request #247845 from NickCao/ima-evm-utils

ima-evm-utils: fix cross compilation, set strictDeps

authored by Nick Cao and committed by GitHub 6a5cbeab 02719f21

+26 -5
+26 -5
pkgs/os-specific/linux/ima-evm-utils/default.nix
··· 1 - { lib, stdenv, fetchgit, autoreconfHook, pkg-config, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }: 1 + { lib 2 + , stdenv 3 + , fetchgit 4 + , autoreconfHook 5 + , pkg-config 6 + , openssl 7 + , keyutils 8 + , asciidoc 9 + , libxslt 10 + , docbook_xsl 11 + }: 2 12 3 13 stdenv.mkDerivation rec { 4 14 pname = "ima-evm-utils"; ··· 10 20 sha256 = "sha256-WPBG7v29JHZ+ZGeLgA2gtLzZmaG0Xdvpq+BZ6NriY+A="; 11 21 }; 12 22 13 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 14 - buildInputs = [ openssl attr keyutils asciidoc libxslt ]; 23 + strictDeps = true; 24 + 25 + nativeBuildInputs = [ 26 + autoreconfHook 27 + pkg-config 28 + asciidoc 29 + libxslt 30 + ]; 31 + 32 + buildInputs = [ 33 + openssl 34 + keyutils 35 + ]; 15 36 16 - MANPAGE_DOCBOOK_XSL = "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"; 37 + env.MANPAGE_DOCBOOK_XSL = "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"; 17 38 18 39 meta = { 19 40 description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)"; 20 41 homepage = "https://sourceforge.net/projects/linux-ima/"; 21 42 license = lib.licenses.gpl2; 22 43 platforms = lib.platforms.linux; 23 - maintainers = with lib.maintainers; [ ]; 44 + maintainers = with lib.maintainers; [ nickcao ]; 24 45 }; 25 46 }