Dagger seems to have to be installed through https://github.com/dagger/nix, due to https://github.com/NixOS/nixpkgs/issues/260848, so this should be done.