Merge pull request #184688 from NickCao/clevis
clevis: add various packages to wrapper
This commit is contained in:
commit
e724ff22b2
1 changed files with 19 additions and 4 deletions
|
@ -1,6 +1,21 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, asciidoc
|
||||
, makeWrapper, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
|
||||
, coreutils, tpm2-tools
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, asciidoc
|
||||
, makeWrapper
|
||||
, jansson
|
||||
, jose
|
||||
, cryptsetup
|
||||
, curl
|
||||
, libpwquality
|
||||
, luksmeta
|
||||
, coreutils
|
||||
, tpm2-tools
|
||||
, gnugrep
|
||||
, gnused
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -24,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
postInstall = ''
|
||||
# We wrap the main clevis binary entrypoint but not the sub-binaries.
|
||||
wrapProgram $out/bin/clevis \
|
||||
--prefix PATH ':' "${tpm2-tools}/bin:${jose}/bin:${placeholder "out"}/bin"
|
||||
--prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config asciidoc makeWrapper ];
|
||||
|
|
Loading…
Reference in a new issue