4 Dec 2024 |
ptitfred | updating to the latest lix release indeed fixes that. I wonder if there shouldn't be an announcement on the lix website | 15:52:47 |
| 11ine changed their display name from elfine to 11ine. | 18:51:18 |
| Attila Sedon joined the room. | 20:02:57 |
antifuchs | Wow, so seems if you have store paths on your local flake registry, nix and lix will write a store path to a flake.lock file, if the flake itself doesn't have an input listed (investigation & details in https://github.com/hercules-ci/flake-parts/issues/252#issuecomment-2517112292). | 22:11:50 |
Charles | that kinda seems like reasonable behavior, i don't know how it could know to do anything else | 22:31:04 |
Charles | imo the real problem is that flakes allow inputs without defining a url | 22:31:29 |
antifuchs | yea, that is in fact my quibble | 22:33:24 |
antifuchs | wonder if there's a flake linter that catches this nonsense | 22:33:49 |
Charles | i hear fd '^flake.(?:nix|lock)$' -t f --exec rm works well /j | 22:35:56 |
Charles | * i hear fd '^flake\.(?:nix|lock)$' -t f --exec rm works well /j | 22:36:49 |
Emma [it/its] | so overcomplicated 😹 | 22:55:18 |
Emma [it/its] | charles, you really do enjoy putting the square peg in the round hole, dont you :P /j | 22:55:44 |
Charles | make sure to change directories to / and run it as root for maximum effect | 22:56:23 |
5 Dec 2024 |
| Gus joined the room. | 00:16:20 |
Gus | Hey all, I'm new to Matrix but I've been using Lix since July. Thought I should finally join the community here! | 00:23:20 |
| Gus changed their display name from guhou to Gus. | 00:26:00 |
| @sigmasquadron:matrix.org left the room. | 00:27:13 |
ToxicFrog | Welcome! | 00:31:38 |
Gus | Hey all, I apologise if this topic is completely worn out already; if so could someone point me to some discussion threads.
I currently have a big flake for all my nixos/nix-darwin configs, but I've run into a few sources of frustration with the flake implementation. The rhetoric on Lix and/or its contributors seems to be mostly anti-flake or flake-neutral. Just wondering what everyone is using instead of flakes for pinning dependencies these days? | 03:12:51 |
Charles | i generally see npins used for that | 03:55:53 |
Charles | if you want a solution more on the "... but why..." side of things, i recently figured out how to use flakes to manage inputs without actually using any other part of flakes. here's an example project of mine where i'm doing this: https://gitlab.computer.surgery/charles/foo-pages (if you clone it, you can run e.g. nix run -f nix pkgs.default and it will do the thing. see the nix/default.nix file for details) | 03:57:29 |
Charles | * if you want a solution more on the "... but why..." side of things, i recently figured out how to use flakes to manage inputs without actually using any other part of flakes. here's an example project of mine where i'm doing this: https://gitlab.computer.surgery/charles/foo-pages (if you clone it, you can run e.g. nix run -f nix pkgs.default and it will do the thing. see the nix/default.nix and nix/flake.nix files for details) | 03:58:14 |
aloisw | In reply to @charles:computer.surgery imo the real problem is that flakes allow inputs without defining a url It happens the same way with registry pseudo-URLs, right? | 06:19:23 |
Charles | I think so yeah | 06:39:10 |
| fireshell left the room. | 12:46:37 |
| fireshell joined the room. | 12:47:08 |
6 Dec 2024 |
| cafkafk 🏳️⚧️ changed their profile picture. | 03:43:51 |
Ramses 🇵🇸 | It seems that something changed in the handling of builtins.currentSystem in lix? Doing something like nix build -f . wstunnel in a nixpkgs checkout now fails with error: attribute 'currentSystem' missing , while it worked before and also works correctly with cpp nix | 08:49:24 |
Ramses 🇵🇸 | Is this a bug, or a concious change? | 08:49:36 |
@acidbong:envs.net | In reply to @rvdp:infosec.exchange It seems that something changed in the handling of builtins.currentSystem in lix? Doing something like nix build -f . wstunnel in a nixpkgs checkout now fails with error: attribute 'currentSystem' missing , while it worked before and also works correctly with cpp nix what version is your Lix? | 09:45:38 |