Different result on `import ../path/default.nix` in flake.nix vs repl

I think it’s because of lack of builtins.currentSystem How to use builtins.currentSystem in flake output?