| 31 Mar 2024 |
eyJhb | In reply to @atemu12:matrix.org https://github.com/NixOS/nixpkgs/issues/89769 This issue is from 2020, we're using a 2021 nixpkgs version . But might be the issue? | 15:11:18 |
eyJhb | https://github.com/NixOS/nixpkgs/issues/89769#issuecomment-1837374922 | 15:12:55 |
eyJhb | I'm desperate enough to try that :P | 15:13:01 |
eyJhb | https://github.com/NixOS/nixpkgs/issues/103648 found this, had hope | 15:26:48 |
eyJhb | Only to realise that's already what we're doing. | 15:26:56 |
atemu12 | Oh | 15:31:38 |
eyJhb | I might have found a solution. | 15:54:24 |
eyJhb | Trying after this current bisect stage. | 15:54:47 |
eyJhb | https://github.com/NixOS/nixpkgs/issues/262775 | 16:11:41 |
eyJhb | I think I found the reason here. | 16:11:47 |
eyJhb | /usr/lib and /usr/lib32 was removed from LD_LIBRARYPATH in fhsenv. Adding them back as
in buildFHSUserEnv {
name = "robotnix-build";
targetPkgs = pkgs: config.envPackages;
multiPkgs = pkgs: with pkgs; [ zlib ];
profile = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32
'';
};
| 16:12:23 |
eyJhb | * /usr/lib and /usr/lib32 was removed from LD_LIBRARYPATH in fhsenv. Adding them back as
in buildFHSUserEnv {
name = "robotnix-build";
targetPkgs = pkgs: config.envPackages;
multiPkgs = pkgs: with pkgs; [ zlib ];
profile = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32
'';
};
Seems to fix the issue. Currently trying to build.
| 16:12:37 |