| 26 Aug 2021 |
Gytis Ivaskevicius | lets say we are building package abc and it fails | 18:19:18 |
sterni | * not really feasible without improving evaluation performance imo | 18:19:21 |
Gytis Ivaskevicius | nix build nixpkgs#abc --keep-failed
package fails
cd /tmp/failed/package/dir && nix develop nixpkgs#abc
| 18:20:06 |
Gytis Ivaskevicius | * nix build nixpkgs#abc --keep-failed
package fails
cd /tmp/failed/package/dir && nix develop nixpkgs#abc
| 18:20:11 |
Gytis Ivaskevicius | And I would imagine/hope that you would be able to just execute check phase | 18:20:29 |
Gytis Ivaskevicius | will need to give it a shot sometime | 18:20:46 |
Gytis Ivaskevicius | also if this works one could write up a little script with overlayfs to reenter that devshell environment inc ase it corrupts the state | 18:22:18 |
Gytis Ivaskevicius | (like without rebuild) | 18:22:22 |
| 27 Aug 2021 |
tomberek | anyone have thoughts on nix/5163? I'm not certain it is sound. | 02:11:57 |
| -(𝕂eloτ)- left the room. | 04:16:00 |
| 28 Aug 2021 |
trofi | Would it make sense to move nix's build system to something more standard? (say, automake). Build failures like https://github.com/NixOS/nix/issues/5184 and https://github.com/NixOS/nix/issues/3087 are surprising to observe for a project that tries hard to maintain clean prefixed installs for other packages. | 08:52:04 |
Alyssa Ross | trofi: it was automake previously, and that was replaced with the current build system | 09:46:37 |
Alyssa Ross | if it gets replaced by anything it'll probably be meson, see https://github.com/NixOS/nix/pull/3160 | 09:48:13 |
trofi | Aha, makes sense. | 09:55:08 |
Las | But Meson needs Python | 10:25:25 |
Las | I really hope it doesn't get replaced | 10:25:29 |
Las | Perhaps added, but not replaced | 10:25:32 |
trofi | i think nix already needs rust,boost,jq,brotli,gtest,s3 bindings,curl. is python really an issue? | 11:27:26 |
Alyssa Ross | stable nix does not need rust | 12:23:13 |
Alyssa Ross | and jq, s3 bindings, etc are optional | 12:23:23 |
Alyssa Ross | trofi: thanks for all the work you're doing on the build system | 12:34:07 |
Alyssa Ross | it really needs some love | 12:34:19 |
sterni | Alyssa Ross: can stable nix be built using just bootstrap tools? | 12:53:22 |
Alyssa Ross | well no, you need boost obviously | 12:53:37 |
sterni | right yeah | 12:57:22 |
Alyssa Ross | not sure what else | 13:03:22 |
toonn | Fwiw the macOS stdenv already relies on Python, I believe. | 13:08:52 |
toonn | Not from stage 0 though. | 13:09:07 |
tomberek | Is there any interest in a shebang compatible with flakes? I'm cleaning up a patch/PR that allows the familiar usage:
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#hello
#! nix --command bash
hello
| 18:01:27 |
Las | There is interest. I remember someone in #nix:nixos.org asking for that feature. | 20:13:54 |