Skip to content

Commit 0a3fda2

Browse files
committed
remove 24.05 compatibility code / documentation
1 parent b87a451 commit 0a3fda2

File tree

4 files changed

+2
-24
lines changed

4 files changed

+2
-24
lines changed

docs/src/how-to/nix-flakes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Below is a minimal `flake.nix` for you to get started:
1818
modules = [
1919
nixos-wsl.nixosModules.default
2020
{
21-
system.stateVersion = "24.05";
21+
system.stateVersion = "25.05";
2222
wsl.enable = true;
2323
}
2424
];

docs/src/how-to/vscode.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@ environment.systemPackages = [
1818
[nix-ld](https://github.com/Mic92/nix-ld) is a program that provides `/lib64/ld-linux-x86-64.so.2`,
1919
allowing foreign binaries to run on NixOS.
2020

21-
Running the VSCode server on NixOS-WSL requires using nix-ld 2.0 which is as of writing only on NixOS unstable or [nix-ld-rs](https://github.com/nix-community/nix-ld-rs) on NixOS 24.05.
22-
2321
To set it up, add the following to your configuration:
2422

2523
```nix
26-
programs.nix-ld = {
27-
enable = true;
28-
package = pkgs.nix-ld-rs; # only for NixOS 24.05
29-
};
24+
programs.nix-ld.enable = true;
3025
```
3126

3227
## Option 2: Patch the server

modules/24.05-compat.nix

Lines changed: 0 additions & 13 deletions
This file was deleted.

modules/default.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{ lib, ... }: {
22
imports = [
3-
# required for options from 24.11 to work on 24.05
4-
# TODO: remove when 24.11 becomes stable
5-
./24.05-compat.nix
6-
73
./build-tarball.nix
84
./docker-desktop.nix
95
./interop.nix

0 commit comments

Comments
 (0)