Nix Flakes | 896 Members | |
| 182 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2023 | ||
that will define the "pkgs" attribute available in the perSystem closure's arguments as the overlaid version, but you then also have to go and use that pkgs attribute to define the system / home-manager configuration... that's typically what trips me up | 17:49:43 | |
| but anyway, how are you planning to use the overlay? (: | 17:50:28 | |
| 28 Sep 2023 | ||
In reply to @antifuchs:asf.computer Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like
| 00:58:36 | |
In reply to @antifuchs:asf.computer* Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like
Nixos would complain that it can't find
| 01:00:02 | |
| * Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like
Nixos would complain that it can't find
| 01:00:31 | |
| * Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like
Nixos would complain that it can't find
| 01:00:42 | |
| 03:34:17 | ||
| 03:36:22 | ||
| 21:37:10 | ||
| 29 Sep 2023 | ||
In reply to @amnicolist:matrix.orgjust had a look at that section of those docs and it's a bit confusing. you don't need to use the (final: prev: {…}) for at all (that's for defining your own quick inline overlay), you should be able to set overlays = [ inputs.rust-overlay.overlays.default]; | 06:19:43 | |
| * just had a look at that section of those docs and it's a bit confusing. you don't need to use the `(final: prev: {…})` form at all (that's for defining your own quick inline overlay), you should be able to set `overlays = [ inputs.rust-overlay.overlays.default];` | 06:20:19 | |
| 30 Sep 2023 | ||
| 04:31:57 | ||
| 1 Oct 2023 | ||
| 08:11:27 | ||
| 09:33:44 | ||
| 17:20:12 | ||
| 17:44:01 | ||
| 3 Oct 2023 | ||
| 21:04:21 | ||
| 4 Oct 2023 | ||
| 22:20:26 | ||
| 23:15:46 | ||
| 9 Oct 2023 | ||
| 05:48:16 | ||
| is there an common way to register new outputs - i'd like to register pre-commit hooks as a flake output in a sane way (new app type) | 08:02:40 | |
| 14:25:33 | ||
| 10 Oct 2023 | ||
| 06:02:23 | ||
| 07:21:01 | ||
In reply to @ronnypfannschmidt:matrix.orgThe wiki says there's no spec and it's all defined by what tools use it (i.e. nix build), I would say just edit the wiki page with your output, maybe an RFC should be opened for that...or even just nixpkgs thread. | 07:26:07 | |
| what's the correct way to pin nixpkgs via the registry declarively in NixOS conf? I notice I have a system and global nixpkgs that dont match, and I wonder what I did wrong. | 07:29:23 | |
nix.registry.nixpkgs.flake = inputs.nixpkgs; or similar ought to do the trick | 08:23:33 | |
if you do nix registry list you should see that the nixpkgs registry entry points to a path in the nix store so you know its pinned | 08:25:07 | |
other flakes will still use whatever is specified in their own flake.lock of course | 08:26:39 | |
| Jez (he/him) ♾️: system looks correct, is it just impossible to switch out the global one to stable?
| 08:54:16 | |