We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to add unstable.powershell to environment.shells or users.extraUsers.<username>.shell results in the following error:
unstable.powershell
environment.shells
users.extraUsers.<username>.shell
error: /nix/store/4km9l5rdin6iz57g3p229v92jbl1cg5w-powershell-6.0.4 is not a shell package
Add the following to your configuration.nix:
let unstable = import <unstable> {}; { environment.systemPackages = [ unstable.powershell ]; environment.shells = [ unstable.powershell ]; users.extraUsers.test = { isNormalUser = true; uid = 1000; shell = unstable.powershell; }; }
- system: `"x86_64-linux"` - host os: `Linux 4.14.67, NixOS, 18.03.133174.edd63e05d1e (Impala)` - multi-user?: `yes` - sandbox: `no` - version: `nix-env (Nix) 2.0.4` - channels(root): `"nixos-18.03.133174.edd63e05d1e, unstable"` - channels(amandac): `"nixpkgs-18.09pre150352.7c826371c49"` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
The text was updated successfully, but these errors were encountered:
passhtru.shellPath would need to be defined for powershell, see, for example, fish:
passhtru.shellPath
powershell
nixpkgs/pkgs/shells/fish/default.nix
Lines 172 to 174 in 03b89e3
Sorry, something went wrong.
Adding passthru to ion shell to allow using it as a login shell as ad…
89c2324
…vised for a similar case in NixOS#45830
13b0141
13daafc
…vised for a similar case in NixOS#45830 (cherry picked from commit 89c2324)
powershell: set shellPath
ebc3c33
Fixes NixOS#45830 (cherry picked from commit 13b0141)
No branches or pull requests
Issue description
Attempting to add
unstable.powershell
toenvironment.shells
orusers.extraUsers.<username>.shell
results in the following error:Steps to reproduce
Add the following to your configuration.nix:
Technical details
The text was updated successfully, but these errors were encountered: