mirror of
https://github.com/NixOS/nix
synced 2024-09-19 10:50:24 -04:00
a9e01f429f
In my system, sudo is a symlink to doas. The thing is that they behave differently:: $ sudo KEY=value echo good good $ doas KEY=value echo bad doas: KEY=value: command not found The syntax of K=v before a command is only valid in a shell. But from what I understand, doas runs the command directly. So the fix is to prepend with "env": $ doas env KEY=value echo good good |
||
---|---|---|
.. | ||
bigsur-nixbld-user-migration.sh | ||
check-hydra-status.sh | ||
create-darwin-volume.sh | ||
install-darwin-multi-user.sh | ||
install-multi-user.sh | ||
install-nix-from-closure.sh | ||
install-systemd-multi-user.sh | ||
install.in | ||
local.mk | ||
nix-profile-daemon.fish.in | ||
nix-profile-daemon.sh.in | ||
nix-profile.fish.in | ||
nix-profile.sh.in | ||
prepare-installer-for-github-actions |