| 5 Oct 2021 |
balsoft | In reply to @roosemberth:orbstheorem.ch Yes, flakes is a high entry point. Eh, compared to nix-env interface... | 18:35:49 |
Roos | I tried to onboard a friend not so long ago and discovered lots of plumbing stuff myself x) | 18:35:55 |
edrex | thanks, it helps to know others are sharing my misery :D | 18:37:46 |
edrex | flakes does seem to have a conceptual economy, and it basically makes sense to me | 18:38:17 |
Roos | xD | 18:38:20 |
Roos | I wouldn't say it's a good thing x) | 18:38:49 |
edrex | balsoft i started a profile with latest nix following your instructions, thanks | 18:45:25 |
edrex | oh but the fix isn't in the nix repo yet, only in nixpkgs. trying again | 18:46:55 |
edrex | oh the fix i'm trying to get is actually a patch to stdenv | 18:55:37 |
edrex | installing a different stdenv seems like it would require rebuilding the world. hmm | 18:56:37 |
edrex | https://github.com/NixOS/nixpkgs/pull/138334/files | 18:56:58 |
| Artturin joined the room. | 18:59:02 |
| 6 Oct 2021 |
colemickens 🏳️🌈 | well, I called it with the registry | 05:17:30 |
colemickens 🏳️🌈 | but I guess I'm not enterprise enough, some people seem really into it | 05:18:05 |
balsoft | In reply to @colemickens:matrix.org but I guess I'm not enterprise enough, some people seem really into it I feel called out :D | 05:18:21 |
balsoft | I feel it's really convinient for managing a lot of repositories with overlapping dependencies, though | 05:19:01 |
colemickens 🏳️🌈 | I don't understand what you can do with it that you can't do with "..follows" other than specifically introduce machine or other-place indirection. Or why that property is helpful other than confusion the confusion shown earlier. | 06:51:00 |
cdepillabout | When I run nix develop in my repo with a flake.nix, I get some sort of warning message related to git:
$ nix develop
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Any idea why I would be getting this message when running nix develop?
Strangely enough, if I immediately exit out of the shell and run nix develop again, I don't get the message again.
I guess it is possible that this is caused by calling git in my shell's PROMPT_COMMAND, but it doesn't seem likely since i don't see this message when changing directories.
| 07:31:51 |
Las | cdepillabout: This is an error internal to Nix. | 07:42:10 |
Las | Nix uses git internally when fetching Git repositories. | 07:42:18 |
Las | * cdepillabout: This is a warning internal to Nix. | 07:42:55 |
niksnut | I think this message is gone on master, see https://github.com/NixOS/nix/pull/4573 | 07:52:19 |
| Rosario Pulella changed their display name from rosariopulella to Rosuavio. | 10:38:26 |
| Rosario Pulella changed their display name from Rosuavio to Rosario Pulella. | 10:44:51 |
cdepillabout | In reply to @niksnut:matrix.org I think this message is gone on master, see https://github.com/NixOS/nix/pull/4573 Ah great, thanks! | 11:07:55 |
| Louis Bettens joined the room. | 20:34:49 |
| 7 Oct 2021 |
| kadokusei10 joined the room. | 09:41:19 |
| 8 Oct 2021 |
Florian | W3F - OoO Mon/Tue | nix now fetches submodules by default for flakes and I was wondering what would be the best way to expose all submodules for isolated use in the flake? My use case would be that in some cases, I just want my flake output on submodules, so I do not end up rebuilding them for all repo changes. | 09:01:50 |
Florian | W3F - OoO Mon/Tue | * nix now fetches submodules by default for flakes and I was wondering what would be the best way to expose all submodules for isolated use in the flake? My use case would be that in some cases, I just want my flake ouput only depends on some submodules, but I do end up rebuilding for all repo changes. | 09:07:46 |
Las | Florian | W3F - OoO Mon/Tue: Pretty sure that was reverted due to various issues. | 11:09:40 |