-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
bug: error: 'utillinux' has been renamed to/replaced by 'util-linux' #5991
Comments
This is an upstream issue with the node-env package in nixpkgs. I was able to work around this in my flake by pointing nixpkgs to nixpkgs-unstable. |
@robhanlon22 my nixpkgs is nixpkgs-unstable: |
I guess I'll wait for the upstream fix and see what shakes in a day or two. |
@elmarsto you’re on nixos-unstable, which lags behind nixpkgs-unstable. |
@robhanlon22 Thank you! That was it! Make sure you are referencing |
They’re so easy to mix up! |
Note that running from nixpkgs-unstable is quite adventurous and not something I would recommend long-term. |
Hey, I am facing the same error but I am not using flakes I did the standalone install, what should I do in my case? |
You can create an overlay with an alias to the old package name until the fix has reached your nixpkgs branch. Something long these lines should work: nixpkgs.overlays = [ (self: super: { utillinux = super.util-linux; })]; |
Thx will try |
Hey, it not did it for me {
config,
pkgs,
lib,
...
}:
let
nixgl = import <nixgl> { };
nixpkgsUnstable = import <nixpkgs-unstable> { };
in
{
nixpkgs.overlays = [
(self: super: {
utillinux = super.util-linux;
})
];
...
} But doing Tried to use Still a bit noob with the hole nix and home-manager stuff, so please bear with me. |
worked for me by adding it in |
I am on arch linux and i only have a home.nix file with the contents i posted above. Do i need to do something extra since i am not using nixos? |
not sure, but you should have at least a configuration module called by your flake (same as your home-manager), that's the way I installed it on a macbook, it seems this is where you should add it |
I do not use flakes, i did the standalone installation, after installing nix using the single-user installation. |
and you don't have any |
nope, no file there |
I managed to fix this using the overlay given above by following this material: https://nixos-and-flakes.thiscute.world/nixpkgs/overlays I had to create a separate module, I couldn't find a place to drop the snippet directly into my |
Set `nixpkgs` to follow `nixpkgs-unstable` instead of `nixos-unstable` due to nix-community/home-manager#5991, caused by NixOS/nixpkgs@a9e1f4e reverted by NixOS/nixpkgs#349783 Should eventually be fixed in home-manager itself. Also pointed scientific-fhs to my fork: * new Julia versions * work around olynch/scientific-fhs#20
Set `nixpkgs` to follow `nixpkgs-unstable` instead of `nixos-unstable` due to nix-community/home-manager#5991, caused by NixOS/nixpkgs@a9e1f4e reverted by NixOS/nixpkgs#349783 Should eventually be fixed in home-manager itself. Also pointed `scientific-fhs` to my fork: * new Julia versions * work around olynch/scientific-fhs#20 Everything caused because I need this pull request catppuccin/nix#358 for KDE theming.
…a depedency is broken thanks to utillinux being renamed to util-linux
Home Manager itself has no reference to utillinux, so I think this can be closed. Any problem you encounter w.r.t utillinux will be due to something external to HM. |
Are you following the right branch?
Is there an existing issue for this?
Issue description
flake-based config ran fine until build today. Last build was a week ago, maybe two. Did
nix flake update
(this is flake-based build) and thenhome-manager switch --flake
. Got:Maintainer CC
No response
System information
The text was updated successfully, but these errors were encountered: