That recomputes the output - see Using nixpkgs.legacyPackages.${system} vs import. Ideally Nix would memoise function applications given the same input - but that’s not the case, so we want to reuse our result where possible.
2 Likes