This is a problem for kernel development:
src = pkgs.fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git";
sha256 = "sha256-ZoxNKErtJv0U0tGUC6o4ifXrPi6ZbIxMocMA0mgnzsg=";
};
So I guess I need to rename configuration.nix to configuration.nix.in and replace that with:
src = pkgs.fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git";
sha256 = "@KERNEL_SHA256@";
};
Then using nix-prefetch-git https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git
and sed
I can create the actual configuration.nix.
Unfortunately it seems that lib.fakeSha256
cannot be put into skip/ignore mode :-(
@jarkko But why?
https://github.com/nix-community/nixos-generators supports qcow2 output