diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 17:20:30 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 17:20:30 +0100 |
commit | 799d882842d5263813840e2dfe1aa098634fa376 (patch) | |
tree | d33b3b0610be42e1be5aaf623323c9adc4e99b49 /flake.nix | |
parent | c1c82426d1b8a0f623ec453c09a62cd369eb294e (diff) | |
download | ap01-799d882842d5263813840e2dfe1aa098634fa376.tar ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.gz ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.bz2 ap01-799d882842d5263813840e2dfe1aa098634fa376.tar.xz ap01-799d882842d5263813840e2dfe1aa098634fa376.zip |
...
Diffstat (limited to 'flake.nix')
-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 { |