Failed to build
Closed this issue · 2 comments
hissssst commented
error: builder for '/nix/store/304wps43rwba4hvvmbhasfnh21y8365f-python3.11-deal-4.24.2.drv' failed with exit code 1;
last 10 log lines:
> FAILED tests/test_testing.py::test_type_var - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_decorator_div1_smoke - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_decorator_div2_smoke - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_decorator_rejects_bad - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_run_ok - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_example - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_testing.py::test_concat - AttributeError: module 'typeguard' has no attribute 'CallMemo'
> FAILED tests/test_cli/test_test.py::test_no_violations - assert 1 == 0
> ==== 18 failed, 996 passed, 20 deselected, 18 warnings in 116.33s (0:01:56) ====
> /nix/store/bbxdw4rgwwl3gnajri82yidr1nlsfskf-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/304wps43rwba4hvvmbhasfnh21y8365f-python3.11-deal-4.24.2.drv'.
error: 1 dependencies of derivation '/nix/store/swlhma05nqlwgf9hmcdb0838ddavvqkx-python3.11-icontract-2.6.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q1fv04yq72123qspdysnb7mza75ncfcr-python3.11-pylddwrap-1.2.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/44c3wcxwsadafx59axr0yrc833mij6ng-nix-alien-0.1.0+git20231027004718.drv' failed to build
flake.lock with version:
"nix-alien": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils_2",
"nix-filter": "nix-filter",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1698367638,
"narHash": "sha256-8g4HAU+kwTxb/RZBFxJw3wLckMGpKdN+7yDbTIGupVU=",
"owner": "thiagokokada",
"repo": "nix-alien",
"rev": "7b3be1a706c8db4dcca777b6638bdb2ca4849176",
"type": "github"
},
"original": {
"owner": "thiagokokada",
"repo": "nix-alien",
"type": "github"
}
},
It was added without follows
in inputs
thiagokokada commented
Will be fixed by NixOS/nixpkgs#264657 (edit: NixOS/nixpkgs#264772), but you shouldn't use inputs.nixpkgs.follows.inputs
.
It was added without follows in inputs
I find this highly unlikely, can you post your full flake.lock
?
thiagokokada commented
Found the issue, should be fixed with 110660c.
So from what I understood here even if you pin your dependencies it can still use the wrong default from one nixpkgs from another. Really interesting stuff.