24 Aug 2025 |
K900 | Like I don't think we have anything x86 specific in there | 17:30:37 |
Pierre Carrier | OK cool. but it would have to be another .wsl file right? | 17:31:24 |
K900 | Yes | 17:31:36 |
Pierre Carrier | I'd like to bootstrap, if you have any pointers | 17:31:42 |
K900 | And you'd need an aarch64 builder to build it | 17:31:43 |
K900 | Well you'll need an aarch64 something running NixOS | 17:31:52 |
Pierre Carrier | yeah I can run nix in ubuntu in wsl right | 17:32:00 |
K900 | Potentially | 17:32:08 |
Pierre Carrier | ah gotta be nixos not just nix? | 17:32:13 |
K900 | I think just Nix should be enough | 17:32:22 |
Pierre Carrier | I was hoping for a one-command build process in the flake setup | 17:32:42 |
Pierre Carrier | haven't dug yet sorry, I'm without linux at the moment, but I'll get another wsl going | 17:33:10 |
K900 | No one command | 17:34:21 |
K900 | But you basically want to change the system here: https://github.com/nix-community/NixOS-WSL/blob/main/flake.nix#L39 | 17:34:35 |
K900 | And then nix build .#nixosConfigurations.default.config.system.build.tarballBuilder | 17:34:48 |
K900 | And then run the result of that | 17:34:59 |
K900 | And that should produce a nixos.wsl you can install | 17:35:53 |
Pierre Carrier | that is one command | 17:41:54 |
K900 | At least two, technically | 17:42:09 |
Pierre Carrier | cool cool cool, thanks | 17:42:10 |
Pierre Carrier | it's happening. hype | 17:51:00 |
nzbr (they/it) | In reply to @ptramo:matrix.org yeah I can run nix in ubuntu in wsl right The CI images are built on Ubuntu, so that should work fine | 17:52:54 |
Pierre Carrier | yup it did, all working great | 17:57:04 |
Pierre Carrier | well no, can't use cursor. the ld trick doesn't work, the install script cannot find any command | 19:09:16 |
K900 | Depends on how the script is implemented | 19:11:05 |
K900 | Can't really help you with that | 19:11:11 |
K900 | And it's probably not aarch64 specific either | 19:11:19 |
Pierre Carrier | nope | 19:11:24 |
Pierre Carrier | https://github.com/zoid-archive/nixos-cursor-server mentions only partial work on wsl support. tried it anyway, no better | 19:12:08 |
tweber83 | Have you tried just using nix-ld to get it running?
https://nix-community.github.io/NixOS-WSL/how-to/vscode.html | 19:36:22 |