!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

869 Members
171 Servers

Load older messages


SenderMessageTime
7 Apr 2026
@screaming:lobotomise.meaphasic
In reply to @gsaurel:laas.fr
if I put an attrSet of packages in output.${system}.packages, I get error: A definition for option perSystem.x86_64-linux.packages.whatever' is not of type package'., but I I use legacyPackages instead that is fine.
Does someone knows a good reason for that ?
output.${system} is itself an attrset of packages, you could just use that
23:25:12
@screaming:lobotomise.meaphasiclegacyPackages is there for nixpkgs to use but yeah it works ok for any attrs23:26:11
8 Apr 2026
@jammie:matrix.orgJamieMagee set a profile picture.03:42:52
13 Apr 2026
@alesya-h:nixos.devAlesya changed their display name from Alesya Huzik to Alesya.01:49:29
@tanja:catgirl.cloudTanja (she/her) removed their profile picture.14:18:38
20 Apr 2026
@picnoir:alternativebit.frpicnoir changed their display name from Picnoir to picnoir.10:05:42
@bivsk:matrix.orgFour changed their display name from bivsk to Four.14:16:35
22 Apr 2026
@rav:vergara.techRené

Hello. I tried copying a closure from my machine to my binary cache using nix copy --no-check-sigs and I get the error cannot add path /nix/store/... because it lacks a signature by a trusted key. I signed the package and added the pubkey on the cache nix.conf

17:37:31
24 Apr 2026
@d:bugpara.de@d:bugpara.de left the room.20:53:06
26 Apr 2026
@debugloop:bugpara.dedebugloop joined the room.03:44:04
@debugloop:bugpara.dedebugloop left the room.23:25:23
@debugloop:bugpara.dedebugloop joined the room.23:26:09
27 Apr 2026
@orowith2os:fedora.imYves (she/they) changed their display name from Oro (any/all) to Yves (she/they).19:15:30
28 Apr 2026
@zoidicabra:matrix.orgIan Giestas Pauli joined the room.17:30:56
30 Apr 2026
@isabel:isabelroses.comisabel changed their profile picture.18:47:03
1 May 2026
@llakala:matrix.orgllakala set a profile picture.17:12:30
3 May 2026
@isabel:isabelroses.comisabel changed their profile picture.10:38:44
6 May 2026
@lukzmu:matrix.orglukzmu joined the room.17:09:01
8 May 2026
@jopejoe1:matrix.orgjopejoe1 changed their display name from jopejoe1 (4094@epvpn) to jopejoe1.08:43:10
@rav:vergara.techRené

Hi. I'm having an issue installing a flake with nix profile install. The test suite of the package runs some checks with the MySQL database and it is failing with "can't connect with mysqld.sock". What's odd is that running the test suite with nix develop -c bash "cabal test" succeeds.

19:55:36
@sarahec:matrix.orgSarah ClarkWhich platform and what's your sandbox setting?20:40:05
@tajo48:matrix.org@tajo48:matrix.org left the room.20:40:53
@rav:vergara.techRenéI'm running Nix on Ubuntu20:45:15
@rav:vergara.techRené

installing the flake with --impure gives the same issue

20:45:43
@sarahec:matrix.orgSarah Clark Nix packages expect the socket at /run/mysqld/mysqld.sock but Ubuntu defaults to /var/run/mysqld/mysqld.sock. If you know where your sock file is, you can use export MYSQL_UNIX_PORT with the socket path 20:56:50
9 May 2026
@rav:vergara.techRené
In reply to @sarahec:matrix.org
Nix packages expect the socket at /run/mysqld/mysqld.sock but Ubuntu defaults to /var/run/mysqld/mysqld.sock. If you know where your sock file is, you can use export MYSQL_UNIX_PORT with the socket path
I set this both on the user profile and on the nix-daemon.service, still can't find mysql
12:37:37
@sarahec:matrix.orgSarah ClarkI"m sorry that didn't work. Which package are you installing? (I want to check that it's not a problem with the derivation.)17:11:58
@sarahec:matrix.orgSarah Clark* I'm sorry that didn't work. Which package are you installing? (I want to check that it's not a problem with the derivation.)17:13:23
10 May 2026
@rav:vergara.techRené

It's not a public package, I'm trying to set up the CI to my server. The flake builds, runs and tests correctly when you git clone the repo into the server. But if you try to nix profile install, I get this "MySQL not found" error. I even changed the code to not use the socket and instead use TCP and I got ConnectionError {errFunction = "connect", errNumber = 2002, errMessage = "Can't connect to server on '127.0.0.1' (115)"}.

12:20:56
@rav:vergara.techRené

is there an option for nix profile install to skip the checkPhase?

12:31:33

Show newer messages


Back to Room ListRoom Version: 6