Open blaggacao opened 2 weeks ago
For me this evaluates to:
bin=$(nix build .#nixosConfigurations.home-iovis.system --no-link --print-out-paths)/sw/bin
However this present the following two problems:
.system
does not exists - in contrast to .config.system.build.toplevel
, which does.home-iovis
is not a flake output, since I changed the renamer for my nixosConfigurations:nixosConfigurations = (hive.collect // { renamer = _: target: target; }) self "nixosConfigurations";
Number 1.
should be an easy fix, since this indeed seems to be a typo.
I don't know how much extra work it would be to get the real output name from the fragmentRelPath
to solve 2.
...
On an offhand note, I don't think we need to recreate the bin
environment from the target system. Everything we might need, we can just add from pkgs
for each action respectively.
Or am I missing something critical?
Is
.system
a typo for.config.system.build.toplevel
here? Or am I missing something that would alias to the shorter version?_Originally posted by @Hajitorus in https://github.com/divnix/hive/pull/35#discussion_r1830372841_