Skip to content

Commit 4c358d4

Browse files
authored
Merge pull request #350 from nix-community/23.11
NixOS 23.11
2 parents c9d56cc + c75284d commit 4c358d4

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align=center>
22
NixOS on WSL<br />
33
<a href="https://matrix.to/#/#wsl:nixos.org"><img src="https://img.shields.io/matrix/wsl:nixos.org?server_fqdn=matrix.org&logo=matrix" alt="Matrix Chat" /></a>
4-
<a href="https://github.com/NixOS/nixpkgs/tree/nixos-23.05"><img src="https://img.shields.io/badge/nixpkgs-23.05-brightgreen" alt="nixpkgs 23.05" /></a>
4+
<a href="https://github.com/NixOS/nixpkgs/tree/nixos-23.11"><img src="https://img.shields.io/badge/nixpkgs-23.11-brightgreen" alt="nixpkgs 23.11" /></a>
55
<a href="https://github.com/nix-community/NixOS-WSL/releases"><img alt="Downloads" src="https://img.shields.io/github/downloads/nix-community/NixOS-WSL/total"></a>
66
</h1>
77

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "NixOS WSL";
33

44
inputs = {
5-
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
66
flake-utils.url = "github:numtide/flake-utils";
77

88
flake-compat = {
@@ -63,7 +63,7 @@
6363
system.activationScripts.create-test-entrypoint.text =
6464
let
6565
syschdemdProxy = pkgs.writeShellScript "syschdemd-proxy" ''
66-
shell=$(${pkgs.glibc.bin}/bin/getent passwd root | ${pkgs.coreutils}/bin/cut -d: -f7)
66+
shell=$(${pkgs.getent}/bin/getent passwd root | ${pkgs.coreutils}/bin/cut -d: -f7)
6767
exec $shell $@
6868
'';
6969
in

tests/shells.Tests.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ Describe "Shells" {
6262
}
6363
}
6464
It "should be possible to use nushell" {
65+
$distro.Launch("mkdir -p /home/nixos/.config/nushell")
66+
$LASTEXITCODE | Should -Be 0
67+
$distro.Launch("touch /home/nixos/.config/nushell/env.nu /home/nixos/.config/nushell/config.nu")
68+
$LASTEXITCODE | Should -Be 0
6569
Add-ShellTest "nushell" "nu"
6670
}
6771
It "should be possible to use xonsh" {

0 commit comments

Comments
 (0)