Nix Flakes | 881 Members | |
| 175 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Feb 2024 | ||
| you could also update your flake in CI, and then use autoUpgrade to upgrade to that newer version | 00:27:50 | |
| 04:27:25 | ||
| I have a simple flake like this:
When I do | 16:32:17 | |
| mr-qubo: that is the nixpkgs stdenv. | 16:34:27 | |
| https://nixos.org/manual/nixpkgs/stable/#part-stdenv | 16:35:06 | |
| Are you looking for a shell with just... bash? | 16:35:20 | |
In reply to @philiptaron:matrix.orgThat's just an example, I want some packages in this shell, but I don't want this stdenv. No idea why it's there in the first place. | 16:37:38 | |
| It's coming from To read how that happens, open up Inside Consider also
You can do similarly to override the stdenv with whatever's appropriate for your usecase. | 16:50:23 | |
| Thanks, that's very helpful! | 16:54:12 | |
| 19:27:19 | ||
In reply to @mr-qubo:matrix.orgI switched to https://devenv.sh/. It fixes my problem with unwanted packages in PATH and automatically uses buildEnv to create single PATH entry for all packages. | 20:05:55 | |
| 20 Feb 2024 | ||
| 07:39:15 | ||
| 14:39:08 | ||
| 14:41:41 | ||
| 14:42:46 | ||
| 14:44:03 | ||
| 21:30:17 | ||
| 22 Feb 2024 | ||
| 03:10:03 | ||
| 12:25:43 | ||
| 26 Feb 2024 | ||
| 14:34:09 | ||
Download image.png | 14:40:27 | |
| Hey! I added flakes as an experimental feature in my configuration.nix but I got the error in the image. After I removed the experimental-features line I still get the same error when running nixos-rebuild switch, even though there's no mention of flakes in the configuration.nix file. I'm a super noob, what am I missing here? | 14:41:58 | |
| Also when I load an older version of my OS, even the first one, the same Error appears, even though I just added the flakes line in the last rebuild... | 14:46:09 | |
In reply to @maribox:matrix.orgit loads /etc/nixos/flake.nix instead of configuration.nix if it exists | 14:49:12 | |
| rename/remove it | 14:49:23 | |
| (it has nothing to do with whether the experimental option is enabled, but purely with the existence of the file) | 14:50:22 | |
| thanks! | 14:50:59 | |
| 27 Feb 2024 | ||
| (We've been having a similar discussion on a nix-direnv issue lately, so if you're stessaris on github and this is a reiteration - I apologize :) ) This is due to the way you're entering the shell and what | 13:24:55 | |
| 20:48:06 | ||
| 28 Feb 2024 | ||
| 16:51:44 | ||