tokstat: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 17:43:17 +01:00
parent c2b6f72cc9
commit a9e383b17c
+3 -1
View File
@@ -35,7 +35,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
# For keyring support
PKG_CONFIG_PATH = lib.optionalString stdenv.hostPlatform.isLinux "${dbus.dev}/lib/pkgconfig";
env = lib.optionalAttrs stdenv.hostPlatform.isLinux {
PKG_CONFIG_PATH = "${dbus.dev}/lib/pkgconfig";
};
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
# Generate shell completions