Multiple Lix Releases have broken (impure) RPATHs #957
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#957
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I found this while investigating lix-project/lix-installer#47
Steps To Reproduce
releases.lix.systems
, extractldd /path/to/extracted/nix-store | grep -v "/nix/store/.*
(-v negates in grep)Release 2.93.3
Release 2.93.2
Clean bill of LDD Health!
Release 2.93.0
(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
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.
Absolutely, no rush! Happy to be of help.
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.
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.