summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index beff838..a3a964c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 {