8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
12 lines
394 B
Nix
12 lines
394 B
Nix
{ pkgs, lib, config, ... }:
|
|
{
|
|
meta.maintainers = [ lib.maintainers.mic92 ];
|
|
options = {
|
|
programs.nix-ld.enable = lib.mkEnableOption ''nix-ld, Documentation: <link xlink:href="https://github.com/Mic92/nix-ld"/>'';
|
|
};
|
|
config = lib.mkIf config.programs.nix-ld.enable {
|
|
systemd.tmpfiles.rules = [
|
|
"L+ ${pkgs.nix-ld.ldPath} - - - - ${pkgs.nix-ld}/libexec/nix-ld"
|
|
];
|
|
};
|
|
}
|