File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 9595 in rec {
9696 formatter = pkgs . alejandra ;
9797
98+ # TODO: generalise lotus v. azalea
9899 packages . default = packages . lotus ;
99100 packages . lotus = pkgs . stdenv . mkDerivation {
100101 name = "lotus" ;
113114
114115 sourceRoot = "." ;
115116
117+ # TODO: see how much of the below we can remove and still get a build.
116118 postPatch = ''
117119 mkdir .repo
118120
176178 build-system = [ pythonPkgs . setuptools ] ;
177179
178180 # The DYLD_LIBRARY_PATH part here is only needed for Darwin, but it
179- # doesn't harm Linux.
181+ # doesn't harm Linux. TODO: don't do on Linux.
180182 postPatch = ''
181183 sed -e 's#"/bin:/usr/bin"#"/bin:/usr/bin:${ pkgs . gcc } /bin:${ pkgs . dtc } /bin","DYLD_LIBRARY_PATH":"${ pkgs . dtc } /lib"#' -i zmake/jobserver.py
182184 '' ;
209211 ${ setProjectDynamicToLicense }
210212 '' ;
211213
212- makeWrapperArgs = [ "--set DYLD_LIBRARY_PATH ${ pkgs . dtc } /lib" ] ;
214+ # No wrapper => no need for args. I'd like to be able to still do this
215+ # to have a nicer binman derivation.
216+ # makeWrapperArgs = ["--set DYLD_LIBRARY_PATH ${pkgs.dtc}/lib"];
213217 } ;
214218
215219 packages . dtoc = pythonPkgs . buildPythonPackage {
248252 buildInputs = [ pythonPkgs . setuptools ] ;
249253 } ;
250254
255+ # TODO: local builds in your area
251256 devShells . default = pkgs . mkShell {
252257 buildInputs = with pkgs ; [
253258 zephyr-sdk
You can’t perform that action at this time.
0 commit comments