Closed andersk closed 3 years ago
See also NixOS/nixpkgs#111284, which specifically notes that stdenv.lib
will be removed in NixOS 21.11. I assume this will happen in nixpkgs-unstable
not long after 21.05 is branched.
@nbp can we get this merged?
21.05 released on May 31st, so this is now an issue for people on NixOS stable as well.
A quick temporary fix is to replace the URL to nixpkgs-mozilla with @andersk's fork:
mozillapkgs = {
url = "github.com:andersk/nixpkgs-mozilla/stdenv.lib";
flake = false;
}
stdenv.lib
has now actually been removed (NixOS/nixpkgs#125494), leading to fatal errors in nixos-unstable.
error: attribute 'lib' missing, at …/nixpkgs-mozilla/rust-overlay.nix:296:30
@nbp Please merge this.
Is there a reason this PR hasn't been merged? I skimmed through the changes and am using the branch personally, so I'm wondering if there's another reason preventing it.
@rail
@nbp - Can you please take a look at this and merge if possible? The overlay is broken in its current state.
Fixes this message in NixOS 21.05:
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
See NixOS/nixpkgs#108938.
(In case you’re worried about backwards compatibility:
lib
andstdenv.lib
have both been there since 2007, withlib
being a few commits older.)