| 15 Jun 2023 |
@uep:matrix.org | but the result is that it inferred a pool name of "" | 16:12:54 |
@uep:matrix.org | and added a job to import that pool, which is of course failing. | 16:13:13 |
@uep:matrix.org | seems like there's room for an assertion that the pool name isn't blank | 16:13:28 |
@elvishjerricco:matrix.org | Oh that's... interesting | 16:13:34 |
@elvishjerricco:matrix.org | Yea for sure | 16:13:37 |
@uep:matrix.org | somewhere in here:
datasetToPool = x: elemAt (splitString "/" x) 0;
fsToPool = fs: datasetToPool fs.device;
zfsFilesystems = filter (x: x.fsType == "zfs") config.system.build.fileSystems;
allPools = unique ((map fsToPool zfsFilesystems) ++ cfgZfs.extraPools);
rootPools = unique (map fsToPool (filter fsNeededForBoot zfsFilesystems));
| 16:22:40 |
@uep:matrix.org | or, misplaced in the thing that creates the import service, I guess | 16:23:00 |
@uep:matrix.org | * or, misplaced in the thing that creates the import service, just below, I guess | 16:23:08 |