Multiple Lix Releases have broken (impure) RPATHs #957

Closed
opened 2025-08-12 18:22:08 +00:00 by sohamg · 4 comments

Describe the bug

I found this while investigating lix-project/lix-installer#47

Steps To Reproduce

  • Grab a release tarball from releases.lix.systems, extract
  • Run ldd /path/to/extracted/nix-store | grep -v "/nix/store/.* (-v negates in grep)

Release 2.93.3

image

Release 2.93.2

Clean bill of LDD Health!

Release 2.93.0

image

(assuming the not founds are because I don't have those store paths)

Expected behavior

Nix release should be a complete store closure with no RPATHs outside the store

Additional context

This is a big roadblock for the curl pipe bash installer for installing lix as a guest on non nixos systems

## Describe the bug I found this while investigating https://git.lix.systems/lix-project/lix-installer/issues/47 ## Steps To Reproduce - Grab a release tarball from `releases.lix.systems`, extract - Run `ldd /path/to/extracted/nix-store | grep -v "/nix/store/.*` (-v negates in grep) Release 2.93.3 ![image](/attachments/5c7c2115-3bcc-4188-b579-9fe5f48d397c) Release 2.93.2 Clean bill of LDD Health! Release 2.93.0 ![image](/attachments/6f4efdb3-007e-494e-aa74-18e2bdc281ba) (assuming the not founds are because I don't have those store paths) ## Expected behavior Nix release should be a complete store closure with no RPATHs outside the store ## Additional context This is a big roadblock for the curl pipe bash installer for installing lix as a guest on non nixos systems
Owner

Thanks for the report, I am currently on vacations and some other team members are also resting, so it may take us one week or two to get back to you, but this seems very important.

Thanks for the report, I am currently on vacations and some other team members are also resting, so it may take us one week or two to get back to you, but this seems very important.
Author

Absolutely, no rush! Happy to be of help.

Absolutely, no rush! Happy to be of help.
Member
* Grab a release tarball from `releases.lix.systems`, extract

* Run `ldd /path/to/extracted/nix-store | grep -v "/nix/store/.*` (-v negates in grep)

That's not how it works. The file contains absolute RUNPATHS into the store so you have to actually put it there, otherwise it will fall back to trying to load the libraries elsewhere.

> * Grab a release tarball from `releases.lix.systems`, extract > > * Run `ldd /path/to/extracted/nix-store | grep -v "/nix/store/.*` (-v negates in grep) That's not how it works. The file contains absolute RUNPATHS into the store so you have to actually put it there, otherwise it will fall back to trying to load the libraries elsewhere.
Member

The rpaths are working. What I can see after an install attempt on a Fedora server VM is /nix/store/1k1bnir265n7jpbmwinj8hiwygnwrw3s-aws-c-common-0.9.27 being a symlink to itself, which may be a bug in the installer but certainly not in Lix.

The rpaths are working. What I can see after an install attempt on a Fedora server VM is `/nix/store/1k1bnir265n7jpbmwinj8hiwygnwrw3s-aws-c-common-0.9.27` being a symlink to itself, which may be a bug in the installer but certainly not in Lix.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#957
No description provided.