Open rvolosatovs opened 2 years ago
cc @platten
Maybe the same issue? - I have a flake input
all-cabal-hashes = {
type = "github";
owner = "commercialhaskell";
repo = "all-cabal-hashes";
ref = "hackage";
flake = false;
};
Linux locked it as
"all-cabal-hashes": {
"flake": false,
"locked": {
"lastModified": 1722379361,
"narHash": "sha256-VMUGBZGaiyDrikZh/t2/M7QKekOkK1auPtK2KmnakZ8=",
"owner": "commercialhaskell",
"repo": "all-cabal-hashes",
"rev": "69c9ea6a7746281865968fdccf00a07f5e1bdc04",
"type": "github"
},
"original": {
"owner": "commercialhaskell",
"ref": "hackage",
"repo": "all-cabal-hashes",
"type": "github"
}
},
But my macos-12 and macos-14 builds are failing with
error: NAR hash mismatch in input 'github:commercialhaskell/all-cabal-hashes/69c9ea6a7746281865968fdccf00a07f5e1bdc04' (/nix/store/lqbmmlsbfi3fkgh1a347w9dzyh5gsg68-source), expected 'sha256-VMUGBZGaiyDrikZh/t2/M7QKekOkK1auPtK2KmnakZ8=', got 'sha256-YFS/p3gXpw5hU/3IVwdZ/yDWogb9r3XRYHroZuI8BkI='
All three runners are getting Nix 2.20.5.
Describe the bug
Fetching and unpacking of the same url https://github.com/enarx/linux/archive/refs/tags/v5.19-rc7-enarx-1.tar.gz results in two different hashes on MacOS and Linux (NixOS)
Steps To Reproduce
On NixOS:
On MacOS:
Expected behavior
I'd expect both hashes to match
nix-env --version
output