| 29 Sep 2021 |
tomberek | I'm unclear on whether the patch is okay in nixpkgs or if Eelco wants a 2.3.16 release. I'd prefer the release. | 19:04:07 |
baloo | I'd prefer the release as well, but ... it has been 20 days now :/ | 19:10:51 |
trofi | ${why_not_both} | 21:17:08 |
| 30 Sep 2021 |
| matrixforever joined the room. | 02:16:06 |
| matrixforever left the room. | 04:36:14 |
niksnut | I updated the Nix 2.4 release notes (https://github.com/NixOS/nix/pull/5308), please let me know if there is anything I missed. | 15:38:39 |
trofi | Can config.contentAddressedByDefault = true run a full system? Or it's too experimental for large scale use for more than a few select packages? | 20:12:22 |
| 1 Oct 2021 |
trofi | Experiment shows it happens to work \o/ | 09:42:57 |
sterni | any concerns bumping nixUnstable to this particular revision in nixpkgs? https://github.com/NixOS/nixpkgs/pull/139234 would like to update lowdown now… | 17:57:39 |
nrdxp | there might be some folks relying on the submodule behavior which was recently reverted, so you might break someone's workflow 😅
Other than that, I would at least wait til the PR is merged. | 21:19:56 |
sterni | which PR? | 21:20:29 |
sterni | not too concerned by breaking someones™ workflow, it's unstable nix after all :p | 21:21:25 |
tomberek | sterni: https://github.com/NixOS/nix/pull/5284 a change in behavior and then a quick change back. So it's best to not have a version bump of nixUnstable in between those points. | 22:09:05 |
| 2 Oct 2021 |
trofi | How can I get why nix store gc detects an inconsistency in db? Looks like I have a single undeletable path:
$ nix store gc
0 store paths deleted, 0.00 MiB freed
error: executing SQLite statement 'delete from ValidPaths where path = '/nix/store/2pklamh9d8x964wbawway71rks402bxr-gcc-11.1.0-lib';': constraint failed (in '/nix/var/nix/db/db.sqlite')
| 08:01:17 |
trofi | Perhaps comes from the only non-cascade constraint: CREATE TABLE Refs (... foreign key (reference) references ValidPaths(id) on delete restrict ); | 08:28:27 |
trofi | Filed https://github.com/NixOS/nix/issues/5320. | 08:58:46 |
sterni | tomberek: alright, bumped to current master | 13:11:31 |
| 3 Oct 2021 |
trofi | Is there a way to encode trailing whitespace in nix.conf? nix develop -f. re2c --bash-prompt-suffix "dev> " does work from commandline, but I was not able to add it to nix.conf via bash-prompt-suffix = dev> . | 09:53:48 |
toonn | trofi: I assume you tried quoting it? | 11:34:14 |
trofi | I tried as bash-prompt-suffix = "dev> " it appens it with quotes: "dev> ". Maybe there are other ways to quote it? | 11:42:32 |
trofi | man nix.conf is not very elaborate on available syntax of the file. | 11:44:00 |
trofi | Looking 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 joined the room. | 19:58:25 |
| 4 Oct 2021 |
toonn | trofi: Hmm, the `\ ` probably won't work either? | 09:39:41 |
trofi | Yeah, bash-prompt-suffix = dev>\ produces "dev>" prompt :) | 18:39:08 |
trofi | 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 | 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 | 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 joined the room. | 02:56:06 |
| kamadorueda changed their display name from Kevin Amado to kamadorueda. | 03:10:05 |