Skip to content

.system typo vs .config.system.build.toplevel #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
blaggacao opened this issue Nov 10, 2024 · 2 comments
Open

.system typo vs .config.system.build.toplevel #37

blaggacao opened this issue Nov 10, 2024 · 2 comments

Comments

@blaggacao
Copy link
Collaborator

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 #35 (comment)

@blaggacao blaggacao changed the title Is .system a typo for .config.system.build.toplevel here? Or am I missing something that would alias to the shorter version? .system typo vs .config.system.build.toplevel Nov 10, 2024
@Sntx626
Copy link
Contributor

Sntx626 commented Nov 11, 2024

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:

  1. .system does not exists - in contrast to .config.system.build.toplevel, which does.
  2. 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....

@Sntx626
Copy link
Contributor

Sntx626 commented Nov 11, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants