Open Mic92 opened 3 years ago
Is there some working alternative? I tried using nix-serve
from this repo combined with NixOS/nix
as a source for the underlying nix+perl-bindings, but perl does not like it: either it somehow does not find Nix/Config.pm
, otherwise it appears to error out inside some Manifest.pm
or such...
Died at /nix/store/qhlldk0c44ssgiipizczq4f210hlgplr-nix-perl-2.4pre20210720_dd7bcf3/lib/perl5/site_perl/5.32.1/x86_64-linux-thread-multi/Nix/Manifest.pm line 236
Is there some working alternative? I tried using
nix-serve
from this repo combined withNixOS/nix
as a source for the underlying nix+perl-bindings, but perl does not like it: either it somehow does not findNix/Config.pm
, otherwise it appears to error out inside someManifest.pm
or such...Died at /nix/store/qhlldk0c44ssgiipizczq4f210hlgplr-nix-perl-2.4pre20210720_dd7bcf3/lib/perl5/site_perl/5.32.1/x86_64-linux-thread-multi/Nix/Manifest.pm line 236
The workaround is not enabling ca-derivations until nix-serve
implements ca-derivation support.
Is there some other nix cache which does support this? I suppose ngi0 uses S3, right?
We explicitly need this type of cache and not S3 or some other cloud provider.
Maybe nix.sshServe.enable
works because it's part of nix?
Is there some other nix cache which does support this? I suppose ngi0 uses S3, right?
yes, through hydra.
Is there some other nix cache which does support this? I suppose ngi0 uses S3, right?
All the built-in store implementations support this. So ssh
, ssh-ng
, http(s)
, file
, daemon
and s3
stores should all be usable as a CA-aware binary cache
As @regnat reportet it does not handle
/realisations
, which results in http 500er errors when using it as a cache on a daemon with ca-derivations enabled.