!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

338 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
17 Mar 2025
@balanced_design:matrix.orgbalanced_designRedacted or Malformed Event06:20:49
@balanced_design:matrix.orgbalanced_design"once you get the hang of the syntax and nix itself" I wish it was this easy as these few words. Ive spent hours on the most basic and fundamental looking things. From getting the thing installed without errors, to getting the thing to have internet, to rebuild switching with a configuration.nix I can view in my IDE, to how to install packages from different channels or even searching different channels like unstable-small.06:23:19
@balanced_design:matrix.orgbalanced_designThanks for the reassurence K900... it means alot06:23:24
@k900:0upti.meK900Generally multiple channels is not something you should care about this early06:23:43
@k900:0upti.meK900(or, really, ever, but that's a different story)06:23:51
@nzbr:nzbr.denzbr (they/it)I really wish there was a good resource I could point you to that really explains the few foundational things that have to click into place to understand nix, but as far as I am aware, that just does not exist... If it helps: Everyone I've watched get into nix was struggling just like you, until it suddenly made sense to them. I'm sure you'll get to that point eventually06:26:54
@k900:0upti.meK900 I think the thing that we are very bad at teaching, and the thing that makes it click for many people, is that Nix is just another programming language 06:28:11
@k900:0upti.meK900Most intuition you have for programming in other languages does actually also apply to Nix06:28:24
@k900:0upti.meK900Even though it looks kinda weird06:28:39
@balanced_design:matrix.orgbalanced_designI dont know if "until it makes sense" is the problem. To solve these problems Ive just had to figure out what the actual correct thing is because the instructions on the docs, form posts, or blog posts are wrong or have multiple interpretations. Ive had few errors due to my own stupidity or something else like that06:30:39
@balanced_design:matrix.orgbalanced_designSome blog posts have mentioned that. It does seem like nix has cheetsheets like other programing languages06:31:45
@balanced_design:matrix.orgbalanced_design* I dont know if "until it makes sense" is the problem. To solve these problems Ive just had to figure out what the actual correct thing is because the instructions on the docs, form posts, or blog posts are wrong(causes errors or dont work) or have multiple interpretations. Ive had few errors due to my own stupidity or something else like that06:32:00
@balanced_design:matrix.orgbalanced_design* Some blog posts have mentioned that. It does seem like nix has cheatsheets like other programing languages06:32:09
@balanced_design:matrix.orgbalanced_design* Some blog posts have mentioned that.It does seem like nix has cheatsheets like other programing languages06:32:20
@balanced_design:matrix.orgbalanced_design* Some blog posts have mentioned that. It does seem like nix has cheatsheets like other programing languages06:32:30
@balanced_design:matrix.orgbalanced_design* I dont know if "until it makes sense" is the problem. To solve these problems Ive just had to figure out what the actual correct thing is because the instructions on the docs, form posts, or blog posts are wrong(causes errors or dont work) or have multiple interpretations. Ive had few errors due to anything that feels like "oh it just hadnt clicked".06:33:33
@balanced_design:matrix.orgbalanced_design* I dont know if "until it makes sense" is the problem. To solve these problems Ive just had to figure out what the actual correct thing is because the instructions on the docs, form posts, or blog posts are wrong(causes errors or dont work) or have multiple interpretations. I havent had any errors due to anything that feels like "oh it just hadnt clicked".06:34:27
@k900:0upti.meK900 Well the thing is, after it clicks, it'll be generally much easier for you to figure out why something isn't working 06:34:51
@balanced_design:matrix.orgbalanced_designThats reasonable I could see that being a possibility.06:37:55
@balanced_design:matrix.orgbalanced_designAs far as I understand based on https://search.nixos.org/packages I need unstable to get fully up to date packages06:38:22
@k900:0upti.meK900Then you should switch your entire system to run on unstable, generally06:38:39
@k900:0upti.meK900Mixing channels is rarely a good idea06:38:45
@balanced_design:matrix.orgbalanced_designWait why? Why would packages accross channel boundries interact in a bad way?06:39:37
@k900:0upti.meK900There are, uh, quirks06:42:10
@k900:0upti.meK900Notably around how we handle graphics drivers06:42:19
@k900:0upti.meK900But there can also be others06:42:25
@k900:0upti.meK900The core problem is that you can't really have two copies of the same library loaded into the same process06:42:54
@balanced_design:matrix.orgbalanced_designIs unstable supposed to be combined with something that allows you to select the package version stable would give you?06:43:03
@k900:0upti.meK900So anything that relies on dynamically loaded plugins, or library injections, etc, can get REALLY confused06:43:15
@k900:0upti.meK900 Not really, no 06:43:20

Show newer messages


Back to Room ListRoom Version: 9