Nix Flakes | 885 Members | |
| 179 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jun 2023 | ||
did a convention ever develop for outputs for "library stuff that is per-system"? like a nixpkgs-based makeXPackage. obviously there's legacyPackages but that sucks. lib.${system}.makeXPackage? I think I've seen functions.${system}.makeXPackage? | 04:35:10 | |
| 07:03:24 | ||
| anyone aware of a way to ensure all outputs of a flake are cached/stored on a local build7substutute server? | 16:39:18 | |
| 15 Jun 2023 | ||
| 22:20:27 | ||
| 18 Jun 2023 | ||
| Baby stepped my way into flakes today for my NixOS system, let see what all the hubub is about | 04:33:15 | |
why does inputs.foo.inputs.bar.follows = "quux"; give error: cannot find flake 'flake:bar' in the flake registries | 09:12:57 | |
| Redacted or Malformed Event | 09:13:24 | |
* why does inputs.foo.inputs.bar.inputs.quux.follows = "quux2"; give error: cannot find flake 'flake:bar' in the flake registries | 09:13:37 | |
| like,e is there no way to override a nested input without adding a top-level input for the intermediate? | 09:13:48 | |
| * like, is there no way to override a nested input without adding a top-level input for the intermediate? | 09:13:55 | |
| Also, is there really no way to override all nixpkgs instances of child flakes? If using more than few flakes it seems to grow into a horror show of a pile of different nixpkgs versions required for using the parent flake. | 11:21:09 | |
| 12:00:01 | ||
| 12:52:16 | ||
In reply to @winston:milli.nghttps://ayats.org/blog/channels-to-flakes | 12:57:49 | |
| Resources for undertanding flakes:
| 12:58:35 | |
| 15:33:36 | ||
In reply to @jassu:kumma.juttu.asiaI assume doing inputs.X.inputs.nixpkgs.follows = "nixpkgs"; manually doesn't satisfy (hence "all")? | 20:48:45 | |
| oh, that was in reply to my own follows question so I guess no :) | 20:48:54 | |
In reply to @kranzes:matrix.org Thank you. I am still in a rough in-between state, but its working right now. https://github.com/wrmilling/nixos-configuration | 22:36:30 | |
| 19 Jun 2023 | ||
Do you have experience with dream2nix and nodejs projects? I get flat out segfault from nix run when trying to run detect-projects. Does not seem to matter if running it through a local flake output, or independently directly from github. | 10:48:56 | |
| best to discuss in #dream2nix:nixos.org | 11:58:13 | |
| how exactly should I specify runtime dependencies in mkDerivation?
| 14:01:31 | |
screenfetch shows up in nix-store --query --requisites --include-outputs '/nix/store/ld114b4f08vvl8d0n4ckqfjpssmi827g-cgpt.drv, but is not available to the cgpt script (a random chatgpt repl I had in my scripts folder) | 14:02:43 | |
| it does work in the devshell | 14:04:18 | |
| it depends on how the thing you're packaging resolves runtime dependencies. you probably want fyi this question isn't specific to flakes | 15:10:16 | |
| yeah, that's what I found, probably should make a wrapper | 15:20:32 | |
| 22:24:39 | ||
| 20 Jun 2023 | ||
| 07:59:31 | ||
| 21 Jun 2023 | ||
Is there a way using git+ssh URLs to reference a pull request branch on github? I'm trying nix flake metadata 'git+ssh://git@github.com/antifuchs/home?ref=pulls/298/head' (private repo, sorry) and that says it can't find remote ref refs/heads/pulls/298/head | 17:48:11 | |
| is that PR from a fork or the same repo? | 17:50:37 | |