Delete prefetch-npm-deps hack since we dropped 23.11

The fix upstream is in 24.05 at release, so no need for the hack
anymore.
ddb94deafa
This commit is contained in:
jade 2024-06-27 13:33:12 -07:00
parent 5d9d94089f
commit 587812bdb5

View file

@ -28,10 +28,6 @@ let
nix = final.nixVersions.nix_2_18_upstream; nix = final.nixVersions.nix_2_18_upstream;
}); });
inherit (prev) lib;
prefetch-npm-deps-args = lib.functionArgs prev.prefetch-npm-deps.override;
warning = '' warning = ''
warning: You have the lix overlay included into a nixpkgs import twice, warning: You have the lix overlay included into a nixpkgs import twice,
perhaps due to the NixOS module being included twice, or because of using perhaps due to the NixOS module being included twice, or because of using
@ -80,14 +76,6 @@ let
} }
); );
# support both having and missing https://github.com/NixOS/nixpkgs/pull/304913
prefetch-npm-deps =
if (prefetch-npm-deps-args ? nix) || (prefetch-npm-deps-args == {})
then prev.prefetch-npm-deps.override {
nix = final.nixVersions.nix_2_18_upstream;
}
else prev.prefetch-npm-deps;
nix-doc = prev.callPackage ./nix-doc/package.nix { withPlugin = false; }; nix-doc = prev.callPackage ./nix-doc/package.nix { withPlugin = false; };
pegtl = prev.callPackage ./pegtl.nix { }; pegtl = prev.callPackage ./pegtl.nix { };