astro / nix-openwrt-imagebuilder

Build OpenWRT images in Nix derivations
MIT License
129 stars 16 forks source link

builder: Allow extra args #43

Closed pedorich-n closed 3 months ago

pedorich-n commented 3 months ago

This allows end users to easily pass extra arguments to stdenv without the need to use overrideAttrs. For example, I pass enableParallelBuilding = true;.

It also adds runHook {pre,post}Install, as it's recommended by nixpkgs manual.

astro commented 3 months ago

That is useful for sure. Thanks!