| 24 Aug 2025 |
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 |
Pierre Carrier | yes | 19:37:47 |
Pierre Carrier | that's what I called "the ld trick" sorry | 19:38:11 |
Pierre Carrier |  Download image.png | 19:41:28 |
K900 | There's presumably a bash script to bootstrap the server | 19:41:32 |
Pierre Carrier | fails like so | 19:41:36 |
K900 | Which presumably explodes | 19:41:36 |
Pierre Carrier | indeed | 19:41:42 |
K900 | Normal vscode works, fwiw | 19:41:53 |
Pierre Carrier | which is a tad weird because when launching from the CLI a bunch of stuff gets extracted already | 19:42:17 |
Pierre Carrier | well that's quite unfortunate, sadly I need it for work | 19:59:39 |