summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-06 17:20:30 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-06 17:20:30 +0100
commit799d882842d5263813840e2dfe1aa098634fa376 (patch)
treed33b3b0610be42e1be5aaf623323c9adc4e99b49
parentc1c82426d1b8a0f623ec453c09a62cd369eb294e (diff)
downloadap01-799d882842d5263813840e2dfe1aa098634fa376.tar
ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.gz
ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.bz2
ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.xz
ap01-799d882842d5263813840e2dfe1aa098634fa376.zip
...
-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 {