| 13 Jan 2026 |
emily | I imagine we could cook up a global config option if one doesn't already exist | 13:00:26 |
emily | no there's just nothing forcing us to clean up after people move away from old crap like scons | 13:01:34 |
emily | they're in the list solely for a check that they don't get built multiple times during bootstrap | 13:02:10 |
emily | so <=1 builds passes | 13:02:22 |
emily | and the scons override is just dead code | 13:02:30 |
emily | if you want to continue then I'd try bisecting feature flags between python3Minimal and our python3-bootstrap. some of the additional stuff is needed for Meson and the LLVM build system, but it's likely to can find lots of stuff to turn off that trims packaged from the final list without breaking the build | 13:04:26 |
emily | again with no guarantee that we'll want to actually do that but | 13:04:40 |
emily | I think it'll be educational if nothing else | 13:04:49 |
emily | (and I personally think trimming such does is worthwhile because it lowers the things we get pinged for to check after it turns out they rebuild the bootstrap) | 13:05:23 |
emily | (but ofc if Swift is going to pull in lots of stuff in a more non-negotiable way - maybe the effort just gets undone soon) | 13:05:51 |
Randy Eckenrode | Swift pulls in Rust because Swift Build is using oxipng for https://github.com/reckenrode/nixpkgs/blob/swift-update-mk2/pkgs/by-name/sw/swiftPackages/by-name/sw/swift-build/extra-bins/copypng | 13:44:59 |
Randy Eckenrode | We can use something else that doesn’t pull Rust. Just need the flags. | 13:45:26 |
emily | or we can just make it not use compression during bootstrap? | 13:46:53 |
emily | or just never do compression? | 13:46:59 |
emily | oxipng is kinda slow and I don't think resource PNGs are going to be a substantial contributor to Nix disk use | 13:47:24 |
Randy Eckenrode | But for the code signing actions, we may need rcodesign, so it may not be worth the effort. | 13:47:50 |
emily | I'd rather use oxipng over any alternative, but certainly I doubt we use it for bootstrap | 13:48:03 |
emily | true | 13:48:08 |
emily | though we were very close to not needing rcodesign or sigtool in bootstrap at all | 13:48:28 |
emily | is it totally mandatory to have it for Swift Build? | 13:48:37 |
Randy Eckenrode | We could get it from the environment. If it’s not present, error with an appropriate message. | 13:53:35 |
Randy Eckenrode | Either do it via a stub and have a graphics_cmds package or do it in the scripts. | 13:54:25 |
Randy Eckenrode | Same for code signing. | 13:54:34 |
Randy Eckenrode | Maybe the same for anything not in the stdenv. | 13:55:38 |
Randy Eckenrode | * | 13:55:48 |
Randy Eckenrode | Right now though the goal is to get to the point where the packaging is complete, then it can be refined. | 13:56:09 |
| 19 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:22:35 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:22:35 |
| [0x4A6F] joined the room. | 19:23:06 |
| nazarii joined the room. | 19:24:29 |