liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (331B)


      1 { stdenv, openwrt }:
      2 stdenv.mkDerivation {
      3   name = "zyxel-bootconfig";
      4   inherit (openwrt) src;
      5   sourceRoot = "openwrt-source/package/utils/zyxel-bootconfig/src";
      6   installPhase = ''
      7     mkdir -p $out/bin
      8     install -Dm544 zyxel-bootconfig $out/bin/zyxel-bootconfig
      9   '';
     10   meta = {
     11     mainProgram = "zyxel-bootconfig";
     12   };
     13 }