liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ddaa5476d3b8fadb836f5c13829886e6922c388f
parent bcd9d56624777db3cd9334dff465dc469557f65d
Author: Daniel Barlow <dan@telent.net>
Date:   Thu, 15 Aug 2024 23:02:54 +0100

override clevis derivation (experimental)

Diffstat:
Moverlay.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