diff --git a/pkgs/default.nix b/pkgs/default.nix index 558e266..e2257b6 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -79,6 +79,7 @@ in { lzma = callPackage ./lzma {}; mac80211 = callPackage ./mac80211 {}; + zyxel-bootconfig = callPackage ./zyxel-bootconfig {}; min-collect-garbage = callPackage ./min-collect-garbage {}; min-copy-closure = callPackage ./min-copy-closure {}; netlink-lua = callPackage ./netlink-lua {}; diff --git a/pkgs/zyxel-bootconfig/default.nix b/pkgs/zyxel-bootconfig/default.nix new file mode 100644 index 0000000..ead47e6 --- /dev/null +++ b/pkgs/zyxel-bootconfig/default.nix @@ -0,0 +1,13 @@ +{ + stdenv +, openwrt +}: +stdenv.mkDerivation { + name = "zyxel-bootconfig"; + inherit (openwrt) src; + sourceRoot = "openwrt-source/package/utils/zyxel-bootconfig/src"; + installPhase = '' + mkdir -p $out/bin + install -Dm644 zyxel-bootconfig $out/bin/zyxel-bootconfig + ''; +}