Skip to content
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

@result will be generated in pwd when using nh darwin switch without use -output-path #191

Closed
Parsifa1 opened this issue Dec 6, 2024 · 0 comments · Fixed by #192
Closed

Comments

@Parsifa1
Copy link
Contributor

Parsifa1 commented Dec 6, 2024

#187

It's weird, it seems that @result will still be generated in pwd when using nh darwin switch

i tested on my nixos, received the same.

sudo nix build --profile /nix/var/nix/profiles/system /tmp/nh-osqL0PnV/result

image

for this command, maybe we can use --no-link ?

'cause @result are created by the previous command

nix build '/home/xxx/nixos/#nixosConfigurations.nixos.config.system.build.toplevel' --log-format internal-json --verbose --out-link /tmp/nh-osqL0PnV/result | nom --json

image

if it's not wrong, i can make a pr :)

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

Successfully merging a pull request may close this issue.

1 participant