NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.98k stars 13.99k forks source link

openresolv: `resolvconf -R` fails #345873

Open sshilovsky opened 3 weeks ago

sshilovsky commented 3 weeks ago

Describe the bug

resolvconf -R doesn't work

Steps To Reproduce

# resolvconf -R
/nix/store/9pz9csgz4ajhxmnn8pj0lxhv4nz7fysz-openresolv-3.13.2/sbin/.resolvconf-wrapped: line 779: sed: command not found

Expected behavior

no error, valid output

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.44, NixOS, 24.05 (Uakari), 24.05.3690.21cc704b5e91`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-24.05, nixos-unstable"`

Add a :+1: reaction to issues you find important.

plul commented 3 weeks ago

Been reported before. Conclusion is not worth it to add sed dependency. See

https://github.com/NixOS/nixpkgs/pull/243691