Nix Flakes | 898 Members | |
| 183 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Sep 2023 | ||
* Why builtins.getFlake "nixpkgs" requires --impure, but e.g. nix shell 'nixpkgs#hello' works without --impure? Seems like I'm missing some understanding. | 18:00:36 | |
In reply to @mr-qubo:matrix.orgThe first one is probably evaluated in a different flake and thus "breaks" the expectation of being pure, while the second one is impure on its own as you rarely have a pure shell env (and the concrete result of nixpkgs depends on your local flake registry) | 22:32:40 | |
| 20 Sep 2023 | ||
| 04:58:28 | ||
| 04:58:39 | ||
| 21 Sep 2023 | ||
| 03:25:36 | ||
In reply to @crtified:crtified.meas per https://nixos.org/manual/nix/stable/language/builtins.html#builtins-getFlake - unless impure is allowed the flake needs to be locked nix shell with a flake auto-updates a lock if necessary | 10:52:13 | |
| however nix-shell will also put the flake into the nix store before evaluating | 10:52:55 | |
| 16:01:57 | ||
| 26 Sep 2023 | ||
| I'm trying to use flake inputs as a way to track several other non-flake git repos. The idea is that after CI passes on the other repos, I will update the lock for that particular input. I then want to use my flake to build packages for these other, non-flake, inputs. I can add the input pretty easily, and flake-parts provides me with which is okay, I guess, it's an attrset. That makes sense... but none of the attrs that I know exist in the | 19:02:22 | |
| 21 Sep 2023 | ||
| 23:06:10 | ||
| 22 Sep 2023 | ||
| 11:21:25 | ||
| 11:23:10 | ||
| 20:45:43 | ||
| 23 Sep 2023 | ||
| 10:17:54 | ||
| 12:37:12 | ||
| 12:44:20 | ||
| 12:52:08 | ||
| 20:19:03 | ||
| 24 Sep 2023 | ||
| If I have a function call several times with the same argument values, does it have to compute it for every call, or just once? | 08:51:35 | |
* If I have a function call several times in a flake.nix with the same argument values, does it have to compute it for every call, or just once? | 08:51:50 | |
| 12:21:19 | ||
| 25 Sep 2023 | ||
| 10:43:46 | ||
| 15:45:15 | ||
| 19:44:14 | ||
| 26 Sep 2023 | ||
| 05:51:42 | ||
| 27 Sep 2023 | ||
| 02:13:56 | ||
| Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here. I'm trying to get the [rust-overlay](https://github.com/oxalica/rust-overlay | 02:17:58 | |
| * Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here. I'm trying to get the [rust-overlay](https://github.com/oxalica/rust-overlay) working with an existing repo that I forked. However, I can't figure out how to get access to the rust-bin set once I follow the https://flake.parts/overlays documentation | 02:19:19 | |
| * Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here. I'm trying to get the rust-overlay working with an existing repo that I forked. However, I can't figure out how to get access to the rust-bin set once I follow the https://flake.parts/overlays documentation | 02:19:32 | |
| Would you be amenable to an alternative that doesn't involve overlays | 02:43:36 | |