c5145b5fc9
Otherwise, it doesn't work well… Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
16 lines
334 B
Nix
16 lines
334 B
Nix
{
|
|
stdenv
|
|
, openwrt
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "zyxel-bootconfig";
|
|
inherit (openwrt) src;
|
|
sourceRoot = "openwrt-source/package/utils/zyxel-bootconfig/src";
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
install -Dm544 zyxel-bootconfig $out/bin/zyxel-bootconfig
|
|
'';
|
|
meta = {
|
|
mainProgram = "zyxel-bootconfig";
|
|
};
|
|
}
|