You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a while trying to build helix master with home-manager fails with:
error: builder for '/nix/store/m74b129fkw72zxlkbpccgpqkaimqna8z-cargo-1.65.0-x86_64-unknown-linux-gnu.drv' failed with exit code 1;
last 10 log lines:
> searching for dependencies of /nix/store/pls2ibl2pv2pklkidszahbiv0hrbdvvv-cargo-1.65.0-x86_64-unknown-linux-gnu/libexec/cargo-credential-1password
> libgcc_s.so.1 -> not found!
> auto-patchelf: 2 dependencies could not be satisfied
> error: auto-patchelf could not satisfy dependency libgcc_s.so.1 wanted by /nix/store/pls2ibl2pv2pklkidszahbiv0hrbdvvv-cargo-1.65.0-x86_64-unknown-linux-gnu/bin/cargo
> error: auto-patchelf could not satisfy dependency libgcc_s.so.1 wanted by /nix/store/pls2ibl2pv2pklkidszahbiv0hrbdvvv-cargo-1.65.0-x86_64-unknown-linux-gnu/libexec/cargo-credential-1password
> auto-patchelf failed to find all the required dependencies.
> Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.
> /nix/store/aa283g93zqf3111m66kawl6d5z3wlawd-stdenv-linux/setup: line 79: pop_var_context: head of shell_variables not a function context
> /nix/store/aa283g93zqf3111m66kawl6d5z3wlawd-stdenv-linux/setup: line 1457: pop_var_context: head of shell_variables not a function context
> /nix/store/aa283g93zqf3111m66kawl6d5z3wlawd-stdenv-linux/setup: line 1594: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/m74b129fkw72zxlkbpccgpqkaimqna8z-cargo-1.65.0-x86_64-unknown-linux-gnu.drv'.
But I'm not sure how I can fix it in my setup.
If I run nix shell github:helix-editor/helix --command hx I don't get the same issue, so I'm guessing it's something to do with the combination of home-manager and helix?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Since a while trying to build helix master with home-manager fails with:
I know that something changed in nix that causes this, for example see this disuccsion: oxalica/rust-overlay#123 (comment) or this: NixOS/nixpkgs#226479
But I'm not sure how I can fix it in my setup.
If I run
nix shell github:helix-editor/helix --command hx
I don't get the same issue, so I'm guessing it's something to do with the combination of home-manager and helix?Beta Was this translation helpful? Give feedback.
All reactions