Hi,

I'm trying to build a gem that has vendored a statically compiled program
(that still depends on /lib64/ld-linux-x86-64.so.2).

I've tried to use patchelf in the postBuild in a bundlerEnv, but it's
complaining about not having write permissions to $out

I wrote a one-liner to check for .nix files that contained both the words
bundlerEnv and patchelf, but only the top-level/all-packages.nix matched
both.

I tried to create another derivation, that pulls all file in from the
bundlerEnv, and then patches the elf file, but it's resulting in the same
error message.

A nix-expression that reproduces this error is attached.

Attachment: default.nix
Description: Binary data

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to