-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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 fails to build: iproute2-6.5.0/etc': No such file or directory #263445
Comments
Same for me. |
The fix is in #262767 |
@spacekitteh how did you fix this? |
It looks like it'll probably be in unstable soon if you can wait. It doesn't seem to have worked or I have some other bug, but you may have luck with what I tried doing: use a derivation directly from a nixpkgs pull requestadd inputnixpkgs-iproute2-ifd.url = "github:nixos/nixpkgs/pull/242453/head"; taking advantage of lexical scoping to get at flake inputs from overlay (not sure how to do this without)nixpkgs.overlays = [
(final: prev: {
iproute2 = flake.inputs.nixpkgs-iproute2-fix.legacyPackages.${final.stdenv.system}.iproute2;
})
]; |
I had to disable the Mullvad module by commenting out Thus, it seems the Mullvad module needs to be updated. |
@naturallaw777 I think that the mullvad module enables the iproute2 module, so is it perhaps that without mullvad, you're not requiring |
@purcell thanks for thoughts on this... I don't have Should I explicitly put the |
Yes, it is not Mullvad per say. It is the broken iproute2 module ( |
@naturallaw777 this link might help you: https://nixpk.gs/pr-tracker.html?pr=262767 |
I feel like every time I run |
The issue tracker is the wrong place for useless comments like that. |
For anyone having an issue with this temp fix: add inputnixpkgs-iproute2-fix.url = "github:nixos/nixpkgs/pull/242453/head"; taking advantage of lexical scoping to get at flake inputs from overlay (not sure how to do this without)nixpkgs.overlays = [
(final: prev: {
iproute2 = flake.inputs.nixpkgs-iproute2-fix.legacyPackages.${final.stdenv.system}.iproute2;
})
];
He made a typo, the input is called `nixpkgs-iproute2-ifd` the overlay calls for `nixpkgs-iproute2-fix`
Just change the input to `nixpkgs-iproute2-fix` Thanks to @ardishco-the-great, he brought this issue to my attention |
@ParetoOptimalDev thanks for the fix, keep up the good work! 👍 |
Same here, i figured it out by commeting out parts of my config until it started to work again lmao, is there a smarter way to do this? The rebuild trace doesn't even mention mullvad |
@IogaMaster You should presumably prefer to overlay the merged fix PR #262767, not the unmerged #242453, no? |
The fix PR has hit |
Yeah, I was just fixing the typo |
Describe the bug
I was just trying to upgrade my NixOS installation to current nixos-unstable (2023-10-24) but the build fails with the following error:
Seems like iproute2's
etc
is missing?I'm not sure what other data might be helpful.
Metadata
The text was updated successfully, but these errors were encountered: