!zghijEASpYQWYFzriI:nixos.org

Hydra

393 Members
110 Servers

Load older messages


SenderMessageTime
30 Apr 2022
@qyliss:fairydust.spaceAlyssa Rosswow, you can't define a flake for nix code from somewhere else?08:05:09
@andreas.schraegle:helsinki-systems.deajs124
In reply to @ulrikstrid:matrix.org
Would you accept a PR? I guess I could maintain a simple fork if not
Maybe. I'm not the maintainer. We just don't really use flakes (yet).
Might give it a try (again) at some point, idk.
08:08:44
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @qyliss:fairydust.space
wow, you can't define a flake for nix code from somewhere else?
you can use a non-flake git(hub) repo as a non-flake flake input
08:55:42
@linus:schreibt.jetzt@linus:schreibt.jetztThat could be a sensible alternative path.08:56:12
@janne.hess:helsinki-systems.dedas_j
In reply to @ulrikstrid:matrix.org
Would you accept a PR? I guess I could maintain a simple fork if not
We could merge the PR but we wouldn't maintain the file. If it got out of date, somebody else would have to take care of it
09:46:41
@schuelermine:matrix.orgschuelermine
In reply to @ulrikstrid:matrix.org
2 questions:
Could you create a flake with both nixstore-lib and harmonia itself?
AND
Are you based in Finland or Germany?

Are you based in Finland or Germany?

16:39:55
@schuelermine:matrix.orgschuelermine
In reply to @ulrikstrid:matrix.org
2 questions:
Could you create a flake with both nixstore-lib and harmonia itself?
AND
Are you based in Finland or Germany?
*

Are you based in Finland or Germany?
Why do you want to know that?

16:40:01
@schuelermine:matrix.orgschuelermine *

Are you based in Finland or Germany?

Why do you want to know that?

16:40:03
@schuelermine:matrix.orgschuelermine
In reply to @qyliss:fairydust.space
wow, you can't define a flake for nix code from somewhere else?
I made a flake for some code I hadn’t written by cloning the repo and writing the code myself
16:40:41
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @schuelermine:matrix.org

Are you based in Finland or Germany?

Why do you want to know that?

Because the org is named Helsinki... and GitHub say their location is Germany 😅
16:40:50
@schuelermine:matrix.orgschuelermineAh!16:40:57
@qyliss:fairydust.spaceAlyssa Rossthat confused me as well16:41:02
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @schuelermine:matrix.org
I made a flake for some code I hadn’t written by cloning the repo and writing the code myself
So basically forking?
16:41:36
@schuelermine:matrix.orgschuelermine
In reply to @ulrikstrid:matrix.org
So basically forking?
I made a flake for a Haskell CLI tetris game that wasn’t available in Hackage; yeah, I forked it
https://github.com/schuelermine/tetris/tree/add-nix-build
16:42:28
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgYepp, I'm willing to do that as well, but if they accept PRs I don't have to keep it up to date with upstream and just test the flake from time to time when I need it16:44:05
@andreas.schraegle:helsinki-systems.deajs124
In reply to @qyliss:fairydust.space
that confused me as well
It has confused a lot of people. Maybe we should've gone with a different name 🤷‍♂️
16:44:10
1 May 2022
@cw:kernelpanic.cafeRev. CornWallace III (novus ordo seclorum) changed their display name from ContinuousWave to Chinchilla Washington.06:53:02
2 May 2022
@mirtyl_wacdec:matrix.orgmirtyl_wacdec joined the room.08:21:28
3 May 2022
@anarres:catgirl.cloud@anarres:catgirl.cloud joined the room.15:53:52
@anarres:catgirl.cloud@anarres:catgirl.cloud

We're currently setting up Hydra for our projects. I have a project with a flake.nix and flake.lock checked in a git repository which builds on all required systems. However, Hydra shows me the following error:

error: cannot write modified lock file of flake 'git+ssh://git@<repository>' (use '--no-write-lock-file' to ignore)

I couldn't find anything helpful on the web. Does anyone have any idea? We have another project on the same Hydra that seems to be fine.

15:58:58
@rick:matrix.ciphernetics.nlRick (Mindavi)Update the lockfile?16:07:47
@rick:matrix.ciphernetics.nlRick (Mindavi)It sounds like it mismatches with the flake.nix16:08:01
@rick:matrix.ciphernetics.nlRick (Mindavi)What happens if you build it locally? Does it update the file?16:08:22
@anarres:catgirl.cloud@anarres:catgirl.cloud
In reply to @rick:matrix.ciphernetics.nl
It sounds like it mismatches with the flake.nix
That was my first impulse as well. nix flake update doesn't give me any difference though.
16:08:43
@anarres:catgirl.cloud@anarres:catgirl.cloud
In reply to @rick:matrix.ciphernetics.nl
What happens if you build it locally? Does it update the file?
No, it doesn't change the lock file if run it locally
16:09:10
@rick:matrix.ciphernetics.nlRick (Mindavi)That's all I can think of. Maybe auth issues, but then the error message is bad :)16:10:43
@anarres:catgirl.cloud@anarres:catgirl.cloudIf that's the case then it would in deed be a bad message :) I don't think so though. We're updating the server soon, so maybe it's just a fluke that will resolve itself. Thanks for you help16:11:47
@anarres:catgirl.cloud@anarres:catgirl.cloud * If that's the case then it would in deed be a bad message :) I don't think so though. We're updating the server soon, so maybe it's just a fluke that will resolve itself. Thanks for your help16:11:53
@tilpner:tx0.cotilpner anarres: desperate guess, but can you run nix flake lock? 16:34:12
@tilpner:tx0.cotilpnerfor a while, the flake resolver needed (needs?) multiple iterations to arrive at a stable state if using lots of follows16:34:45

Show newer messages


Back to Room ListRoom Version: 6