You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build config and check the built sanoid.conf file in the nix store. Within the config file use_template is not set on the appropriate directories.
Expected behavior
use_template in sanoid.conf should be set using the useTemplate variable for datasets in question (or the alias should be removed from the package/documentation)
Additional context
services.sanoid.datasets..use_template works as expected.
Tried on multiple machines with different zfs datasets just to sanity check and got the same result. Fairly new to nix, so definitely let me know if I'm just missing something. Couldn't tell what the issue was looking at the service derivation for sanoid.
I think this is either a bug mkAliasDefinitions or in the way it is used. Sanoid is the only user of this function in the entirety of nixpkgs, so I can't check other examples.
Describe the bug
services.sanoid.datasets..useTemplate does not work as expected.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
use_template in sanoid.conf should be set using the useTemplate variable for datasets in question (or the alias should be removed from the package/documentation)
Additional context
services.sanoid.datasets..use_template works as expected.
Tried on multiple machines with different zfs datasets just to sanity check and got the same result. Fairly new to nix, so definitely let me know if I'm just missing something. Couldn't tell what the issue was looking at the service derivation for sanoid.
Notify maintainers
@lopsided98
Metadata
The text was updated successfully, but these errors were encountered: