Example run in README is incorrect #36

Closed
opened 2022-11-24 10:58:39 +00:00 by brianmcgee · 5 comments
brianmcgee commented 2022-11-24 10:58:39 +00:00 (Migrated from github.com)

A minor issue but it took me a few mins to realise. The example run uses the command:

[root@myMachine:/etc/nixos]# nix run .#apps.nixinate.myMachine

The apps prefix before .#apps.nixinate... is not necessary. It should be:

[root@myMachine:/etc/nixos]# nix run .#nixinate.myMachine
A minor issue but it took me a few mins to realise. The example run uses the command: ``` [root@myMachine:/etc/nixos]# nix run .#apps.nixinate.myMachine ``` The `apps` prefix before `.#apps.nixinate...` is not necessary. It should be: ``` [root@myMachine:/etc/nixos]# nix run .#nixinate.myMachine ```
MatthewCroughan commented 2022-11-24 16:53:20 +00:00 (Migrated from github.com)

That can't be done because of https://github.com/MatthewCroughan/nixinate/issues/12, if it works you may be running a different (older) version of Nix. What is your nix --version?

That can't be done because of https://github.com/MatthewCroughan/nixinate/issues/12, if it works you may be running a different (older) version of Nix. What is your `nix --version`?
brianmcgee commented 2022-11-25 09:21:41 +00:00 (Migrated from github.com)

I'm running nix (Nix) 2.11.0

I'm running `nix (Nix) 2.11.0`
MatthewCroughan commented 2022-11-25 17:31:32 +00:00 (Migrated from github.com)

@brianmcgee Have you got an example flake that you can give me that can reproduce this? If you have apps = nixinate.nixinate.x86_64-linux self in your flake, you should not be able to nix run .#nixinate.<machineName>

@brianmcgee Have you got an example flake that you can give me that can reproduce this? If you have `apps = nixinate.nixinate.x86_64-linux self` in your flake, you should not be able to `nix run .#nixinate.<machineName>`
brianmcgee commented 2022-11-25 19:48:07 +00:00 (Migrated from github.com)

@MatthewCroughan I'll pull something together over the weekend

@MatthewCroughan I'll pull something together over the weekend

Closed due to fork migration, feel free to reopen.

Closed due to fork migration, feel free to reopen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tristan/nixinate#36
No description provided.