|
85 | 85 | kubectl
|
86 | 86 | kubectx
|
87 | 87 | kubernetes-helm
|
| 88 | +lazygit |
88 | 89 | less
|
89 | 90 | mockgen
|
90 | 91 | moreutils
|
|
144 | 145 | name="coder-${osArch}";
|
145 | 146 | # Updated with ./scripts/update-flake.sh`.
|
146 | 147 | # This should be updated whenever go.mod changes!
|
147 |
| -vendorHash="sha256-Tsajkkp+NMjYRCpRX5HlSy/sCSpuABIGDM1jeavVe+w="; |
| 148 | +vendorHash="sha256-ykLZqtALSvDpBc2yEjRGdOyCFNsnLZiGid0d4s27e8Q="; |
148 | 149 | proxyVendor=true;
|
149 | 150 | src=./.;
|
150 | 151 | nativeBuildInputs=withpkgs;[getoptopensslzstd];
|
|
156 | 157 | runHook preBuild
|
157 | 158 |
|
158 | 159 | # Unpack the site contents.
|
159 |
| - mkdir -p ./site/out |
| 160 | + mkdir -p ./site/out ./site/node_modules/ |
160 | 161 | cp -r${buildSite.out}/* ./site/out
|
| 162 | + touch ./site/node_modules/.installed |
161 | 163 |
|
162 | 164 | # Build and copy the binary!
|
163 | 165 | export CODER_FORCE_VERSION=${version}
|
164 |
| - make -j build/coder_${osArch} |
| 166 | + # Flagging 'site/node_modules/.installed' as an old file, |
| 167 | + # as we do not want to trigger codegen during a build. |
| 168 | + make -j -o 'site/node_modules/.installed' build/coder_${osArch} |
165 | 169 | '';
|
166 | 170 | installPhase=''
|
167 | 171 | mkdir -p $out/bin
|
|