Open mikroskeem opened 8 months ago
I can reproduce this when trying out examples/rust-httpserver-flake
, by running nix flake update nixpkgs --override-flake nixpkgs github:NixOS/nixpkgs/3ce0ea52a0a71ac04f4ce0a2c8a629e02a4e6279
, and then docker build -f flake.nix .
.
Where did you encounter this? I think this might be a problem with buildRustPackage
, not this repository. [Edit:] Mh, or maybe it is this repository. Just doing docker run --rm -ti nixos/nix:2.18.9 nix -vvL --extra-experimental-features 'nix-command flakes' build 'git+https://github.com/reproducible-containers/buildkit-nix/?dir=examples/rust-httpserver-flake&rev=00854fe101ddad3d9e97f571eea1eb7f07311268' --override-input nixpkgs github:NixOS/nixpkgs/3ce0ea52a0a71ac04f4ce0a2c8a629e02a4e6279
does not lead to this problem.
Whether it is related to buildRustPackage
or not (but you already mentioned in the edit it's working with upstream raw Nix image), this issue still implies that there is setup bug somewhere.
docker system info
: