liminix

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

default.nix (334B)


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