mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
fix: only use pure translator translateBin if its a pure translator
This commit is contained in:
parent
819f52348b
commit
011e3dbd27
@ -17,7 +17,10 @@
|
||||
}
|
||||
);
|
||||
translateBin =
|
||||
framework.functions.translators.wrapPureTranslator
|
||||
{inherit (config) subsystem name;};
|
||||
if config.translate != null
|
||||
then
|
||||
framework.functions.translators.wrapPureTranslator
|
||||
{inherit (config) subsystem name;}
|
||||
else framework.lib.mkForce config.translateBin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user