this post was submitted on 17 Nov 2023
1 points (100.0% liked)

Nix

10 readers
1 users here now

founded 1 year ago
MODERATORS
 

Ok, maybe not everywhere, but at least in all my docker directories and some repo directories.

The symlink points to /nix/store/

This is what's in the target directory:

result
├── lib
│   └── locale
│       └── locale-archive
├── nix-support
│   └── setup-hook
└── share
    └── i18n
        └── SUPPORTED

How do I get it to stop creating this 'result' symlink all over the place? My google-fu failed to find me an answer.

-- A little more info for clarity: I'm currently running on Ubuntu, I used nix-env to install some apps in the past. What other info is relevant?

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago

Are you using nix-build or nix build a lot? These create result-symlinks to the resulting store-path in order to make it easier to access immediately after the build. They can be safely removed btw.