In reply to @winterqt:nixos.devwhat hook, what do you mean? were you modifying the package in some way or something?
ah
can i see it (the old version at least)/get steps to reproduce your issue? want to debug why that's happening :)
Add that to nativeBuildInputs of packages and then svgo should complain when NODE_OPTIONS is set.
compress-website = callPackage ({ }: makeSetupHook { name = "compress-website"; deps = [ nodePackages.svgo ]; } ./compress-website.sh) { };
fixupOutputHooks+=('compressWebsite "$prefix"') compressWebsite() { time svgo "$1" }
In reply to @sandro:supersandro.deAdd that to nativeBuildInputs of packages and then svgo should complain when NODE_OPTIONS is set. compress-website = callPackage ({ }: makeSetupHook { name = "compress-website"; deps = [ nodePackages.svgo ]; } ./compress-website.sh) { }; fixupOutputHooks+=('compressWebsite "$prefix"') compressWebsite() { time svgo "$1" }