| 14 Sep 2023 |
| 0xMRTT [envs.net] changed their display name from 0xMRTT to 0xMRTT (Old). | 20:59:20 |
| 15 Sep 2023 |
| mith joined the room. | 15:13:48 |
| Moritz joined the room. | 19:36:37 |
| 17 Sep 2023 |
| tq5rpg joined the room. | 12:29:41 |
| 0xMRTT [envs.net] changed their display name from 0xMRTT (Old) to 0xMRTT [envs.net]. | 17:00:51 |
| 18 Sep 2023 |
| @ulrikstrid:matrix.org left the room. | 08:35:56 |
| 19 Sep 2023 |
| mr-qubo left the room. | 17:55:34 |
| mr-qubo joined the room. | 17:56:03 |
mr-qubo | Why builtins.getFlake "nixpkgs" requires --impure, but e.g. nix shell 'nixpkgs#hello' works without --impure? | 18:00:23 |
mr-qubo | * 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 |
CRTified | In reply to @mr-qubo:matrix.org Why builtins.getFlake "nixpkgs" requires --impure, but e.g. nix shell 'nixpkgs#hello' works without --impure? Seems like I'm missing some understanding. The 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 |
| nbathum (he or they) changed their display name from nbathum (he or they) to nbathum. | 04:58:28 |
| nbathum (he or they) removed their profile picture. | 04:58:39 |
| 21 Sep 2023 |
| spolakh joined the room. | 03:25:36 |
@ronnypfannschmidt:matrix.org | In reply to @crtified:crtified.me The 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) as 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 |
@ronnypfannschmidt:matrix.org | however nix-shell will also put the flake into the nix store before evaluating | 10:52:55 |
| bembo set a profile picture. | 16:01:57 |
| 26 Sep 2023 |
@penguincoder:matrix.wolfie.pw | 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 inputs' as an attribute to my modules. This much works great, but when I go to pass the input in mkPoetryApp { projectDir = inputs'.my-python-app; }, it fails with cannot coerce a set into a string.
which is okay, I guess, it's an attrset. That makes sense... but none of the attrs that I know exist in the input schema seem to work. I can't get lib.debug.traceVal to ever print anything out, either. What can I give mkPoetryApp to figure out where the path-in-the-store-on-my-disk is for projectDir or is there a better way to manage the non-flake inputs? What I don't want to do is have to manually change the rev using fetchGit each time CI changes.
| 19:02:22 |
| 21 Sep 2023 |
| dedmunwalk joined the room. | 23:06:10 |
| 22 Sep 2023 |
| bl1nk changed their profile picture. | 11:21:25 |
| bl1nk changed their profile picture. | 11:23:10 |
| Oro (any/all) changed their profile picture. | 20:45:43 |
| 23 Sep 2023 |
| Snuupy joined the room. | 10:17:54 |
| @0xmrtt:projectsegfau.lt removed their profile picture. | 12:37:12 |
| @0xmrtt:projectsegfau.lt removed their display name 0xMRTT. | 12:44:20 |
| @0xmrtt:projectsegfau.lt left the room. | 12:52:08 |
| heyoni joined the room. | 20:19:03 |
| 24 Sep 2023 |
@aidalgol:matrix.org | 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 |
@aidalgol:matrix.org | * 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 |
| mib 🥐 joined the room. | 12:21:19 |