liminix/pkgs/zyxel-bootconfig/default.nix

14 lines
280 B
Nix
Raw Normal View History

{
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
'';
}