canon-capt: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 17:30:23 +01:00
parent 3b5a1ffe5a
commit 71f1a1053e
+1 -1
View File
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
# Fix for 'ppdc: Unable to find include file "<font.defs>"', which blocks '*.ppd' generation.
# Issue occurs in hermetic sandbox; this workaround is the current solution.
# Source: https://github.com/NixOS/nixpkgs/blob/9997402000a82eda4327fde36291234118c7515e/pkgs/misc/drivers/hplip/default.nix#L160
CUPS_DATADIR = "${cups}/share/cups";
env.CUPS_DATADIR = "${cups}/share/cups";
configurePhase = ''
runHook preConfigure