!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

974 Members
For people hacking on the Nix package manager itself206 Servers

Load older messages


SenderMessageTime
3 Oct 2021
@trofi:matrix.orgtrofi man nix.conf is not very elaborate on available syntax of the file. 11:44:00
@trofi:matrix.orgtrofiLooking at https://github.com/NixOS/nix/blob/master/src/libutil/config.cc#L79-L130 all whitespace detail is ignored and is considered a token separator.11:51:18
@andrew:mtx.rew.laandrew joined the room.19:58:25
4 Oct 2021
@toonn:matrix.orgtoonn trofi: Hmm, the `\ ` probably won't work either? 09:39:41
@trofi:matrix.orgtrofi Yeah, bash-prompt-suffix = dev>\ produces "dev>" prompt :) 18:39:08
@trofi:matrix.orgtrofi Trick question: in contents addressed nix suppose you make a change that is not changing contents of a core package (say, bash). How many packages besides bash do you expect to be rebuilt on world upgrade? :) 18:42:23
@trofi:matrix.orgtrofi Looks like it's just two on my system: texlive-combined(?) and R: https://github.com/NixOS/nix/issues/5333 21:41:40
5 Oct 2021
@trofi:matrix.orgtrofi Filed https://github.com/NixOS/nix/issues/5333. I think inputDrvs should be somehow re-sorted in content-addressed mode. Then we would avoid rebuild of both. 09:31:44
6 Oct 2021
@kamadorueda:matrix.orgkamadorueda joined the room.02:56:06
@kamadorueda:matrix.orgkamadorueda changed their display name from Kevin Amado to kamadorueda.03:10:05
@rosariopulella:matrix.orgRosario Pulella changed their display name from rosariopulella to Rosuavio.10:38:28
@rosariopulella:matrix.orgRosario Pulella changed their display name from Rosuavio to Rosario Pulella.10:44:53
7 Oct 2021
@infinisil:matrix.orginfinisil set a profile picture.00:08:00
@niksnut:matrix.orgniksnutIf there are no objections, I'd like to branch 2.4 now.12:53:34
@balsoft:balsoft.rubalsoftIf there are still known bugs that's OK I'm assuming?12:53:57
@balsoft:balsoft.rubalsoft E.g. https://github.com/NixOS/nix/issues/5289 12:54:13
@niksnut:matrix.orgniksnutYeah, if they're not regressions12:54:38
@qyliss:fairydust.spaceAlyssa Rossisn't the musl issue a regression?14:07:06
@niksnut:matrix.orgniksnutDon't think so, since it was not part of the previous release iirc14:50:21
@niksnut:matrix.orgniksnutBut it would be great if somebody can look into it14:50:32
@balsoft:balsoft.rubalsoft While you're here sometimes I'm not getting any output even with -L on nix (Nix) 2.4pre20211001_4f49615 (and also I'm not getting the list of all derivation that failed), and it's a bit painful to reproduce. Is this a known bug that was fixed in the meantime? 14:51:33
@balsoft:balsoft.rubalsoftI would update and try to check on master, but I can't quite figure out when it happens14:51:46
@balsoft:balsoft.rubalsoftAnd also I would think it's a regression14:52:00
@sternenseemann:systemli.orgsterni niksnut: nixStatic 2.3.x is exposed top level in nixpkgs which does use musl 14:53:08
@niksnut:matrix.orgniksnut
In reply to @balsoft:balsoft.ru
While you're here sometimes I'm not getting any output even with -L on nix (Nix) 2.4pre20211001_4f49615 (and also I'm not getting the list of all derivation that failed), and it's a bit painful to reproduce. Is this a known bug that was fixed in the meantime?
Sounds like https://github.com/NixOS/nix/pull/5339
14:53:22
@balsoft:balsoft.rubalsoftNo, I think mine is different14:53:57
@balsoft:balsoft.rubalsoftIt's just in the regular terminal14:54:03
@balsoft:balsoft.rubalsoftAnd not consistently so14:54:19
@balsoft:balsoft.rubalsoft

E.g. two consequtive runs of nix-store --realise on the same derivation:

error: 1 dependencies of derivation '/nix/store/<...>-nixos-system-foo.drv' failed to build

And second one:

error: builder for '/nix/store/<...>-nginx.conf.drv' failed with exit code 1;
       last 10 log lines:
       >     }
       > }
       >
       > ==================== Summary ===================
       > Total issues:
       >     Unspecified: 0
       >     Low: 0
       >     Medium: 1
       >     High: 0
       >
       For full logs, run 'nix log /nix/store/<...>-nginx.conf.drv'.
error: 1 dependencies of derivation '/nix/store/<...>-unit-nginx.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/<...>-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/<...>-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/<...>-nixos-system-foo.drv' failed to build
14:56:18
@balsoft:balsoft.rubalsoft Also reproducible with passing -L to new nix commands 14:56:32

Show newer messages


Back to Room ListRoom Version: 6