!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

864 Members
167 Servers

Load older messages


SenderMessageTime
20 Feb 2024
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:39:08
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:41:41
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:42:46
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:44:03
@duffyduke:matrix.orgduffyduke joined the room.21:30:17
22 Feb 2024
@atakan:atkn.me@atakan:atkn.me joined the room.03:10:03
@hx-markus:matrix.orghx-markus joined the room.12:25:43
26 Feb 2024
@maribox:matrix.orgmaribox joined the room.14:34:09
@maribox:matrix.orgmariboximage.png
Download image.png
14:40:27
@maribox:matrix.orgmariboxHey! 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
@maribox:matrix.orgmariboxAlso 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
@2xsaiko:tchncs.de@2xsaiko:tchncs.de
In reply to @maribox:matrix.org
sent an image.
it loads /etc/nixos/flake.nix instead of configuration.nix if it exists
14:49:12
@2xsaiko:tchncs.de@2xsaiko:tchncs.derename/remove it14:49:23
@2xsaiko:tchncs.de@2xsaiko:tchncs.de(it has nothing to do with whether the experimental option is enabled, but purely with the existence of the file)14:50:22
@maribox:matrix.orgmariboxthanks!14:50:59
27 Feb 2024
@bryan.bennett:matrix.orgBryan

(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 nix develop does vs nix shell. You'd also find that things like libraries are not always accessible in nix shell invocations, since it effectively brings in only certain environment variables like PATH and excludes bringing in others like OCAMLPATH or PKG_CONFIG_PATH. The environment gets "dirty" but it is because Nix is actually trying to help...

13:24:55
@hhefesto:matrix.orgDaniel Herrera Rendón joined the room.20:48:06
28 Feb 2024
@ethan2:matrix.orgethan2 joined the room.16:51:44
@atakan:atkn.me@atakan:atkn.me left the room.18:18:00
29 Feb 2024
@wimpress:matrix.org@wimpress:matrix.org joined the room.21:09:54
1 Mar 2024
@accelbread:matrix.org@accelbread:matrix.org joined the room.04:28:22
@tomberek:matrix.orgtomberek set a profile picture.15:21:36
2 Mar 2024
@qyriad:katesiria.orgQyriad joined the room.06:56:26
@qyriad:katesiria.orgQyriad 07:51:29
3 Mar 2024
@timlepes:humble.hostTim changed their display name from Tim Le Pés to Tim.22:49:42
4 Mar 2024
@gsaurel:laas.frnim65s joined the room.12:02:12
6 Mar 2024
@sammy:cherrykitten.devSammy (It/Its) joined the room.19:01:49
7 Mar 2024
@dyerat:matrix.orgdyerat joined the room.08:49:53
@dyerat:matrix.orgdyeratHello :) Is there any reason I shouldn't move all of the config from within my configuration.nix into my flake.nix and then remove the configuration.nix file?09:07:51
@samasaur:matrix.orgsamasaur
  1. modularization; 2) version control
09:08:37

Show newer messages


Back to Room ListRoom Version: 6