!zghijEASpYQWYFzriI:nixos.org

Hydra

374 Members
108 Servers

Load older messages


SenderMessageTime
18 Aug 2022
@florian:web3.foundationFlorian | W3F changed their profile picture.09:20:15
@grahamc:nixos.org@grahamc:nixos.org Brad Bondurant: we made this a bit ago to make that easier, maybe it'll help you: https://github.com/DeterminateSystems/update-flake-lock 15:15:19
@bradbqc1:matrix.orgBrad Bondurant grahamc (he/him): Thank you! Funnily enough I had just settled on a very similar solution (my repos are on GitLab) and this'll be a great reference to have! 15:37:23
@bradbqc1:matrix.orgBrad Bondurant
In reply to @bradbqc1:matrix.org
+1 for extra-sandbox-paths, also check out buildFHSUserEnv for running binaries that expect FHS paths to be present. Here's an example environment for Vivado https://git.m-labs.hk/M-Labs/nix-scripts/src/branch/master/artiq-fast/vivado.nix
Leon: just wanted to make sure you see this since I suspect there's a good chance you're using Vivado and there are other nix files in this repo that do exactly what it sounds like you're trying to do -- they build the bitstreams using Vivado and then publish them in a binary cache which users can then pull from without needing any Vivado stuff
15:42:19
@leons:is.currently.online@leons:is.currently.online Brad Bondurant: that's a pretty good pointer, thanks! 15:43:38
@leons:is.currently.online@leons:is.currently.onlineIn case you care, this is my Vivado package currently: https://git.sr.ht/~lschuermann/nix-litex/tree/main/item/pkgs/vivado/vivado-2020_1.nix15:44:42
@leons:is.currently.online@leons:is.currently.onlineIt's been working well for me, and has less quirks that one might think, but yeah it's a slight hassle to get the installer into the Nix store and has the redistribution / cache issues where you really don't want Xilinx to get angry at you for mirroring their software :)15:46:09
@bradbqc1:matrix.orgBrad Bondurant Oh wow, you wrote a whole derivation for Vivado -- impressive lol. We just use the FHS environment to run the provided installer (and resulting binaries) and then extra-sandbox-paths to make it usable from within a build 15:48:50
@leons:is.currently.online@leons:is.currently.onlineYeah, that is indeed much saner, but spending 2 days running the Vivado installer in a Nix derivation until it works tracks for me :D it's originally based on https://github.com/lukaslaobeyer/nix-fpgapkgs15:55:11
@leons:is.currently.online@leons:is.currently.online * Yeah, that is indeed much saner, but spending 2 days running the Vivado installer in a Nix derivation until it works tracks for me :D it's originally based on https://github.com/lukaslaobeyer/nix-fpgapkgs (Brad Bondurant this isn't really on topic for Hydra anymore, sent you a DM) 15:56:31
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.16:51:22
19 Aug 2022
@kayla.fire:matrix.orgkayla (she/they) changed their display name from kayla.fire to kayla (she/they).01:39:48
@k900:0upti.meK900
In reply to @k900:0upti.me
OK whomst do I poke here to get https://github.com/NixOS/hydra/pull/1243 merged
Bump again :
08:38:07
@k900:0upti.meK900
In reply to @k900:0upti.me
OK whomst do I poke here to get https://github.com/NixOS/hydra/pull/1243 merged
* Bump again :P
08:38:08
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgWhy is Hydra written in pearl?10:36:48
@qyliss:fairydust.spaceAlyssa Rossbecause it is old10:39:36
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @ulrikstrid:matrix.org
Why is Hydra written in pearl?
Not hating on perl, just curious
10:39:46
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @qyliss:fairydust.space
because it is old
Hydra or perl? 😅
10:40:00
@qyliss:fairydust.spaceAlyssa Rosswell both, but I meant Hydra10:40:21
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgHydra is actually much older than I thought, cool10:41:02
@janne.hess:helsinki-systems.dedas_jI think the question boils down to "why is anything written in anything?" and the answer is that somebody at some point in time thought of this solution as the best feasible solution 10:41:07
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @janne.hess:helsinki-systems.de
I think the question boils down to "why is anything written in anything?" and the answer is that somebody at some point in time thought of this solution as the best feasible solution
Yes, just curious if there was a definitive answer. I didn't realise it's more than 12 years old (even weirder is that 12 years ago is 2010 and not ~2000)
10:42:01
@trofi:matrix.org@trofi:matrix.orgWhat would it be written on if started today?10:59:57
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgProbably Go or Rust? :P11:00:27
@janne.hess:helsinki-systems.dedas_j
In reply to @ulrikstrid:matrix.org
Probably Go or Rust? :P
C++ probably because nix is still in that language :(
11:01:04
@ulrikstrid:matrix.org@ulrikstrid:matrix.org
In reply to @janne.hess:helsinki-systems.de
C++ probably because nix is still in that language :(
Was nix initially written in perl? 🤔
11:01:38
@qyliss:fairydust.spaceAlyssa Rossbut C++ existed when Hydra was written11:01:48
@trofi:matrix.org@trofi:matrix.orgFetchers were probably in perl.11:02:11
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @ulrikstrid:matrix.org
Was nix initially written in perl? 🤔
large parts, yes
11:02:13
@janne.hess:helsinki-systems.dedas_j
In reply to @ulrikstrid:matrix.org
Was nix initially written in perl? 🤔
No but you wouldn't write a webapp like hydra in c++
11:02:27

Show newer messages


Back to Room ListRoom Version: 6