Skip to content
Discussion options

You must be logged in to vote

So, if it is working when you use a fish derivation, that should rule out something setting lib.mkForce and winning, or some weird interaction with users.defaultUserShell (or whatever it is)?

So, that is useful information.

https://github.com/NixOS/nixpkgs/blob/23d72dabcb3b12469f57b37170fcbc1789bd7457/nixos/lib/utils.nix#L148-L156

^ The logic they use to select it is strange, I am unsure why they select it from /run/current-system/sw like that.

Try doing users.users.<name>.shell = "${pkgs.urbash}/bin/bash"; ?

Not really sure why it would not work still, but that may be part of it?

I tested the wrapped bash on its own, just calling it in a shell, and the values from env option do seem to p…

Replies: 2 comments 20 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ameertaweel
Comment options

You must be logged in to vote
20 replies
@BirdeeHub
Comment options

@zenoli
Comment options

@BirdeeHub
Comment options

@zenoli
Comment options

@BirdeeHub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants