diff options
| -rw-r--r-- | flake.nix | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -135,10 +135,11 @@ | |||
| 135 | sourceRoot = "source/src"; | 135 | sourceRoot = "source/src"; |
| 136 | buildPhase = '' | 136 | buildPhase = '' |
| 137 | gcc -lz -o ubnt-mkfwimage ubnt-mkfwimage.c | 137 | gcc -lz -o ubnt-mkfwimage ubnt-mkfwimage.c |
| 138 | gcc -lz -o ubnt-fwsplit fwsplit.c | ||
| 138 | ''; | 139 | ''; |
| 139 | installPhase = '' | 140 | installPhase = '' |
| 140 | mkdir -p $out/bin | 141 | mkdir -p $out/bin |
| 141 | install -m 0555 -t $out/bin ubnt-mkfwimage | 142 | install -m 0555 -t $out/bin ubnt-mkfwimage ubnt-fwsplit |
| 142 | ''; | 143 | ''; |
| 143 | }; | 144 | }; |
| 144 | in { | 145 | in { |
