Delete prefetch-npm-deps hack since we dropped 23.11 #31

Merged
jade merged 1 commit from jade/fix-prefetchnpmdeps-hacks into main 2024-07-11 11:02:59 +00:00 AGit
Showing only changes of commit 587812bdb5 - Show all commits

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 { };