You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does the nixpkgs/nix-unstable Docker image not have nixos-rebuild or systemctl?
$ docker run --tty --interactive nixpkgs/nix-unstable
bash-5.2# nixos-rebuild
bash: nixos-rebuild: command not found
bash-5.2# systemctl
bash: systemctl: command not found
bash-5.2#
Even if that's expected for nixpks/nix-unstable, would you know why it's also the case for nixos/nix, which might be intended as a full NixOS install?
(I'm not sure what the difference between these images are, or what their intended for.)
It's a bit confusing but the container image are shipping the Nix binary. This is only the language and package manager of the full NixOS distribution.
Why does the
nixpkgs/nix-unstable
Docker image not havenixos-rebuild
orsystemctl
?Even if that's expected for
nixpks/nix-unstable
, would you know why it's also the case fornixos/nix
, which might be intended as a full NixOS install?(I'm not sure what the difference between these images are, or what their intended for.)
I asked similarly on Stack Overflow:
nixos-rebuild
command?The text was updated successfully, but these errors were encountered: