Commit Graph

3 Commits

Author SHA1 Message Date
Jonas Chevalier
c3ef726ee1
nixos/ldso: avoid instance of nixpkgs (#288509)
Follow-up to #269551

Avoid creating a new instance of nixpkgs to access two variables.
`pkgs.pkgsi686Linux` was being accessed whenever the feature is being
used or not.

A second instance of nixpkgs is being created in
`nixos/modules/config/stub-ld.nix` and can be disabled by setting
`environment.ldso32 = null` or `environment.stub-ld.enable = false`.

Both combined fixes this error:

    error: attribute 'i686-linux' missing
2024-02-15 13:01:03 +01:00
K900
1950eec4aa nixos/ldso: remove string context from linker soname
Unbreaks installer tests that otherwise start depending on i686-glibc
2023-12-15 12:39:26 +03:00
Jeff Huffman
bf6f0d3cf4
nixos/ldso: init module 2023-12-03 16:23:44 -05:00