commit ddaa5476d3b8fadb836f5c13829886e6922c388f parent bcd9d56624777db3cd9334dff465dc469557f65d Author: Daniel Barlow <dan@telent.net> Date: Thu, 15 Aug 2024 23:02:54 +0100 override clevis derivation (experimental) Diffstat:
| M | overlay.nix | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/overlay.nix b/overlay.nix @@ -81,6 +81,21 @@ extraPkgs // { texinfo = null; }; + # clevis without luks/tpm + clevis = crossOnly prev.clevis + (d: let c = d.overrideAttrs(o: { + outputs = ["out"]; + preConfigure = '' + rm -rf src/luks + sed -i -e '/luks/d' src/meson.build + ''; + }); in c.override { + asciidoc = null; + cryptsetup = null; + luksmeta = null; + tpm2-tools = null; + }); + # luarocks wants a cross-compiled cmake (which seems like a bug, # we're never going to run luarocks on the device, but ...) # but https://github.com/NixOS/nixpkgs/issues/284734