garnix-io / issues

Public issue tracker for garnix.io
15 stars 0 forks source link

Enabling Nix experimental features #43

Open ncfavier opened 1 year ago

ncfavier commented 1 year ago

Would it be feasible to add an experimental-features configuration field, which is passed to Nix? For example, my repo uses content-addressed derivations, so builds currently fail with

error: experimental Nix feature 'ca-derivations' is disabled; use '--extra-experimental-features ca-derivations' to override
jkarni commented 1 year ago

Good call. I'll add recursive-nix as well.

jkarni commented 1 year ago

Added recursive-nix, but ca-derivations often cause the nix-daemon to hang (happened with one of the garnix machines), so I'm not enabling it until the linked issue gets resolved.

Mic92 commented 1 month ago

Added recursive-nix, but ca-derivations often cause the nix-daemon to hang (happened with one of the garnix machines), so I'm not enabling it until the linked issue gets resolved.

The workaround would be to do a nixos-rebuild boot and reboot the machine in question to perform the schema update. The issue happens often CI machines where other nix instances are still running.