File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 = {
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
Original file line number Diff line number Diff 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" {
You can’t perform that action at this time.
0 commit comments