Skip to content
New issue

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

nixos-install does not have rmdir in PATH #237765

Open
jelle-bigbridge opened this issue Jun 14, 2023 · 2 comments
Open

nixos-install does not have rmdir in PATH #237765

jelle-bigbridge opened this issue Jun 14, 2023 · 2 comments

Comments

@jelle-bigbridge
Copy link
Contributor

Describe the bug

I'm trying to run nixos-install on a debian system. (Specifically the Hetzner linux64 rescue system) And I get an error about rmdir not being available

Steps To Reproduce

Steps to reproduce the behavior:

  1. Use a non-nixos installer system.
  2. Run a nixos-install command from the nixos-install-tools package
  3. The installer tries to install grub
  4. Something unrelated goes wrong (I was installing on an arm system, so it tried to install the arm64-efi platform and I didn't have an EFI directory)
  5. /nix/var/nix/profiles/system/sw/bin/bash: line 10: rmdir: command not found

Expected behavior

I guess rmdir should still work, so coretutils should be in PATH

Screenshots

image

Additional context

I'm using packer to create a nixos image on hetzner cloud

Notify maintainers

nixos-install-tools has no maintainers according to search.nixos.org

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

The machine is ephemeral, so I couldn't run this

@jelle-bigbridge
Copy link
Contributor Author

Hmm it actually seems that rmdir is still needed if the installation went succesfully:

image

@nicolaslt
Copy link

There's a newer bug report that feels like it's about the same problem, and has some pointers: #241356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants