nix icon indicating copy to clipboard operation
nix copied to clipboard

GC Warning: pthread_getattr_np when trying to install nix package manager

Open Sailoshi opened this issue 6 years ago • 5 comments

When installing the nix package manager by the following description https://chris-martin.org/2016/installing-nix-package-manager im always getting the following errors. After the installation i can't use the nix-shell command either without getting the GC error.

`copying Nix to /nix/store................................ GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread installing 'nix-2.3.1' building '/nix/store/cb6ss4jv8baxkq2pi6fnviqp9zyna73l-user-environment.drv'... created 6 symlinks in user environment GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread unpacking channels... GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread created 1 symlinks in user environment

Installation finished! To ensure that the necessary environment variables are set, either log in again, or type`

/etc/nix/nix.conf with the sandbox=false property is set.

Thanks

Best regards

Sailoshi avatar Nov 22 '19 13:11 Sailoshi

On what distribution / architecture is this?

edolstra avatar Nov 22 '19 13:11 edolstra

I marked this as stale due to inactivity. → More info

stale[bot] avatar Feb 16 '21 07:02 stale[bot]

I closed this issue due to inactivity. → More info

stale[bot] avatar Apr 29 '22 00:04 stale[bot]

Same issue I meet recentlly.

NixOs 23.11 is running on vaware platform.

alienzj avatar May 16 '24 08:05 alienzj

image

alienzj avatar May 16 '24 08:05 alienzj