| 18 Aug 2022 |
| Florian | W3F changed their profile picture. | 09:20:15 |
@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 |
Brad 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 |
Brad 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 | Brad Bondurant: that's a pretty good pointer, thanks! | 15:43:38 |
@leons:is.currently.online | In case you care, this is my Vivado package currently: https://git.sr.ht/~lschuermann/nix-litex/tree/main/item/pkgs/vivado/vivado-2020_1.nix | 15:44:42 |
@leons:is.currently.online | It'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 |
Brad 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 | 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 | 15:55:11 |
@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 changed their profile picture. | 16:51:22 |
| 19 Aug 2022 |
| kayla (she/they) changed their display name from kayla.fire to kayla (she/they). | 01:39:48 |
K900 | 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 | 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 | Why is Hydra written in pearl? | 10:36:48 |
Alyssa Ross | because it is old | 10:39:36 |
@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 | In reply to @qyliss:fairydust.space because it is old Hydra or perl? 😅 | 10:40:00 |
Alyssa Ross | well both, but I meant Hydra | 10:40:21 |
@ulrikstrid:matrix.org | Hydra is actually much older than I thought, cool | 10:41:02 |
das_j | 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 | 10:41:07 |
@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 | What would it be written on if started today? | 10:59:57 |
@ulrikstrid:matrix.org | Probably Go or Rust? :P | 11:00:27 |
das_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 | 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 |
Alyssa Ross | but C++ existed when Hydra was written | 11:01:48 |
@trofi:matrix.org | Fetchers were probably in perl. | 11:02:11 |
@linus:schreibt.jetzt | In reply to @ulrikstrid:matrix.org Was nix initially written in perl? 🤔 large parts, yes | 11:02:13 |
das_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 |