!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

909 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
8 Mar 2025
@weethet:catgirl.cloudWeetHetThere's also an issue of me having nixpkgs being pinned to a github rev in the flake registry which works fine with flakes but causes a noticeable delay with a message "fetching github<...>" when using nix-shell even if it's already fetched18:12:41
@weethet:catgirl.cloudWeetHetIt doesn't actually fetch it, but for some reason takes an unreasonable time checking for it ig18:13:09
@weethet:catgirl.cloudWeetHetOverall, all this just makes non-flake UX just miserable enough for me to use flakes even though I really don't want to18:14:13
@weethet:catgirl.cloudWeetHet I still sometimes catch myself running nix-shell -p npins --command "npins init" instead of nix flake init and have to remove npins directory 18:15:33
@weethet:catgirl.cloudWeetHet * 18:16:03
@emilazy:matrix.orgemily you could use nix(1) without flakes. dunno if that would solve the nix-shell thing. probably not. 18:17:01
@weethet:catgirl.cloudWeetHetnix-command is too tightly coupled with flakes for me, can you even use nix shell without them?18:18:03
@weethet:catgirl.cloudWeetHet Same for nix run 18:18:12
@weethet:catgirl.cloudWeetHet I sometimes feel like the best course of action for me would be to fork nix 2.3 and work on improving it instead 18:19:23
@emilazy:matrix.orgemily yes, they support -f 18:19:37
@weethet:catgirl.cloudWeetHet
In reply to @emilazy:matrix.org
yes, they support -f
It implies impure
18:19:49
@emilazy:matrix.orgemily --expr then. (btw, maybe we should move this out of #nix-dev:nixos.org) 18:20:14
@weethet:catgirl.cloudWeetHetWhere18:20:21
@emilazy:matrix.orgemily #users:nixos.org? 18:20:28
@emilazy:matrix.orgemilyfwiw Nix 2.3 is also buggy. it just has different bugs.18:20:32
@weethet:catgirl.cloudWeetHet
In reply to @emilazy:matrix.org
fwiw Nix 2.3 is also buggy. it just has different bugs.
It's simpler
18:20:43
@emilazy:matrix.orgemilyand I suspect Nixpkgs will not support being evaluated with 2.3 for much longer18:20:45
@weethet:catgirl.cloudWeetHet
In reply to @emilazy:matrix.org
and I suspect Nixpkgs will not support being evaluated with 2.3 for much longer
Small features can be easily added
18:21:41
@weethet:catgirl.cloudWeetHetAnd it's so much easier to fix bugs when touching every code path doesn't break some flake-related stuff18:22:20
@weethet:catgirl.cloudWeetHetThe other option would be to take Lix's code and tear everything flake-related out of it18:27:01
@raitobezarius:matrix.orgraitobezarius
In reply to @weethet:catgirl.cloud
The other option would be to take Lix's code and tear everything flake-related out of it
we push it to its own libflakes and then someday we will see how to split it up (while providing it as part of the some normal distribution of Lix obviously)
18:28:06
@weethet:catgirl.cloudWeetHetNix 2.3 has 40k sloc, while 2.26 has 89k18:44:02
@weethet:catgirl.cloudWeetHetAnd nix 2.26 has 7 times as many files as nix 2.318:45:03
@raitobezarius:matrix.orgraitobezariusand alas 2.3 is pretty much dead18:45:24
@raitobezarius:matrix.orgraitobezariusclipboard.png
Download clipboard.png
18:45:25
@weethet:catgirl.cloudWeetHetI would expect it to be dead, doesn't mean it's unusable18:46:00
@weethet:catgirl.cloudWeetHetAnd doesn't mean you can't use it as a starting point18:46:11
@qyriad:katesiria.orgQyriad changed their display name from qyriad to Qyriad.21:41:03
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)https://github.com/NixOS/nix/pull/12615 | Enabling UBSAN in CI checks I think that's something that lots of people really wanted to see and meson migration / per-component packaging overrides now make it possible.22:10:49
9 Mar 2025
@fzakaria:one.ems.hostfzakariadoes ca-derivations use source: in the fingerprint or the fixed:output ?06:02:20

Show newer messages


Back to Room ListRoom Version: 6