| 12 Jul 2023 |
Pratham Patel | Sorry, I'm a newb :( | 17:09:36 |
Alex | nix-store --import < ./new-nix.nar
(This command is also in man nix-store) | 17:09:41 |
Pratham Patel | I saw nix-store --import < out in the manpage but didn't try it because I didn't see the .nar extension... My bad. Sorry | 17:12:07 |
Pratham Patel | It is normal to not have any output? | 17:13:12 |
Pratham Patel | All 4 cores are idle too | 17:13:18 |
Alex | Yes, no output is normal in the Linux world. | 17:13:37 |
Pratham Patel | Usually I see a lot of output in nixos-rebuild XD | 17:14:21 |
Alex | You should now have /nix/store/mpgh4905nxkpf0jxcx90lchhf6l5gpiq-nixos-system-nixos-23.11.git.7c67f006ea0M if the command worked. | 17:14:27 |
Pratham Patel | It's still churning. I'll wait for it to finish | 17:14:59 |
Alex | That's because Nix is busy building the stuff in your configuration.
Since I've shared the output, you don't need to build it yourself and can just import it directly into your store. | 17:15:08 |
Pratham Patel | Okay yeah, got the "expected" output. | 17:15:13 |
Pratham Patel | The last line says /nix/store/mpgh4905nxkpf0jxcx90lchhf6l5gpiq-nixos-system-nixos-23.11.git.7c67f006ea0M | 17:15:38 |
Pratham Patel | It matches with your hash | 17:15:46 |