| 19 Aug 2022 |
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 | 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 | 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 |
Alyssa Ross | I must have misunderstood your previous message then | 11:02:46 |
@linus:schreibt.jetzt | In reply to @ulrikstrid:matrix.org Was nix initially written in perl? 🤔 https://github.com/nixOS/nix/pulls?q=is%3Apr+is%3Amerged+rewrite+c%2B%2B | 11:03:03 |
das_j | Also yes, it partially was perl | 11:03:23 |
@linus:schreibt.jetzt | oh actually https://github.com/NixOS/nix/milestone/6?closed=1 is a better overview. | 11:04:06 |
@grahamc:nixos.org | Perl has very little code that justifies being written in C++, I'm pretty sure it was picked for the website because it both had a popular web framework and the Nix contributors had experience | 13:48:52 |
@grahamc:nixos.org | * Hydra has very little code that justifies being written in C++, I'm pretty sure it was picked for the website because it both had a popular web framework and the Nix contributors had experience | 13:48:58 |
@grahamc:nixos.org | * Hydra has very little code that justifies being written in C++, I'm pretty sure Perl was picked for the website because it both had a popular web framework and the Nix contributors had experience | 13:49:02 |
| 21 Aug 2022 |
samueldr | am I alone in thinking it is a surprising behaviour when executing hydra with foreman that evals being affected by the ambiant NIX_PATH is surprising? | 04:47:45 |
samueldr | the eval used import <nixpkgs> {}, and nixpkgs was an input of the build (a git checkout) | 04:48:44 |
samueldr | it ended-up trying to import <nixos-config> for its overlay, and failing on a further path import disallowed by restricted eval | 04:49:13 |
samueldr | btw, I'm using a foreman-started hydra as a sort of better UX around nix-build for a complex project... it's hard to get a good bird's eye view of what is going on | 04:51:44 |
K900 | In reply to @k900:0upti.me OK whomst do I poke here to get https://github.com/NixOS/hydra/pull/1243 merged Not to be too annoying but bump | 07:12:01 |
| greaka changed their display name from greaka ⚡️ to greaka . | 09:25:58 |
samueldr | ignore the fact that it's not a valid way to evaluate Nixpkgs | 21:18:26 |
samueldr | * ignoring the fact that it's not a valid way to evaluate Nixpkgs | 21:18:32 |
samueldr | am I missing something obvious with hydra jobset inputs? | 21:19:04 |
samueldr | $ NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d.tar.gz nix repl
Welcome to Nix 2.7.0. Type :? for help.
nix-repl> import <nixpkgs/default.nix>
«lambda @ /nix/store/1iblaav6dxrc5b39b3gbdnbl47sfjxrq-source/pkgs/top-level/impure.nix:15:1»
``
| 21:19:13 |
samueldr | * $ NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d.tar.gz nix repl
Welcome to Nix 2.7.0. Type :? for help.
nix-repl> import <nixpkgs/default.nix>
«lambda @ /nix/store/1iblaav6dxrc5b39b3gbdnbl47sfjxrq-source/pkgs/top-level/impure.nix:15:1»
This is "working" as expected | 21:19:25 |