dmd: fix for #138376#138462
Conversation
autoPatchelfHook could not satisfy dependency ld-linux.so.2
|
No, this does not work. GLibc is already in propagatedBuildInputs and adding it to native build inputs changes nothing, at least for me. For me it seems it's looking for a linker, as a run-time dependency (but it wouldn't be first time I'm misreading error messages). I wonder why it compiled before but stopped now? |
|
If it's of any help commit b79483d pkgs/build-support/setup-hooks/auto-patchelf.sh | 95 ++++++++++++++++++------- |
|
Should've been fixed by #137886 |
|
Let's assume so for now. It hasn't hit the unstable channel in Hydra yet, though. I'll wait for that and then test. |
|
Sorry a bit late with the testing, but yes DMD 2.097 now builds again with unstable channel on NixOS. |
Motivation for this change
This is a suggested fix for #138376:
autoPatchelfHook could not satisfy dependency ld-linux.so.2. I don't have a Linux machine to test this right now, but will spin up a VM.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)