!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

985 Members
For people hacking on the Nix package manager itself208 Servers

Load older messages


SenderMessageTime
26 Aug 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius lets say we are building package abc and it fails 18:19:18
@sternenseemann:systemli.orgsterni * not really feasible without improving evaluation performance imo18:19:21
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius

nix build nixpkgs#abc --keep-failed

package fails
cd /tmp/failed/package/dir && nix develop nixpkgs#abc

18:20:06
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius *

nix build nixpkgs#abc --keep-failed

package fails

cd /tmp/failed/package/dir && nix develop nixpkgs#abc

18:20:11
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusAnd I would imagine/hope that you would be able to just execute check phase18:20:29
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciuswill need to give it a shot sometime18:20:46
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusalso if this works one could write up a little script with overlayfs to reenter that devshell environment inc ase it corrupts the state18:22:18
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius(like without rebuild)18:22:22
27 Aug 2021
@tomberek:matrix.orgtomberekanyone have thoughts on nix/5163? I'm not certain it is sound.02:11:57
@gilganix:matrix.org-(𝕂eloτ)- left the room.04:16:00
28 Aug 2021
@trofi:matrix.orgtrofiWould 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
@qyliss:fairydust.spaceAlyssa Rosstrofi: it was automake previously, and that was replaced with the current build system09:46:37
@qyliss:fairydust.spaceAlyssa Rossif it gets replaced by anything it'll probably be meson, see https://github.com/NixOS/nix/pull/316009:48:13
@trofi:matrix.orgtrofiAha, makes sense.09:55:08
@Las:matrix.orgLasBut Meson needs Python10:25:25
@Las:matrix.orgLasI really hope it doesn't get replaced10:25:29
@Las:matrix.orgLasPerhaps added, but not replaced10:25:32
@trofi:matrix.orgtrofii think nix already needs rust,boost,jq,brotli,gtest,s3 bindings,curl. is python really an issue?11:27:26
@qyliss:fairydust.spaceAlyssa Rossstable nix does not need rust12:23:13
@qyliss:fairydust.spaceAlyssa Rossand jq, s3 bindings, etc are optional12:23:23
@qyliss:fairydust.spaceAlyssa Rosstrofi: thanks for all the work you're doing on the build system12:34:07
@qyliss:fairydust.spaceAlyssa Rossit really needs some love12:34:19
@sternenseemann:systemli.orgsterni Alyssa Ross: can stable nix be built using just bootstrap tools? 12:53:22
@qyliss:fairydust.spaceAlyssa Rosswell no, you need boost obviously12:53:37
@sternenseemann:systemli.orgsterniright yeah12:57:22
@qyliss:fairydust.spaceAlyssa Rossnot sure what else13:03:22
@toonn:matrix.orgtoonn Fwiw the macOS stdenv already relies on Python, I believe. 13:08:52
@toonn:matrix.orgtoonn Not from stage 0 though. 13:09:07
@tomberek:matrix.orgtomberek

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:matrix.orgLas There is interest. I remember someone in #nix:nixos.org asking for that feature. 20:13:54

Show newer messages


Back to Room ListRoom Version: 6